/* ============================================
   DAY TOUR PAGE — daytour.css
   Requires: styles.css loaded first
   All gallery selectors use higher specificity
   to override styles.css defaults safely.
============================================= */

/* ============================================
   HERO GALLERY / CAROUSEL
============================================= */
.daytour-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    max-height: 750px;
    overflow: hidden;
}
.daytour-hero-slider {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.daytour-hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.daytour-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.daytour-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 60px 0 50px;
}
.daytour-hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.daytour-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: 18px;
    animation: dtFadeUp 0.6s ease both;
}
.daytour-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 10px;
    animation: dtFadeUp 0.6s ease 0.1s both;
}
.daytour-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-bottom: 16px;
    animation: dtFadeUp 0.6s ease 0.15s both;
}
.daytour-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    animation: dtFadeUp 0.6s ease 0.25s both;
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}
.hero-meta-item svg {
    opacity: 0.7;
}

/* Day tour hero carousel controls — scoped to avoid
   conflict with styles.css .carousel-controls */
.daytour-hero .carousel-controls {
    position: absolute;
    bottom: 50px;
    right: 24px;
    z-index: 10;
    display: flex;
    gap: 8px;
    margin-top: 0;
    justify-content: flex-start;
}
.daytour-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);
}
.daytour-hero .carousel-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}
.carousel-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition);
}
.carousel-dot.active {
    background: var(--color-primary);
    width: 48px;
}

/* ============================================
   QUICK INFO STRIP
============================================= */
.quick-strip {
    background: var(--color-dark);
}
.quick-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.quick-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);
}
.quick-strip-item:last-child {
    border-right: none;
}
.quick-strip-item:hover {
    background: rgba(255,255,255,0.04);
}
.quick-strip-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 6px;
    font-weight: 600;
}
.quick-strip-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

/* ============================================
   TOUR OVERVIEW
============================================= */
.tour-overview {
    padding: 80px 0 60px;
    background: var(--color-bg-warm);
}
.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}
.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;
}
.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;
}
.overview-text p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 16px;
}

/* Side Info Card */
.overview-side {
    position: sticky;
    top: 100px;
}
.side-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);
}
.side-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);
}
.side-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.side-info-row:last-of-type {
    border-bottom: none;
}
.side-info-label {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-info-label svg {
    color: var(--color-primary);
    opacity: 0.7;
}
.side-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}
.side-cta {
    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);
}
.side-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3);
}
.side-cta-sub {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============================================
   TOUR HIGHLIGHTS — PICTORIAL CARDS
============================================= */
.highlights-section {
    padding: 100px 0;
    background: var(--color-bg-section);
}
.highlights-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.highlights-section .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;
}
.highlights-section .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;
}
.highlights-section .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.7;
    margin: 0 auto;
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}
.highlight-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}
.highlight-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.highlight-card:hover .highlight-card-bg {
    transform: scale(1.08);
}
.highlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(2, 21, 39, 0.75) 100%);
    transition: opacity var(--transition);
}
.highlight-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}
.highlight-card-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);
}
.highlight-card:hover .highlight-card-icon {
    transform: scale(1.1);
}
.highlight-card-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}
.highlight-card-content p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}
/* Featured card spans two rows */
.highlight-card.featured {
    grid-row: span 2;
}

/* ============================================
   DETAILED ITINERARY — TIMELINE
============================================= */
.itinerary-section {
    padding: 100px 0;
    background: var(--color-bg-warm);
}
.itinerary-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.itinerary-section .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;
}
.itinerary-section .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;
}
.itinerary-section .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}
.timeline-item {
    position: relative;
    padding-left: 76px;
    padding-bottom: 48px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 17px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 4px solid var(--color-bg-warm);
    box-shadow: 0 0 0 2px var(--color-primary);
    z-index: 2;
}
.timeline-time {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 6px;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.timeline-text {
    font-size: 14.5px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}
.timeline-images {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.timeline-img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.timeline-img:hover {
    transform: scale(1.05);
}

/* ============================================
   PHOTO GALLERY MOSAIC
   Higher-specificity selectors override
   styles.css .gallery-grid / .gallery-item
============================================= */
.gallery-section {
    padding: 100px 0;
    background: var(--color-bg-section);
}
.gallery-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.gallery-section .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;
}
.gallery-section .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;
}
.gallery-section .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* GRID: 4 columns, explicit row heights — overrides styles.css 6-col grid */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 16px;
    padding: 0;
}

