:root {
    --gold: #c8a15a;
    --gold-soft: var(--gold);
    --green: #063d36;
    --green-deep: var(--green);
    --white: #ffffff;
    --off-white: #e4e7e5;
    --black: var(--green);
    --gray: var(--green);
    --control-radius: 18px;
    --shadow-soft: 0 20px 45px rgba(6, 61, 54, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--off-white);
    color: var(--black);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    background: rgba(6, 61, 54, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(6, 61, 54, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-logo-link:hover,
.nav-logo-link:focus-visible {
    opacity: 0.86;
    transform: translateY(-1px);
}

.nav-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.fallback-logo {
    display: none;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--gold-soft);
}

.nav-cta {
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--green) !important;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(200, 161, 90, 0.35);
}

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 43, 40, 0.78) 0%, rgba(6, 61, 54, 0.62) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
    align-items: end;
    padding: 90px 0 50px;
}

.hero-content {
    color: var(--white);
    max-width: 680px;
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-soft);
    font-size: 13px;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.hero-content h1 {
    margin-bottom: 18px;
    font-size: clamp(2.9rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.06rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.btn-primary,
.btn-secondary,
.btn-search,
.btn-wa,
.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary,
.btn-secondary {
    padding: 16px 28px;
    font-size: 0.96rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--green-deep);
    box-shadow: 0 12px 28px rgba(200, 161, 90, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(6, 61, 54, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-search:hover,
.btn-wa:hover,
.btn-email:hover {
    transform: translateY(-2px);
}

.hero-panel {
    justify-self: end;
    width: min(100%, 300px);
    padding: 26px 22px;
    border: 1px solid rgba(6, 61, 54, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    color: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-panel:hover,
.hero-panel:focus-visible {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(229, 210, 168, 0.55);
}

.panel-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-soft);
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.hero-panel small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.search-container {
    position: relative;
    z-index: 20;
    max-width: 1200px;
    margin: -36px auto 0;
    padding: 0 20px;
}

.search-box {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(150px, 0.7fr);
    gap: 18px;
    align-items: stretch;
    width: 100%;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(6, 61, 54, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--control-radius);
    box-shadow: var(--shadow-soft);
}

.about-section {
    padding: 96px 24px 30px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

.about-copy,
.about-points {
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(6, 61, 54, 0.05);
    padding: 32px;
}

.section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.about-copy h2 {
    color: var(--green);
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 16px;
}

.about-copy p,
.about-points p {
    color: var(--gray);
    line-height: 1.8;
}

.about-points {
    display: grid;
    gap: 20px;
}

.about-points strong {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 1.05rem;
}

.search-item {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.search-item label {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-item input,
.search-item select {
    width: 100%;
    height: 52px;
    padding: 14px 14px;
    border: 1px solid rgba(6, 61, 54, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--control-radius);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--black);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-item input:focus,
.search-item select:focus {
    border-color: rgba(6, 61, 54, 0.5);
    box-shadow: 0 0 0 4px rgba(6, 61, 54, 0.06);
}

.btn-search {
    border: none;
    align-self: flex-end;
    height: 52px;
    width: 100%;
    padding: 15px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--control-radius);
    background: var(--green);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(6, 61, 54, 0.18);
}

.price-slider-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.price-header label {
    margin-bottom: 0;
}

#price-output {
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.search-item input.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 100%);
    outline: none;
    margin: 23px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px rgba(200, 161, 90, 0.35);
    cursor: pointer;
}

.listings-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-header h3 {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.28em;
}

.section-header h2 {
    color: var(--green);
    font-size: clamp(2rem, 3vw, 3rem);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.property-card-link {
    display: block;
    color: inherit;
}

.property-card {
    overflow: hidden;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(6, 61, 54, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 42px rgba(6, 61, 54, 0.1);
}

.card-img-wrapper {
    position: relative;
    flex: 1 1 0;
    min-height: 200px;
}


.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}


.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.badge.sale {
    background: var(--green);
    color: var(--white);
}

.badge.rent {
    background: var(--gold);
    color: var(--green);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 24px 16px;
    height: max-content;
    flex: 0 0 auto;
    text-align: left;
}

.card-body h4 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--green);
    font-weight: 700;
}

.location {
    margin-bottom: 14px;
    color: var(--gray);
    font-size: 0.95rem;
}

.detail-location a {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-actions .secondary {
    display: none;
}

.detail-back-top {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    padding: 10px 16px;
    border: 1px solid rgba(6, 61, 54, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--control-radius);
    color: var(--green);
    font-size: 0.84rem;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.detail-back-top:hover,
.detail-back-top:focus-visible {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gold);
    margin-bottom: 18px;
    color: var(--green);
    font-size: 0.86rem;
}

.price {
    font-family: 'Cinzel', serif;
    font-size: 1.85rem;
    color: var(--green);
    font-weight: 800;
    margin: 0;
}

.price small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
    background: var(--green);
    color: var(--white);
    padding: 64px 24px;
    text-align: center;
}

.stat-box h2 {
    margin-bottom: 6px;
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3rem);
}

.stat-box p {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.contact-section {
    background: var(--white);
    padding: 90px 24px 30px;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: clamp(2rem, 3vw, 3rem);
}

.contact-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gray);
    font-size: 1.04rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-wa,
.btn-email {
    padding: 16px 28px;
    font-size: 0.96rem;
    color: var(--white);
}

.btn-wa {
    gap: 10px;
    background: #25d366 !important;
    border-radius: 999px;
    padding: 16px 28px;
}

.btn-wa svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.btn-wa {
    background: #25d366;
    box-shadow: 0 14px 26px rgba(37, 211, 102, 0.2);
}

.btn-email {
    background: var(--green);
    box-shadow: 0 14px 26px rgba(6, 61, 54, 0.18);
}

.social-section {
    background: var(--white);
    padding: 0 24px 54px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 20px rgba(17, 17, 17, 0.08);
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-link.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #010101, #333333);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0a5ec9);
}

footer {
    background: var(--green);
    color: var(--gold);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero-inner,
    .about-content {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }

    .hero-content,
    .about-copy {
        text-align: center;
        margin: 0 auto;
    }

    .hero-content p {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-panel {
        justify-self: center;
    }

    .search-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-box .btn-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 78vh;
    }

    .hero-content h1 {
        line-height: 1.12;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-wa,
    .btn-email,
    .btn-primary,
    .btn-secondary,
    .btn-search {
        width: 100%;
    }
}

/* --- 3D Flip Card Styles --- */
.flip-card {
    perspective: 1000px;
    height: 450px;
    background: transparent !important; /* override original background */
    box-shadow: none !important; /* override original shadow */
    overflow: visible !important; /* prevent 3D clipping */
}

/* We still want the hover float on the whole card */
.flip-card:hover {
    transform: translateY(-6px);
    box-shadow: none !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    
    /* Apply original card styles here so shadow/border radius work properly */
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(6, 61, 54, 0.12);
}

.flip-card-inner.is-flipped {
    transform: rotateY(180deg);
    box-shadow: 0 24px 42px rgba(6, 61, 54, 0.1);
}

.flip-card-front, .flip-card-back {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 18px;
    
}

/* Front side */
.flip-card-front {
    position: absolute;
    top: 0;
    left: 0;
}

/* Back side */
.flip-card-back {
    position: absolute;
    transform: rotateY(180deg) translateZ(1px);
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    background-color: #063D36;
    color: #C8A15A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.flip-card-back h4 {
    color: #C8A15A;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.flip-card-back .location {
    color: var(--gold);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.flip-card-back .facilities {
    border: none;
    padding-bottom: 0;
    color: var(--white); /* off white */
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.flip-card-back .btn-primary {
    background-color: #C8A15A;
    color: #063D36;
    border: none;
    transition: all 0.3s ease;
}
.flip-card-back .btn-primary:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.flip-card { cursor: pointer; }

/* --- Scroll Fade Up Animation --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-wa, .btn-email, .btn-search {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-wa:hover, .btn-email:hover, .btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(6, 61, 54, 0.2);
}

.flip-card-back .facilities span {
    background: rgba(200, 161, 90, 0.15);
    color: var(--gold);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 161, 90, 0.3);
}

.search-item input:focus, .search-item select:focus, .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(200, 161, 90, 0.15);
}

.front-location {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.results-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.filter-tag {
    background: var(--white);
    color: var(--green);
    border: 1px solid rgba(6, 61, 54, 0.15);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(6, 61, 54, 0.04);
}
.empty-result {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 18px;
    color: var(--gray);
    font-size: 1.1rem;
    box-shadow: 0 16px 36px rgba(6, 61, 54, 0.05);
}

/* Foolproof fix to hide badge and image bleeding on flip */
.flip-card-inner.is-flipped .badge {
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s 0.2s;
}
.flip-card-inner:not(.is-flipped) .badge {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease 0.4s, visibility 0s 0.4s;
}



/* Fix pointer events for hidden faces */
.flip-card-inner.is-flipped .flip-card-front {
    pointer-events: none;
}
.flip-card-inner:not(.is-flipped) .flip-card-back {
    pointer-events: none;
}

.flip-card-front .card-img-wrapper,
.flip-card-front img,
.flip-card-front .card-body {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* The ultimate backface-visibility fix for Safari */
.flip-card-inner.is-flipped .flip-card-front {
    opacity: 0;
    transition: opacity 0s 0.25s;
}
.flip-card-inner:not(.is-flipped) .flip-card-front {
    opacity: 1;
    transition: opacity 0s 0.25s;
}


/* --- Lightbox Gallery --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    user-select: none;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(200, 161, 90, 0.9);
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }
@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    }
.lightbox-trigger {
    cursor: zoom-in !important;
}


/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--green-deep);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-decoration: none;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


/* --- Active Nav Link --- */
.nav-links a.active-link {
    color: var(--gold);
    font-weight: 600;
}
.nav-links a.active-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    margin-top: 4px;
    border-radius: 2px;
}
