/* Destination Single Page Styles */
:root {
    --dest-primary: #FFD700;
    --dest-dark: #ffffff;
    --dest-text: #0f172a;
    --dest-text-light: #475569;
}

.destination-page {
    background-color: var(--dest-dark);
    color: var(--dest-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ── Hero ──────────────────────────────────────── */
.destination-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.destination-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.destination-hero-bg .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-hero-bg .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.72));
}

.destination-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 40px;
    margin-top: 80px;
}

.destination-hero-content .hero-title {
    font-size: clamp(2rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.destination-hero-content .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    color: #FFD700 !important;
    font-weight: 600;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.85),
        0 3px 10px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.4) !important;
    letter-spacing: 0.01em;
}

/* ── Content ───────────────────────────────────── */
.destination-intro {
    padding: 6rem 0;
    background: var(--dest-dark);
}

.destination-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.destination-intro .intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.destination-intro .lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--dest-text-light);
}

.destination-intro .lead p {
    margin-bottom: 1.5rem;
}

/* ── Video Section ──────────────────────────────── */
.destination-videos {
    padding: 4rem 0;
    background: var(--dest-dark);
}

.destination-videos .container,
.destination-gallery .container,
.related-destinations .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dest-text);
    text-align: center;
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 4px solid var(--dest-primary);
}

/* ── Gallery Section ────────────────────────────── */
.destination-gallery {
    padding: 6rem 0;
    background: var(--dest-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    border-bottom: 4px solid var(--dest-primary);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ── Lightbox (reuses activity.css IDs — same structure) ── */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    inset: 0;
    background-color: rgba(0,0,0,0.92);
    overflow: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.4s ease;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease;
    z-index: 10000;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--dest-primary);
}

@keyframes zoom {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* ── Related Destinations ───────────────────────── */
.related-destinations {
    padding: 5rem 0;
    background: #f8fafc;
}

.related-destinations .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.related-destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-destination-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    height: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.related-destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.related-destination-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.related-destination-card:hover .related-destination-img {
    transform: scale(1.06);
}

.related-destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    gap: 8px;
}

.related-destination-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.related-destination-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dest-primary);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.related-destination-card:hover .related-destination-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
    .related-destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .destination-hero-content {
        padding: 0 20px;
    }

    .lightbox-content {
        width: 95%;
    }
}

@media (max-width: 560px) {
    .related-destinations-grid {
        grid-template-columns: 1fr;
    }
}
