/* ============================================================
   SPECIFIC DESTINATION — Page Sections
   Pairs with: single-specific_destination.php
   Design tokens: --gold / #00847c (matches main.css + our-destinations.css)
   ============================================================ */

.specific-dest-sections {
    background: #fafafa;
    overflow-x: hidden;
}

[data-theme="dark"] .specific-dest-sections {
    background: #0d1a19;
}

/* ── Shared section styles ── */
.sd-section {
    position: relative;
    padding: 70px 0;
}

.sd-section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #0a2e2b;
    margin: 0 0 24px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

[data-theme="dark"] .sd-section-heading {
    color: #e0f7f5;
}

.sd-section-heading--center {
    text-align: center;
    margin-bottom: 40px;
}

.sd-section-inner {
    position: relative;
    z-index: 2;
}

/* Background image sections (1 & 4) */
.sd-section-bg,
.sd-banner-bg {
    position: absolute;
    inset: 0;
    background-image: var(--sd-section-bg, var(--sd-banner-bg));
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.sd-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.92) 0%, rgba(250, 250, 250, 0.88) 100%);
    z-index: 1;
}

.sd-section-overlay--light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 250, 250, 0.9) 100%);
}

[data-theme="dark"] .sd-section-overlay {
    background: linear-gradient(135deg, rgba(13, 26, 25, 0.94) 0%, rgba(10, 46, 43, 0.9) 100%);
}

.sd-section-description {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    max-width: 780px;
    margin-bottom: 28px;
}

[data-theme="dark"] .sd-section-description {
    color: rgba(255, 255, 255, 0.78);
}

/* ── CTA buttons (reuse dest-card-cta language) ── */
.sd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold, #00847c);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.sd-cta-btn:hover {
    background: #00635c;
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 132, 124, 0.35);
}

.sd-cta-btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.sd-cta-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.sd-section-cta-wrap {
    text-align: center;
    margin-top: 36px;
}


/* ============================================================
   SECTION 1 — Highlights badges
   ============================================================ */
.sd-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.sd-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 132, 124, 0.08);
    border: 1px solid rgba(0, 132, 124, 0.2);
    color: #0a2e2b;
    font-size: 0.82rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 8px 14px;
    border-radius: 50px;
}

[data-theme="dark"] .sd-highlight-badge {
    background: rgba(0, 212, 200, 0.08);
    border-color: rgba(0, 212, 200, 0.25);
    color: #e0f7f5;
}

.sd-highlight-icon {
    display: flex;
    color: var(--gold, #00847c);
}

.sd-highlight-icon svg {
    width: 14px;
    height: 14px;
}


/* ============================================================
   SECTION 2 — Activities grid
   ============================================================ */
.sd-activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sd-activity-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 132, 124, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 132, 124, 0.15);
}

[data-theme="dark"] .sd-activity-card {
    background: #142422;
    border-color: rgba(0, 212, 200, 0.1);
}

.sd-activity-media {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 132, 124, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-activity-icon-img {
    object-fit: contain !important;
    padding: 10px;
}

.sd-activity-default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gold, #00847c);
}

.sd-activity-default-icon svg {
    width: 32px;
    height: 32px;
}

.sd-activity-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0a2e2b;
    margin: 0 0 10px;
}

[data-theme="dark"] .sd-activity-title {
    color: #e0f7f5;
}

.sd-activity-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

[data-theme="dark"] .sd-activity-text {
    color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   SECTION 3 — Gallery grid + lightbox
   ============================================================ */
.sd-section-gallery {
    background: #fff;
    padding: 60px 0;
}

[data-theme="dark"] .sd-section-gallery {
    background: #111f1e;
}

.sd-gallery-caption {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 28px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.sd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.sd-gallery-item {
    position: relative;
    border: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 132, 124, 0.2);
}

.sd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sd-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 30, 28, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.sd-gallery-item:hover .sd-gallery-zoom {
    opacity: 1;
}

.sd-gallery-zoom svg {
    width: 28px;
    height: 28px;
}

/* Lightbox */
.sd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sd-lightbox[hidden] {
    display: none !important;
}

.sd-lightbox-stage {
    max-width: 90vw;
    max-height: 85vh;
}

.sd-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.sd-lightbox-close,
.sd-lightbox-prev,
.sd-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sd-lightbox-close:hover,
.sd-lightbox-prev:hover,
.sd-lightbox-next:hover {
    background: var(--gold, #00847c);
}

.sd-lightbox-close {
    top: 20px;
    right: 20px;
}

.sd-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sd-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}


/* ============================================================
   SECTION 4 — Travel info
   ============================================================ */
.sd-travel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.sd-travel-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid rgba(0, 132, 124, 0.1);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .sd-travel-card {
    background: #142422;
    border-color: rgba(0, 212, 200, 0.12);
}

.sd-travel-card--wide {
    grid-column: 1 / -1;
}

.sd-travel-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold, #00847c);
    margin: 0 0 10px;
}

.sd-travel-value {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

[data-theme="dark"] .sd-travel-value {
    color: rgba(255, 255, 255, 0.78);
}

.sd-travel-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sd-travel-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
}

[data-theme="dark"] .sd-travel-checklist li {
    color: rgba(255, 255, 255, 0.75);
}

.sd-travel-checklist svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold, #00847c);
    margin-top: 2px;
}


/* ============================================================
   SECTION 5 — CTA Banner
   ============================================================ */
.sd-section-cta-banner {
    padding: 90px 0;
    margin-bottom: 0;
}

.sd-banner-bg {
    background-image: var(--sd-banner-bg);
}

.sd-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 30, 28, 0.82) 0%, rgba(0, 60, 55, 0.75) 100%);
    z-index: 1;
}

.sd-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.sd-banner-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
}

.sd-banner-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px;
    line-height: 1.7;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.sd-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sd-activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sd-section {
        padding: 50px 0;
    }

    .sd-activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sd-travel-grid {
        grid-template-columns: 1fr;
    }

    .sd-banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .sd-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sd-activities-grid {
        grid-template-columns: 1fr;
    }

    .sd-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .sd-highlights {
        flex-direction: column;
    }

    .sd-lightbox-prev { left: 8px; }
    .sd-lightbox-next { right: 8px; }
}

/* CSS scroll-reveal fallback when AOS not loaded */
.sd-section {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
