
/* ============================================
   DESTINATION DETAIL PAGE — destination.css
   Requires: styles.css loaded first.
   All selectors use higher specificity to
   safely override styles.css without !important.
============================================= */

/* ============================================
   HERO CAROUSEL
============================================= */
.dest-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    max-height: 750px;
    overflow: hidden;
}
.dest-hero-slider {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.dest-hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.dest-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.6) 100%);
}
.dest-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 60px 0 50px;
}
.dest-hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.dest-hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 14px;
    animation: destFadeUp 0.6s ease both;
}
.dest-hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: 10px;
    animation: destFadeUp 0.6s ease 0.1s both;
}
.dest-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 10px;
    animation: destFadeUp 0.6s ease 0.15s both;
}
.dest-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-bottom: 16px;
    animation: destFadeUp 0.6s ease 0.2s both;
}
.dest-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    animation: destFadeUp 0.6s ease 0.25s both;
}
.dest-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}
.dest-meta-item svg {
    opacity: 0.7;
    color: var(--color-primary);
}

/* Hero carousel controls — scoped to .dest-hero */
.dest-hero .carousel-controls {
    position: absolute;
    bottom: 50px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
    margin-top: 0;
    justify-content: flex-start;
}
.dest-hero .carousel-btn {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: all var(--transition);
}
.dest-hero .carousel-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}
.dest-hero .carousel-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.dest-hero .carousel-dot {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition);
}
.dest-hero .carousel-dot.active {
    background: var(--color-primary);
    width: 48px;
}

/* ============================================
   QUICK FACTS STRIP
============================================= */
.dest-strip {
    background: var(--color-dark);
}
.dest-strip-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.dest-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: var(--color-white);
    text-align: center;
    transition: background var(--transition);
}
.dest-strip-item:last-child {
    border-right: none;
}
.dest-strip-item:hover {
    background: rgba(255,255,255,0.04);
}
.dest-strip-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 6px;
    font-weight: 600;
}
.dest-strip-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

/* ============================================
   DESTINATION OVERVIEW
============================================= */
.dest-overview {
    padding: 80px 0 60px;
    background: var(--color-bg-warm);
}
.dest-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}
.dest-overview-text .section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
}
.dest-overview-text h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.dest-overview-text p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Side Info Card */
.dest-overview-side {
    position: sticky;
    top: 100px;
}
.dest-info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.dest-info-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.dest-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.dest-info-row:last-of-type {
    border-bottom: none;
}
.dest-info-label {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dest-info-label svg {
    color: var(--color-primary);
    opacity: 0.7;
}
.dest-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}
.dest-cta-btn {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 16px;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition);
}
.dest-cta-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3);
}
.dest-cta-sub {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   KEY ATTRACTIONS — PICTORIAL CARDS
============================================= */
.dest-attractions {
    padding: 100px 0;
    background: var(--color-bg-section);
}
.dest-attractions .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.dest-attractions .section-header .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.dest-attractions .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.dest-attractions .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.dest-attractions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}
.dest-attraction-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}
.dest-attraction-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.dest-attraction-card:hover .dest-attraction-bg {
    transform: scale(1.08);
}
.dest-attraction-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 21, 39, 0.78) 100%);
    transition: opacity var(--transition);
}
.dest-attraction-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}
.dest-attraction-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--color-dark);
    transition: transform var(--transition);
}
.dest-attraction-card:hover .dest-attraction-icon {
    transform: scale(1.1);
}
.dest-attraction-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}
.dest-attraction-content p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}
.dest-attraction-card.featured {
    grid-row: span 2;
}

/* ============================================
   DESTINATION STORY — FULL-WIDTH PARALLAX
============================================= */
.dest-story {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.dest-story-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.dest-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 21, 39, 0.88) 0%,
        rgba(10, 37, 64, 0.75) 100%
    );
}
.dest-story-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.dest-story-content h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 28px;
}
.dest-story-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ============================================
   PRACTICAL INFORMATION — ICON CARDS
============================================= */
.dest-practical {
    padding: 100px 0;
    background: var(--color-bg-warm);
}
.dest-practical .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.dest-practical .section-header .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.dest-practical .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.dest-practical .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.dest-practical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dest-practical-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    text-align: center;
}
.dest-practical-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.dest-practical-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-primary);
    transition: all var(--transition);
}
.dest-practical-card:hover .dest-practical-icon {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: scale(1.1);
}
.dest-practical-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}
.dest-practical-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   PHOTO GALLERY MOSAIC
   Higher-specificity selectors override styles.css
============================================= */
.dest-gallery {
    padding: 100px 0;
    background: var(--color-bg-section);
}
.dest-gallery .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.dest-gallery .section-header .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.dest-gallery .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.dest-gallery .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.dest-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 16px;
}
.dest-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
}
.dest-gallery-item:nth-child(1) {
    grid-column: span 2;
}
.dest-gallery-item:nth-child(4) {
    grid-column: span 2;
}
.dest-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.dest-gallery-item:hover img {
    transform: scale(1.06);
}
.dest-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background var(--transition);
    pointer-events: none;
}
.dest-gallery-item:hover::after {
    background: rgba(0,0,0,0.15);
}

/* ============================================
   RELATED TOURS
============================================= */
.dest-tours {
    padding: 100px 0;
    background: var(--color-bg-warm);
}
.dest-tours .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.dest-tours .section-header .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.dest-tours .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.dest-tours .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.dest-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dest-tour-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}
.dest-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.dest-tour-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    position: relative;
}
.dest-tour-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,21,39,0.2) 0%, transparent 50%);
}
.dest-tour-card:hover .dest-tour-img {
    transform: scale(1.03);
}
.dest-tour-content {
    padding: 24px;
}
.dest-tour-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.dest-tour-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.dest-tour-content p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   CTA — scoped under .destination-page
============================================= */
.destination-page .cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.destination-page .cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.destination-page .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 21, 39, 0.85) 0%,
        rgba(10, 37, 64, 0.75) 100%
    );
}
.destination-page .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.destination-page .cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 16px;
}
.destination-page .cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.6;
}
.destination-page .cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SCROLL REVEAL
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   KEYFRAMES
============================================= */
@keyframes destFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .dest-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dest-overview-side {
        position: static;
    }
    .dest-attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
    .dest-attraction-card.featured {
        grid-row: span 1;
    }
    .dest-practical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dest-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dest-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .dest-gallery-item:nth-child(1),
    .dest-gallery-item:nth-child(4) {
        grid-column: span 2;
    }
    .dest-gallery-item img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .dest-hero {
        height: 55vh;
        min-height: 400px;
    }
    .dest-hero .carousel-controls {
        display: none;
    }
    .dest-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .dest-strip-item:nth-child(n+3) {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .dest-strip-item:nth-child(5) {
        grid-column: span 2;
    }
    .dest-attractions-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }
    .dest-attraction-card.featured {
        grid-row: span 1;
    }
    .dest-practical-grid {
        grid-template-columns: 1fr;
    }
    .dest-tours-grid {
        grid-template-columns: 1fr;
    }
    .dest-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .dest-gallery-item:nth-child(1),
    .dest-gallery-item:nth-child(4) {
        grid-column: span 1;
    }
    .dest-gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .dest-hero-meta {
        gap: 12px;
    }
    .destination-page .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}