/*
 * ═══════════════════════════════════════════════════════
 * Home Page Styles — Silk Route Stays
 * ═══════════════════════════════════════════════════════
 */

/* ─── HERO ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0) 0%, rgba(8,12,10,0.4) 100%),
        linear-gradient(
            180deg,
            rgba(10, 12, 30, 0.45) 0%,
            rgba(10, 12, 30, 0.20) 40%,
            rgba(10, 12, 30, 0.35) 70%,
            rgba(10, 12, 30, 0.65) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: var(--sp-32);
    padding-bottom: var(--sp-16);
    max-width: 900px;
}

.hero__eyebrow {
    color: var(--c-gold-light);
    margin-bottom: var(--sp-5);
}

.hero__title {
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: #fff;
    margin-bottom: var(--sp-6);
}

.hero__title-accent {
    color: var(--c-gold);
    font-style: italic;
    font-weight: var(--fw-medium);
}

.hero__subtitle {
    font-size: var(--fs-lg);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto var(--sp-10);
}


/* ─── HERO SEARCH BAR ──────────────────────────────── */
.hero__search {
    margin-bottom: var(--sp-12);
}

.hero-search {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: var(--sp-2);
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
}

.hero-search__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.hero-search__field:last-of-type {
    border-right: none;
}

.hero-search__field i {
    color: var(--c-gold);
    font-size: var(--fs-sm);
    flex-shrink: 0;
}

.hero-search__field select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    padding: var(--sp-1) 0;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.hero-search__field select:focus {
    outline: none;
    box-shadow: none;
}

.hero-search__field select option {
    background: var(--c-forest-dark);
    color: #fff;
}

.hero-search__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    background: var(--c-gold);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--t-base) var(--ease-out);
    white-space: nowrap;
}

.hero-search__btn:hover {
    background: var(--c-gold-dark);
    transform: translateY(-1px);
}


/* ─── HERO STATS ───────────────────────────────────── */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: var(--ff-display);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1;
    margin-bottom: var(--sp-1);
}

.hero__stat-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero__stat-label i {
    color: var(--c-gold);
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}


/* ─── HERO SCROLL INDICATOR ────────────────────────── */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    z-index: 2;
}

.hero__scroll span {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(
        180deg,
        var(--c-gold) 0%,
        transparent 100%
    );
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1); }
}


/* ═══════════════════════════════════════════════════
   POPULAR DESTINATIONS
   ═══════════════════════════════════════════════════ */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}

.dest-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    text-decoration: none;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-md);
    transform: translateZ(0);
    transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
    will-change: transform;
}

.dest-card:hover {
    box-shadow: 0 20px 48px rgba(15,33,25,.35);
    transform: translateY(-6px);
}

.dest-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dest-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slower) var(--ease-out);
}

.dest-card:hover .dest-card__img img {
    transform: scale(1.10);
}

.dest-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        0deg,
        rgba(12, 28, 20, 0.92) 0%,
        rgba(12, 28, 20, 0.45) 38%,
        rgba(12, 28, 20, 0.05) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-6);
    transition: background var(--t-base);
}

.dest-card:hover .dest-card__overlay {
    background: linear-gradient(
        0deg,
        rgba(12, 28, 20, 0.95) 0%,
        rgba(12, 28, 20, 0.55) 45%,
        rgba(12, 28, 20, 0.1) 75%,
        transparent 100%
    );
}

.dest-card__name {
    font-family: var(--ff-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: #fff;
    margin-bottom: var(--sp-1);
}

.dest-card__state {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--c-gold-light);
}

.dest-card__count {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--sp-1);
}


/* ═══════════════════════════════════════════════════
   TOUR CATEGORIES
   ═══════════════════════════════════════════════════ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-8) var(--sp-4);
    background: #fff;
    border-radius: var(--radius-lg);
    border: var(--border);
    text-decoration: none;
    color: var(--c-charcoal);
    transition: all var(--t-base) var(--ease-out);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-gold);
}

.cat-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
    font-size: var(--fs-xl);
    color: var(--c-forest);
    transition: all var(--t-base);
}

.cat-card:hover .cat-card__icon {
    background: var(--c-gold);
    color: #fff;
}

.cat-card__name {
    font-family: var(--ff-display);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--c-night);
    margin-bottom: var(--sp-1);
}

.cat-card__count {
    font-size: var(--fs-xs);
    color: var(--c-stone);
}


/* ═══════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════ */
.why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.why__content .section-title {
    color: #fff;
}

.why__content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}

.why__features {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.why-feature {
    display: flex;
    gap: var(--sp-5);
    align-items: flex-start;
    padding: var(--sp-5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--t-base);
}

.why-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 169, 110, 0.25);
}

.why-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(200, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--c-gold);
    font-size: var(--fs-lg);
}

.why-feature__text h4 {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: #fff;
    margin-bottom: var(--sp-2);
}

.why-feature__text p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: var(--lh-normal);
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════
   REVIEWS / TESTIMONIALS
   ═══════════════════════════════════════════════════ */