/* ITEM: reset aspect-ratio from styles.css, set explicit height */
.gallery-section .gallery-grid .gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
}

/* First and fourth items span two columns */
.gallery-section .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
}
.gallery-section .gallery-grid .gallery-item:nth-child(4) {
    grid-column: span 2;
}

/* Images fill their cell */
.gallery-section .gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-section .gallery-grid .gallery-item:hover img {
    transform: scale(1.06);
}

/* Hover overlay — overrides styles.css .gallery-overlay */
.gallery-section .gallery-grid .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
            transition: background var(--transition);
    pointer-events: none;
}
.gallery-section .gallery-grid .gallery-item:hover::after {
    background: rgba(0,0,0,0.15);
}

/* Remove any gallery-overlay that styles.css might inject */
.gallery-section .gallery-grid .gallery-item .gallery-overlay {
    display: none;
}

/* ============================================
   INCLUSIONS & EXCLUSIONS
============================================= */
.inc-exc-section {
    padding: 100px 0;
    background: var(--color-bg-warm);
}
.inc-exc-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.inc-exc-section .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;
}
.inc-exc-section .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;
}
.inc-exc-section .section-header p {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.inc-exc-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.inc-exc-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.inc-exc-card h3 .inc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.inc-icon.included {
    background: rgba(45, 90, 61, 0.12);
    color: var(--color-accent-green);
}
.inc-icon.excluded {
    background: rgba(180, 60, 60, 0.1);
    color: #b43c3c;
}
.inc-exc-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 14.5px;
    color: var(--color-text);
}
.inc-exc-list li:last-child {
    border-bottom: none;
}
.inc-exc-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.inc-check {
    color: var(--color-accent-green);
}
.inc-cross {
    color: #b43c3c;
}

/* ============================================
   CTA SECTION — DAY TOUR VARIANT
   Scoped to avoid conflicts with styles.css
============================================= */
.daytour-page .cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.daytour-page .cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.daytour-page .cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 21, 39, 0.85) 0%,
        rgba(10, 37, 64, 0.75) 100%
    );
}
.daytour-page .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.daytour-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;
}
.daytour-page .cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.6;
}
.daytour-page .cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   SCROLL REVEAL — DAY TOUR
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   KEYFRAMES
============================================= */
@keyframes dtFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .overview-side {
        position: static;
    }
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
    .highlight-card.featured {
        grid-row: span 1;
    }

    /* Gallery: fix for 2-column layout */
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-section .gallery-grid .gallery-item:nth-child(1),
    .gallery-section .gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 2;
    }
    .gallery-section .gallery-grid .gallery-item img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .daytour-hero {
        height: 55vh;
        min-height: 400px;
    }
    .daytour-hero .carousel-controls {
        display: none;
    }
    .quick-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-strip-item:nth-child(n+3) {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .highlights-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }
    .highlight-card.featured {
        grid-row: span 1;
    }
    .timeline::before {
        left: 18px;
    }
    .timeline-item {
        padding-left: 56px;
    }
    .timeline-dot {
        left: 8px;
    }
    .timeline-images {
        flex-wrap: wrap;
    }
    .timeline-img {
        width: 100%;
        height: 160px;
    }
    .inc-exc-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery: single column on mobile */
    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .gallery-section .gallery-grid .gallery-item:nth-child(1),
    .gallery-section .gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 1;
    }
    .gallery-section .gallery-grid .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .daytour-hero-meta {
        gap: 12px;
    }
    .daytour-page .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}