/* =========================
   🔥 FADE ANIMATION
========================= */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   🔥 ACTIVE NAV LINK
========================= */
.nav-link-active:not(.text-white) {
    color: #059669 !important;
}

/* =========================
   🎨 THEME (Amber → Emerald)
========================= */
.bg-amber-600 {
    background-color: #059669 !important;
}

.hover\:bg-amber-700:hover,
.hover\:bg-amber-600:hover {
    background-color: #047857 !important;
}

.border-amber-600 {
    border-color: #059669 !important;
}

.text-amber-600 {
    color: #059669 !important;
}

.hover\:text-amber-600:hover {
    color: #059669 !important;
}

.focus\:ring-amber-500:focus {
    --tw-ring-color: #10b981 !important;
}

.bg-amber-50 {
    background-color: #ecfdf5 !important;
}

.text-amber-400 {
    color: #34d399 !important;
}

/* =========================
   THEME MODE
========================= */
:root {
    color-scheme: light;
    --page-bg: #f5f1e8;
    --surface: #fbf8f1;
    --surface-raised: #fffdf8;
    --surface-muted: #eee8dc;
    --ink: #292821;
    --line: #ded6c8;
}

html,
body,
nav,
section,
footer,
input,
select,
textarea,
.tour-card,
.tour-activity-picker,
.gallery-card {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body { background: var(--page-bg); color: var(--ink); }
body > main section.bg-stone-50,
main > section.bg-stone-50 { background-color: var(--page-bg) !important; }
.bg-white { background-color: var(--surface-raised) !important; }
.bg-stone-50 { background-color: var(--surface) !important; }
.bg-stone-100 { background-color: var(--surface-muted) !important; }
nav.fixed { background: rgba(251, 248, 241, 0.94) !important; }
input, select, textarea { background-color: #f8f4eb !important; border-color: var(--line) !important; }
.tour-card { background: var(--surface-raised); border-color: var(--line); }
.tour-activity-picker { background: #f1ece2; border-color: var(--line); }
.tour-activity-picker label { background: var(--surface-raised); }
.booking-card { background: var(--surface-raised); }
.about-credential { background: var(--surface-raised); border: 1px solid var(--line); }

[data-language-menu] {
    width: max-content !important;
    min-width: 7.5rem;
    padding: 0.35rem !important;
    border: 1px solid var(--line);
    background: var(--surface-raised) !important;
    box-shadow: 0 14px 30px rgba(53, 45, 31, 0.14);
}
[data-language-option] {
    display: block;
    min-height: 2.25rem;
    width: max-content;
    min-width: 100%;
    padding: 0.45rem 0.7rem !important;
    color: var(--ink) !important;
    text-align: start !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
[data-language-option]:hover,
[data-language-option]:focus-visible,
[data-language-option].bg-stone-100 {
    color: #064e3b !important;
    background: #dff3e9 !important;
    outline: none;
}

.theme-toggle {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-left: 0.25rem;
    border: 1px solid #d6d3d1;
    border-radius: 999px;
    color: #57534e;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: #34d399;
    color: #047857;
    background: #ecfdf5;
    transform: translateY(-1px);
    outline: none;
}

/* Shared premium navigation treatment */
nav.fixed {
    border-bottom: 1px solid rgba(214, 211, 209, 0.7);
    box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
}

nav.fixed .nav-brand img {
    width: auto;
    max-width: 9rem;
    padding: 0.18rem;
    border-radius: 0.7rem;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav.fixed .nav-brand:hover img {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(6, 78, 59, 0.14);
}

nav.fixed .nav-link {
    position: relative;
    letter-spacing: 0.01em;
}

nav.fixed .nav-link:not(.bg-amber-600)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -0.55rem;
    left: 0;
    height: 2px;
    background: #059669;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

nav.fixed .nav-link:not(.bg-amber-600):hover::after,
nav.fixed .nav-link-active:not(.bg-amber-600)::after { transform: scaleX(1); }

nav.fixed .language-menu > [data-language-trigger] {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.05);
}

[data-theme="dark"] nav.fixed {
    border-bottom-color: #3b4035;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] nav.fixed .nav-brand img { background: #f4eedf; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) nav.fixed .nav-brand img { background: #f4eedf; }
}

[data-theme="dark"] nav.fixed .language-menu > [data-language-trigger] { background: rgba(47, 46, 39, 0.82); }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
    }

    :root:not([data-theme="light"]) body { background: #1b1a17 !important; color: #f1ecdf !important; }
    :root:not([data-theme="light"]) nav { background: rgba(27, 26, 23, 0.94) !important; border-color: #3b4035 !important; }
    :root:not([data-theme="light"]) .bg-stone-50,
    :root:not([data-theme="light"]) .bg-stone-100,
    :root:not([data-theme="light"]) .bg-white { background-color: #26251f !important; }
    :root:not([data-theme="light"]) .bg-stone-900 { background-color: #11120f !important; }
    :root:not([data-theme="light"]) .bg-stone-950 { background-color: #141411 !important; }
    :root:not([data-theme="light"]) .text-white,
    :root:not([data-theme="light"]) .text-stone-900 { color: #f1ecdf !important; }
    :root:not([data-theme="light"]) .text-stone-600,
    :root:not([data-theme="light"]) .text-stone-500,
    :root:not([data-theme="light"]) .text-stone-400 { color: #c8c0ad !important; }
    :root:not([data-theme="light"]) .border-stone-100,
    :root:not([data-theme="light"]) .border-stone-200 { border-color: #3b4035 !important; }
    :root:not([data-theme="light"]) .tour-card { background: #2b2a23 !important; border-color: #44483b !important; box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24); }
    :root:not([data-theme="light"]) .tour-activity-picker { background: #22231e !important; border-color: #4b5142 !important; }
    :root:not([data-theme="light"]) .tour-activity-picker label { background: #2b2a23 !important; border-color: #4b5142 !important; color: #eee7d8 !important; }
    :root:not([data-theme="light"]) input,
    :root:not([data-theme="light"]) select,
    :root:not([data-theme="light"]) textarea { background: #20211c !important; border-color: #4b5142 !important; color: #f1ecdf !important; }
    :root:not([data-theme="light"]) .text-amber-600 { color: #82a889 !important; }
    :root:not([data-theme="light"]) .bg-amber-600 { background-color: #668d70 !important; }
    :root:not([data-theme="light"]) .theme-toggle { border-color: #59614f; color: #e2b866; background: #2b2a23; }
    :root:not([data-theme="light"]) .gallery-card-overlay { background: linear-gradient(transparent, rgba(21, 20, 16, 0.82)); }
}

[data-theme="dark"] body { background: #1b1a17 !important; color: #f1ecdf !important; }
[data-theme="dark"] nav { background: rgba(27, 26, 23, 0.94) !important; border-color: #3b4035 !important; }
[data-theme="dark"] .bg-stone-50,
[data-theme="dark"] .bg-stone-100,
[data-theme="dark"] .bg-white { background-color: #26251f !important; }
[data-theme="dark"] .bg-stone-900 { background-color: #11120f !important; }
[data-theme="dark"] .bg-stone-950 { background-color: #141411 !important; }
[data-theme="dark"] .text-white,
[data-theme="dark"] .text-stone-900 { color: #f1ecdf !important; }
[data-theme="dark"] .text-stone-600,
[data-theme="dark"] .text-stone-500,
[data-theme="dark"] .text-stone-400 { color: #c8c0ad !important; }
[data-theme="dark"] .border-stone-100,
[data-theme="dark"] .border-stone-200 { border-color: #3b4035 !important; }
[data-theme="dark"] .tour-card { background: #2b2a23 !important; border-color: #44483b !important; box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24); }
[data-theme="dark"] .tour-activity-picker { background: #22231e !important; border-color: #4b5142 !important; }
[data-theme="dark"] .tour-activity-picker label { background: #2b2a23 !important; border-color: #4b5142 !important; color: #eee7d8 !important; }
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea { background: #20211c !important; border-color: #4b5142 !important; color: #f1ecdf !important; }
[data-theme="dark"] .text-amber-600 { color: #82a889 !important; }
[data-theme="dark"] .bg-amber-600 { background-color: #668d70 !important; }
[data-theme="dark"] .theme-toggle { border-color: #59614f; color: #e2b866; background: #2b2a23; }
[data-theme="dark"] .gallery-card-overlay { background: linear-gradient(transparent, rgba(21, 20, 16, 0.82)); }
[data-theme="dark"] [data-language-menu] {
    border-color: #4b5142;
    background: #2b2a23 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] [data-language-option] { color: #f1ecdf !important; }
[data-theme="dark"] [data-language-option]:hover,
[data-theme="dark"] [data-language-option]:focus-visible,
[data-theme="dark"] [data-language-option].bg-stone-100 {
    color: #10251c !important;
    background: #a7e3c1 !important;
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 100%;
        height: 2.75rem;
        margin: 0.35rem 0 0;
        border-radius: 0.65rem;
    }
}

.footer-designer-link {
    position: relative;
    color: #a8a29e;
    transition: color 0.35s ease;
}

.footer-designer-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background-color: #34d399;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.footer-designer-link:hover {
    color: #34d399;
}

.footer-designer-link:hover::after {
    transform: scaleX(1);
}

.footer-brand-link {
    max-width: 100%;
}

.footer-logo-shell {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 5.75rem;
    height: 5.75rem;
    padding: 0.45rem;
    border: 1px solid rgba(167, 243, 208, 0.55);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 640px) {
    .footer-logo-shell {
        width: 5.25rem;
        height: 5.25rem;
    }
}

/* =========================
   PREMIUM TOUR CARDS
========================= */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
}

.tour-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e7e5e4;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(28, 25, 23, 0.07);
    animation: tourCardIn 0.6s ease both;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tour-card:nth-child(2) { animation-delay: 0.08s; }
.tour-card:nth-child(3) { animation-delay: 0.16s; }
.tour-card:nth-child(4) { animation-delay: 0.24s; }

.tour-card:hover {
    transform: translateY(-8px);
    border-color: #a7f3d0;
    box-shadow: 0 24px 45px rgba(6, 78, 59, 0.16);
}

.tour-card-media {
    position: relative;
    height: 17rem;
    overflow: hidden;
    background: #064e3b;
}

.tour-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 44, 34, 0.02) 35%, rgba(2, 44, 34, 0.6));
}

.tour-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.tour-card:hover .tour-card-media img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.tour-card-media > div {
    z-index: 1;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.88);
}

.tour-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.75rem;
}

.tour-card-body h4 {
    min-height: 3.75rem;
    line-height: 1.2;
}

.tour-card-body > p {
    min-height: 7rem;
}

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: -0.5rem 0 1.5rem;
}

.tour-highlights span {
    padding: 0.4rem 0.65rem;
    border: 1px solid #d1fae5;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 0.72rem;
    font-weight: 700;
}

.tour-activity-picker {
    margin-top: auto;
    padding: 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.9rem;
    background: #fafaf9;
}

.tour-activity-picker label {
    border-color: #e7e5e4;
    background: white;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tour-activity-picker label:hover {
    border-color: #34d399;
    background: #ecfdf5;
    transform: translateY(-2px);
}

.tour-book-link {
    margin-top: 1rem;
    background: #059669;
    color: #ffffff !important;
    border: 0;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.18);
    opacity: 1;
    text-shadow: 0 1px 1px rgba(2, 44, 34, 0.18);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tour-card .tour-book-link:hover {
    background: #047857 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(5, 150, 105, 0.28);
    transform: translateY(-2px) !important;
}

/* Booking surface and forms */
.booking-card {
    border: 1px solid rgba(231, 229, 228, 0.9);
    box-shadow: 0 24px 70px rgba(28, 25, 23, 0.18);
}

.booking-form label { letter-spacing: 0.01em; }
.booking-form input,
.booking-form select,
.booking-form textarea {
    min-height: 3.2rem;
    box-shadow: inset 0 1px 2px rgba(28, 25, 23, 0.04);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: #34d399 !important;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14) !important;
}

.booking-form button[type="submit"] {
    min-height: 3.5rem;
    background: #059669 !important;
    color: #fff !important;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .booking-card {
    background: #2b2a23 !important;
    border-color: #4b5142;
    color: #f1ecdf !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .booking-card .text-stone-700 { color: #eee7d8 !important; }
[data-theme="dark"] .booking-form input,
[data-theme="dark"] .booking-form select,
[data-theme="dark"] .booking-form textarea { background: #20211c !important; color: #f1ecdf !important; border-color: #4b5142 !important; }

/* Tours reassurance section */
.important-info {
    border-top: 1px solid rgba(214, 211, 209, 0.65);
}

[data-theme="dark"] .important-info { background: #24241f !important; border-color: #3b4035; }
[data-theme="dark"] .important-info h2 { color: #f1ecdf !important; }
[data-theme="dark"] .info-card { background: #2b2a23; border: 1px solid #44483b; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22); }
[data-theme="dark"] .info-card h3 { color: #eee7d8; }
[data-theme="dark"] .info-card p { color: #c8c0ad; }
[data-theme="dark"] .info-card .icon { filter: saturate(0.8); }

/* Home cinematic treatment */
.home-hero {
    min-height: calc(100vh - 5rem);
    isolation: isolate;
}

.home-hero video { object-position: center 48%; }
.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 31, 24, 0.68), rgba(11, 31, 24, 0.18) 65%, rgba(11, 31, 24, 0.08));
}

.home-hero-content { z-index: 2; padding-top: 5rem; padding-bottom: 6rem; }
.home-hero-content h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6.6rem); letter-spacing: -0.035em; }
.home-hero-content p { max-width: 35rem; }
.home-hero-cta { min-height: 3.6rem; padding-inline: 1.7rem; }

[data-theme="dark"] .home-hero::after { background: linear-gradient(90deg, rgba(17, 18, 15, 0.68), rgba(17, 18, 15, 0.2) 65%, rgba(17, 18, 15, 0.04)); }

@media (max-width: 768px) {
    .home-hero::after { background: linear-gradient(180deg, rgba(11, 31, 24, 0.24), rgba(11, 31, 24, 0.72)); }
    .home-hero-content { padding-top: 3rem; padding-bottom: 4rem; }
    .home-hero-content h1 { max-width: 11ch; font-size: clamp(2.8rem, 13vw, 4.5rem); }
}

.tour-book-link:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 3px;
}

@keyframes tourCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-card {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .tour-card {
        grid-column: span 1;
    }

    .tour-card-media {
        height: 14rem;
    }

    .tour-card-body {
        padding: 1.25rem;
    }

    .tour-card-body h4,
    .tour-card-body > p {
        min-height: 0;
    }
}

/* =========================
   📌 IMPORTANT INFO SECTION
========================= */
.important-info {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.important-info h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #222;
}

.info-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-card {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.info-card p {
    font-size: 14px;
    color: #666;
}

/* =========================
   📸 GALLERY (NEW MASONRY)
========================= */

.masonry {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .masonry {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry {
        column-count: 3;
    }
}

/* Image Card */
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.masonry-item:hover {
    transform: translateY(-5px);
}

/* Image */
.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.08);
}


/* Hide scrollbar */
#gallery::-webkit-scrollbar {
    display: none;
}
#gallery {
    scrollbar-width: none;
}

/* Card */
.slider-item {
    min-width: 300px;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Image */
.slider-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.slider-item:hover img {
    transform: scale(1.1);
}



/* ===== SLIDER ===== */

.slide {
    min-width: 100%;
    height: 550px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #059669;
}

/* =========================
   PREMIUM GALLERY
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 1rem;
}

.gallery-card {
    position: relative;
    min-width: 0;
    grid-column: span 4;
    grid-row: span 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    background: #064e3b;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 12px 30px rgba(6, 78, 59, 0.12);
}

.gallery-card-1,
.gallery-card-6 {
    grid-column: span 6;
    grid-row: span 4;
}

.gallery-card-3,
.gallery-card-5 {
    grid-row: span 5;
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.gallery-card-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2.5rem 1.25rem 1.1rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(2, 44, 34, 0.82));
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-card-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-size: 1.1rem;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 4px;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) 4rem;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(2, 20, 15, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-figure {
    display: grid;
    justify-items: center;
    gap: 1rem;
    max-height: 90vh;
    margin: 0;
}

.gallery-lightbox-figure img {
    max-width: min(90vw, 1100px);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
    transform: scale(0.96);
    transition: transform 0.35s ease;
}

.gallery-lightbox.is-open .gallery-lightbox-figure img {
    transform: scale(1);
}

.gallery-lightbox-figure figcaption {
    color: #d1fae5;
    font-size: 0.9rem;
}

.gallery-lightbox-close,
.gallery-lightbox-control {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(167, 243, 208, 0.4);
    border-radius: 999px;
    color: white;
    background: rgba(6, 78, 59, 0.65);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    font-size: 1.8rem;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-control:hover {
    border-color: #34d399;
    background: #047857;
    transform: scale(1.06);
}

.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
        gap: 0.75rem;
    }

    .gallery-card,
    .gallery-card-1,
    .gallery-card-6 {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-card-3,
    .gallery-card-5 {
        grid-row: span 3;
    }

    .gallery-lightbox {
        grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
        gap: 0.5rem;
        padding: 1rem;
    }

    .gallery-lightbox-control {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* =========================
    DARK LUXURY COMPONENT FINISH
========================= */
[data-theme="dark"] .tour-card-media > div { background: rgba(244, 238, 223, 0.9) !important; color: #29271f !important; }
[data-theme="dark"] .tour-highlights span { border-color: #536953; color: #c4d6b8; background: #30352b; }
[data-theme="dark"] .tour-card a.tour-book-link,
[data-theme="dark"] .tour-card a.tour-book-link:hover { background: #668d70 !important; color: #fffaf0 !important; }
[data-theme="dark"] .tour-book-link:hover { background: #789d7d !important; box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28); }
[data-theme="dark"] .gallery-lightbox { background: rgba(24, 23, 19, 0.96); }
[data-theme="dark"] .gallery-lightbox-control,
[data-theme="dark"] .gallery-lightbox-close { border-color: #59614f; background: rgba(48, 53, 43, 0.9); color: #f1ecdf; }
[data-theme="dark"] .gallery-lightbox-control:hover,
[data-theme="dark"] .gallery-lightbox-close:hover { border-color: #91ad8d; background: #536953; }
[data-theme="dark"] .gallery-lightbox-figure figcaption { color: #d8cfbc; }
[data-theme="dark"] .footer-designer-link { color: #c8c0ad; }
[data-theme="dark"] .home-editorial-section,
[data-theme="dark"] .home-experience-band { background: #26251f !important; }
[data-theme="dark"] .home-editorial-section h2,
[data-theme="dark"] .home-experience-band h2 { color: #f1ecdf !important; }
[data-theme="dark"] .home-editorial-section p,
[data-theme="dark"] .home-experience-band p { color: #c8c0ad !important; }
[data-theme="dark"] .home-editorial-image { box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28); }