/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    /* dark background with a slight amber glow at the bottom */
    background: linear-gradient(to top,
            #04262C 0%,
            #04262C 85%,
            #D7992A 100%);
}

.navbar__logo img {
    height: 40px;
}

.navbar__links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navbar__links li a {
    text-decoration: none;
    color: #D7992A;
    /* amber links */
    font-weight: 500;
}

.navbar__cta .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #D7992A;
    /* amber button */
    color: #04262C;
    /* dark text */
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

/* Feature Section */
.feature-section {
    background-color: #04262C;
    /* dark background */
    padding: 3rem 2rem;
}

.feature-section__inner {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.feature-section__image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.feature-section__text {
    flex: 1;
}

.feature-section__text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #D7992A;
    /* amber heading */
}

.feature-section__text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #ffffff;
    text-align: justify;
    /* white body copy for contrast */
}

.feature-section__text .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #D7992A;
    /* amber button */
    color: #04262C;
    /* dark text */
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

/* ─── PROGRESS BAR ─────────────────────────────────────────────────────────── */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

#progress-bar {
    height: 100%;
    width: 0;
    background: #D7992A;
    transition: width 0.1s linear;
}

/* ─── NAVBAR ───────────────────────────────────────────────────────────────── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, #04262C 0%, #04262C 85%, #D7992A 100%);
}

/* allow wrapping on very narrow screens */
.navbar__logo,
.navbar__cta {
    flex: 1;
}

.navbar__cta {
    text-align: right;
}

.navbar__logo img {
    height: 60px;
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #D7992A;
    color: #04262C;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #bf861f;
    transform: translateY(-2px);
}

/* ─── FEATURE SECTION ───────────────────────────────────────────────────────── */
.feature-section {
    background-color: #04262C;
    padding: 4rem 1rem;
}

.feature-section__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* initial hidden state */
.feature-section__image,
.feature-section__text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-section__image {
    transition-delay: 0.3s;
}

.feature-section__text {
    transition-delay: 0.6s;
}

.feature-section__inner.in-view .feature-section__image,
.feature-section__inner.in-view .feature-section__text {
    opacity: 1;
    transform: translateY(0);
}

.feature-section__image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.feature-section__text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #D7992A;
}

.feature-section__text p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ─── RESPONSIVE TWEAK ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .feature-section__inner {
        flex-direction: column;
        text-align: center;
    }

}

.button-container.floor-menu {
    display: flex;
    position: relative;
    gap: 0.4rem;
    margin-bottom: 1rem;
    /* background: rgba(215, 153, 42, 0.06); */
    border-radius: 12px;
    padding: 6px 8px;
    overflow: visible;
}

.floor-h3 {
    font-size: 1.2rem;
    color: #D7992A;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 600;
}

.floor-button {
    background: none;
    border: none;
    outline: none;
    color: #D7992A;
    font-size: 1.15rem;
    padding: 0.45em 1.2em;
    font-weight: 600;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: color 0.18s, background 0.22s;
}

.floor-button.active {
    color: #fff;
}

.floor-underline {
    position: absolute;
    bottom: 4px;
    left: 0;
    height: 3px;
    width: 0;
    background: #D7992A;
    border-radius: 2px;
    transition: all 0.29s cubic-bezier(.58, .12, .45, .88);
    z-index: 1;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 600px) {
    .button-container.floor-menu {
        flex-direction: row;
        justify-content: space-between;
        padding: 3px 2px;
    }

    .floor-button {
        font-size: 1rem;
        padding: 0.5em 0.9em;
    }
}

.button-container {
    position: relative;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 0.7rem;
}

.floor-button {
    /* background: #fff; */
    color: #b78917;
    /* border: 1px solid #D7992A; */
    border-radius: 12px 12px 0 0;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background .18s, color .18s;
    position: relative;
    z-index: 2;
}

.floor-button.active {
    background: #d7992a0d;
    color: #fff;
}

.floor-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #D7992A;
    border-radius: 2px;
    transition: all 0.32s cubic-bezier(.58, .12, .45, .88);
    z-index: 1;
}

#building-container {
    transition: height 0.4s cubic-bezier(.6, -0.01, 0, .99);
    overflow: hidden;
    position: relative;
}

.building-model {
    display: none;
}

.building-model.active {
    display: block;
}

@media (max-width: 1200px) {

    .floor-h3 {
        font-size: 1rem;

        margin: 0 0 0 5px;
    }
}