/* ============================================================
   THE ADVENTURE AWAITS CO. — CATEGORY PAGES MASTER STYLESHEET
   Covers:
     1. Destinations Listing Page  (destinations.html)
     2. State Detail Pages         (westbengal.html, meghalaya.html, etc.)
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   SECTION 1 — GLOBAL PAGE SETUP
   ──────────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    width: 100%;
}


/* ────────────────────────────────────────────────────────────
   SECTION 2 — INDIAN FLAG TRICOLOR TEXT EFFECT
   ──────────────────────────────────────────────────────────── */
.tricolor-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(
        to bottom,
        #FF9933 0%,  #FF9933 35%,
        #FFFFFF 45%, #FFFFFF 55%,
        #138808 65%, #138808 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(255, 255, 255, 0.1));
    margin-bottom: 20px;
}


/* ────────────────────────────────────────────────────────────
   SECTION 3 — DESTINATIONS LISTING HERO & SEARCH
   (Used on destinations.html)
   ──────────────────────────────────────────────────────────── */
.destinations-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../assets/images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.search-box {
    width: 100%;
    max-width: 650px;
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 25px;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.search-btn {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.vertical-gap-extra {
    height: 120px;
    background-color: #000;
}


/* ────────────────────────────────────────────────────────────
   SECTION 4 — STATES GRID
   (Used on destinations.html)
   ──────────────────────────────────────────────────────────── */
.states-section {
    padding: 0 5% 100px 5%;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px 25px;
    max-width: 1400px;
    margin: 0 auto;
}


/* ────────────────────────────────────────────────────────────
   SECTION 5 — STATE CARD STYLE
   (Used on destinations.html)
   ──────────────────────────────────────────────────────────── */
.state-item {
    background-color: #111;
    padding: 25px;
    min-height: 420px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.state-item:hover {
    border-color: #ff6b00;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
}

.state-img-wrapper {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.state-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.state-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 10px 0;
    font-weight: 700;
}


/* ────────────────────────────────────────────────────────────
   SECTION 6 — BUTTON REVEAL LOGIC
   (Shared across destinations + state detail pages)
   ──────────────────────────────────────────────────────────── */
.card-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-top: auto;
}

.state-item:hover .card-reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ────────────────────────────────────────────────────────────
   SECTION 7 — VIEW / ITINERARY BUTTON
   (Shared across destinations + state detail pages)
   ──────────────────────────────────────────────────────────── */
.view-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(135deg, #ff4d00, #ff8700) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
    transition: all 0.3s ease;
}

.view-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.6) !important;
    transform: scale(1.02);
    filter: brightness(1.1);
}


/* ============================================================
   STATE DETAIL PAGE STYLES
   Used on: westbengal.html, meghalaya.html, sikkim.html, etc.
   Only override needed per page: .state-hero-bg { background-image: url(...) }
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   SECTION 8 — STATE HERO
   ──────────────────────────────────────────────────────────── */
.state-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px;
}

/* 
   .state-hero-bg background-image is intentionally NOT set here.
   Each state page sets it with a single inline style:
   <style> .state-hero-bg { background-image: url('../assets/images/states/wb.jpg'); } </style>
*/
.state-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.45);
    transform: scale(1.04);
    transition: transform 8s ease;
}

.state-hero:hover .state-hero-bg {
    transform: scale(1);
}

.state-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark) 0%, rgba(26,15,7,0.4) 60%, transparent 100%);
}

.state-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8% 50px;
    width: 100%;
}

.state-hero-content .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange-light);
    font-weight: 600;
    margin-bottom: 14px;
}

.state-hero-content .hero-eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--orange-light);
}

.state-hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    color: var(--cream);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.state-hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.state-hero-content p {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(253,246,236,0.5);
    font-weight: 600;
}


/* ────────────────────────────────────────────────────────────
   SECTION 9 — STATE PACKAGES SECTION
   ──────────────────────────────────────────────────────────── */
.state-packages {
    padding: 90px 8%;
    background: var(--cream);
}

.state-packages .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.state-packages .section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text);
    font-weight: 800;
    margin-top: 10px;
}

.state-packages .section-header h2 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Package cards inherit v-card from style.css — overrides below */
.pkg-grid .v-card {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
}

.pkg-grid .card-img {
    height: 220px;
}

.pkg-grid .card-reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


/* ────────────────────────────────────────────────────────────
   SECTION 10 — ENQUIRY NOTE SECTION
   ──────────────────────────────────────────────────────────── */
.state-enquiry-note {
    text-align: center;
    padding: 70px 8%;
    background: var(--cream2);
}

.state-enquiry-note p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.7;
}


/* ────────────────────────────────────────────────────────────
   SECTION 11 — RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Destinations listing page */
    .states-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .card-reveal {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .tricolor-text {
        font-size: 2.2rem;
    }

    /* State detail pages */
    .state-packages {
        padding: 60px 5%;
    }

    .pkg-grid {
        grid-template-columns: 1fr;
    }

    .state-hero-content {
        padding: 0 5% 40px;
    }
}