.reviews-swiper {
    padding-bottom: var(--sp-12);
}

.reviews-swiper .swiper-slide {
    height: auto;
}

.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    border: var(--border-light);
    transition: box-shadow var(--t-base);
}

.review-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.review-card__stars {
    display: flex;
    gap: 3px;
    color: var(--c-gold);
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-5);
}

.review-card__text {
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
    color: var(--c-slate);
    font-style: italic;
    flex: 1;
    margin: 0 0 var(--sp-6);
    position: relative;
    padding-left: var(--sp-5);
    border-left: 2px solid var(--c-gold);
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-top: auto;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-forest);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
    flex-shrink: 0;
}

.review-card__name {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-night);
}

.review-card__location {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-stone);
}

.review-card__tour {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-sage);
    margin-top: 2px;
}

.reviews-pagination .swiper-pagination-bullet {
    background: var(--c-sand);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--c-gold);
    width: 28px;
    border-radius: var(--radius-full);
}


/* ═══════════════════════════════════════════════════
   BLOG CARDS (home variant)
   ═══════════════════════════════════════════════════ */
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: all var(--t-base) var(--ease-out);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.blog-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slower) var(--ease-out);
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.06);
}

.blog-card__category {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    background: var(--c-gold);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-full);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

.blog-card__body {
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
}

.blog-card__date {
    font-size: var(--fs-xs);
    color: var(--c-stone);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}

.blog-card__title {
    font-family: var(--ff-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--c-night);
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-3);
    transition: color var(--t-fast);
}

.blog-card:hover .blog-card__title {
    color: var(--c-forest);
}

.blog-card__excerpt {
    font-size: var(--fs-sm);
    color: var(--c-slate);
    line-height: var(--lh-normal);
    margin-bottom: var(--sp-4);
}

.blog-card__read-more {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    transition: gap var(--t-base);
}

.blog-card:hover .blog-card__read-more {
    gap: var(--sp-3);
}


/* ═══════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════ */
.cta-section {
    position: relative;
    padding: var(--sp-32) 0;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

.cta__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 33, 25, 0.85) 0%,
        rgba(27, 58, 45, 0.75) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta__content .eyebrow {
    color: var(--c-gold-light);
}

.cta__title {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: var(--lh-tight);
    margin-bottom: var(--sp-5);
}

.cta__subtitle {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--sp-10);
}

.cta__buttons {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════
   HOME-SPECIFIC RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════════════ */

/* ── Tablet landscape ─────────────────────────────── */
@media (max-width: 1024px) {
    .hero__title {
        font-size: var(--fs-5xl);
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-lg);
        gap: 0;
    }

    .hero-search__field {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: var(--sp-3) var(--sp-4);
    }

    .hero-search__field:last-of-type {
        border-bottom: none;
    }

    .hero-search__btn {
        border-radius: var(--radius-md);
        justify-content: center;
    }

    .dest-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--sp-4);
    }

    .why__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }

    .why__content {
        text-align: center;
    }

    .why__content .divider {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Tablet portrait ──────────────────────────────── */
@media (max-width: 768px) {
    .hero__title {
        font-size: var(--fs-4xl);
    }

    .hero__subtitle {
        font-size: var(--fs-base);
    }

    .hero__stats {
        gap: var(--sp-5);
    }

    .hero__stat-number {
        font-size: var(--fs-2xl);
    }

    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta__title {
        font-size: var(--fs-3xl);
    }

    .cta-section {
        padding: var(--sp-20) 0;
    }
}

/* ── Large phone ──────────────────────────────────── */
@media (max-width: 600px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero__content {
        padding-top: var(--sp-24);
        padding-bottom: var(--sp-12);
    }

    .hero__title {
        font-size: var(--fs-3xl);
    }

    .hero__subtitle {
        font-size: var(--fs-sm);
        margin-bottom: var(--sp-8);
    }

    .hero__search {
        margin-bottom: var(--sp-8);
    }

    .hero__stats {
        gap: var(--sp-4);
    }

    .hero__stat-divider {
        display: none;
    }

    .hero__stat-number {
        font-size: var(--fs-xl);
    }

    .hero__stat-label {
        font-size: 10px;
    }

    .hero__scroll {
        display: none;
    }

    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }

    .cat-card {
        padding: var(--sp-5) var(--sp-3);
    }

    .cat-card__icon {
        width: 52px;
        height: 52px;
    }

    .why__content {
        text-align: left;
    }

    .why__content .divider {
        margin-left: 0;
        margin-right: 0;
    }

    .cta__title {
        font-size: var(--fs-2xl);
    }

    .cta-section {
        padding: var(--sp-16) 0;
    }

    .cta__buttons {
        flex-direction: column;
    }

    .cta__buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Small phone ──────────────────────────────────── */
@media (max-width: 480px) {
    .hero__title {
        font-size: var(--fs-2xl);
    }

    .hero__content {
        padding-top: var(--sp-20);
    }

    .cat-card__name {
        font-size: var(--fs-sm);
    }
}
