/* ==========================================================================
   MYKUTCH.ORG - MAJESTIC LUXURY EDITORIAL VISUAL OVERHAUL
   ========================================================================== */

/* --- 1. Warm Travertine Canvas & Elite Hero Layout --- */
.index-page {
    /* Faded background image canvas instead of a flat color (light & transparent) */
    background-image:
        linear-gradient(rgba(250, 248, 245, 0.82), rgba(250, 248, 245, 0.82)),
        url('../assets/images/background2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #faf8f5 !important; /* Fallback warm travertine off-white */
    color: #0f172a;
    font-family: var(--font-body);
    /* Heading treatment ported from Bhuj destination page */
    --metal-red: linear-gradient(180deg, #ff6a45 0%, #ef3a20 45%, #d8270f 75%, #ff5e3a 100%);
    --metal-red-emboss: 0 2px 4px rgba(140, 28, 12, 0.35), 0 0 16px rgba(255, 80, 45, 0.18);
    --heading-navy: #14213D;
    /* Lighter-weight heading font (Righteous is single heavy weight; Outfit respects font-weight) */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.hero {
    margin-top: 0;
    min-height: 98vh; /* Breathtaking tall cinematic view height */
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Luxury Asymmetric Grid */
    align-items: center;
    gap: 4rem;
    padding: 8rem 5rem 5rem;
    position: relative;
    overflow: hidden;
    /* Very light multi-colored ambient wash */
    background:
        radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 86% 14%, rgba(234, 179, 8, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 78% 82%, rgba(139, 92, 246, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 22% 86%, rgba(20, 184, 166, 0.07) 0%, transparent 45%),
        #fbfaf8 !important;
    z-index: 1;
}

/* Transparent colorful art pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18; /* Faint, so hero text stays readable */
    z-index: 2;
    pointer-events: none;
}

/* Deep warm ambient radial breathing glows */
.blob-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.32; /* Rich glow intensity */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blob-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    width: 850px;
    height: 850px;
    top: -12%;
    right: -10%;
}

.blob-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    width: 750px;
    height: 750px;
    bottom: -15%;
    left: -5%;
}

/* --- 2. Asymmetric Typography Column (No Box Overlay) --- */
.hero-content {
    text-align: left;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10;
    position: relative;
    animation: heroTextReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroTextReveal {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Modern luxury experiential tag pill */
.glow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    background: rgba(194, 65, 12, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #c2410c;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.05);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 4.8rem) !important;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    /* Metallic-red gradient heading, matching Bhuj page */
    background: var(--metal-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow:
        0 2px 10px rgba(140, 28, 12, 0.38),
        0 0 24px rgba(255, 90, 54, 0.25);
}

/* Add specialized serif emphasis block styling */
.hero-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    color: #f97316; /* bright orange */
    display: block;
    /* Smaller than the main hero title so it fits on a single line */
    font-size: clamp(1.05rem, 2.6vw, 2rem);
    white-space: nowrap;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
    font-weight: 400;
    font-style: italic;
    color: #475569 !important;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: clamp(1.0rem, 1.4vw, 1.15rem) !important;
    max-width: 650px;
    margin: 0 0 3rem 0;
    line-height: 1.8;
    color: #334155 !important;
    font-weight: 400;
    font-family: var(--font-body);
}

/* Custom premium HSL buttons */
.hero-btn-row {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-content .btn {
    font-size: 0.95rem;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content .btn-primary {
    background: #c2410c;
    border-color: #c2410c;
    box-shadow: 0 10px 30px rgba(194, 65, 12, 0.2);
    color: #ffffff !important;
}

.hero-content .btn-primary:hover {
    background: #ea580c;
    border-color: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(194, 65, 12, 0.3);
}

.hero-content .btn-secondary {
    background: transparent;
    border: 2px solid #0f172a;
    color: #0f172a !important;
}

.hero-content .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.04);
    transform: translateY(-3px);
}

/* --- 3. Majestic 3D Layered Architectural Collage --- */
.hero-image-col {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: heroImgReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroImgReveal {
    0% { opacity: 0; transform: translateY(50px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.collage-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
}

/* Majestic traditional arched portal */
.portal-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24rem 24rem 2.5rem 2.5rem; /* Classic palace arch silhouette */
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.1);
    border: 10px solid #ffffff;
    z-index: 5;
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delicate gold stroke around archway */
.portal-border {
    position: absolute;
    inset: -2px;
    border-radius: 24rem 24rem 2.5rem 2.5rem;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), transparent 40%, rgba(212, 175, 55, 0.6)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 6;
}

.portal-frame:hover img {
    transform: scale(1.04);
}

/* Layered floating foreground craft detail card */
.floating-craft-card {
    position: absolute;
    bottom: -30px;
    left: -65px;
    width: 190px;
    aspect-ratio: 1/1;
    border-radius: 2rem;
    border: 6px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
    z-index: 10;
    transform: rotate(-3deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.floating-craft-card:hover {
    transform: rotate(0deg) scale(1.05) translateY(-5px);
    box-shadow: 0 35px 70px rgba(194, 65, 12, 0.18);
}

.floating-craft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    z-index: 11;
}

/* Fine-line geographic details */
.geo-coord-tag {
    position: absolute;
    top: 40px;
    right: -70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    z-index: 12;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.geo-coord-tag span:first-child {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.05em;
}

.geo-coord-tag span.star-separator {
    color: #d4af37;
    font-size: 0.65rem;
    margin: 0.15rem 0;
}

.geo-coord-tag span:last-child {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    font-style: italic;
    color: #c2410c;
}

/* Hero Mobile Collage Adjustments */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 8rem 2rem 5rem;
        gap: 4rem;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-btn-row {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    .hero-content .btn {
        width: 100%;
        max-width: 280px;
    }
    .hero-image-col {
        order: 2; /* Content sits on top */
    }
    .collage-container {
        max-width: 320px;
        aspect-ratio: 4/5;
    }
    .portal-frame {
        border-width: 8px;
    }
    .floating-craft-card {
        width: 130px;
        left: -35px;
        bottom: -20px;
        border-width: 4px;
    }
    .geo-coord-tag {
        right: -30px;
        top: 25px;
        padding: 0.4rem 0.8rem;
    }
}

/* Short / laptop-height screens (e.g. 15.6"): keep the hero proportionate
   instead of letting 98vh + fixed padding swallow the whole viewport. */
@media (min-width: 1025px) and (max-height: 850px) {
    .hero {
        min-height: 0;
        padding: 6rem 5rem 4rem;
    }
    .collage-container {
        max-width: 360px;
    }
}

/* --- 4. Beautiful Gold Medallion Diversity Strip (Compact Banner Edition) --- */
.diversity-strip {
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
        url('../assets/images/background3.webp') center/cover no-repeat; /* Light faded image */
    padding: 3.5rem 0; /* Halved padding for an extremely sleek ribbon height */
    margin-top: -3.5rem;
    position: relative;
    z-index: 20;
    border-radius: 4rem 4rem 0 0;
    border-bottom: 2px solid rgba(37, 99, 235, 0.4);
    box-shadow: 0 -25px 60px rgba(15, 23, 42, 0.03);
}

.diversity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem; /* Tight, compact gap */
    max-width: 1150px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .diversity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.diversity-card {
    background: #ffffff !important; /* Crisp High-Contrast White Cards */
    border-radius: 1.75rem; /* Sleeker rounded corners */
    padding: 1.5rem 1rem 1.25rem; /* Halved compact padding */
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    box-shadow: 0 6px 20px rgba(180, 130, 40, 0.02);
}

.diversity-card:hover {
    transform: translateY(-5px); /* Gentle hover lift */
    background: #ffffff !important;
    box-shadow: 0 15px 35px rgba(194, 65, 12, 0.1);
    border-color: rgba(194, 65, 12, 0.3) !important;
}

.diversity-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem !important; /* Compact header size */
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.diversity-card p {
    font-family: var(--font-body);
    font-size: 0.82rem; /* Tighter description copy */
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Moving golden border with glow on the diversity cards
   (The Coast / The Hills / The Mystery / The Spirit) */
@property --mk-gold-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes mk-gold-spin {
    to { --mk-gold-angle: 360deg; }
}

.diversity-card {
    position: relative;
    z-index: 0;
}

.diversity-card::before,
.diversity-card::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 1.75rem;
    /* Soft gold ring with a gentle highlight that slowly drifts around.
       No dark band — stays a mild, light gold the whole way round. */
    background: conic-gradient(
        from var(--mk-gold-angle),
        rgba(212, 175, 55, 0.35) 0deg,
        rgba(230, 193, 90, 0.65) 70deg,
        #f6e3a0 110deg,
        rgba(230, 193, 90, 0.65) 150deg,
        rgba(212, 175, 55, 0.35) 230deg,
        rgba(212, 175, 55, 0.35) 360deg
    );
    animation: mk-gold-spin 9s linear infinite;
    pointer-events: none;
}

/* Crisp moving border on top of the card, masked to a ~3px ring */
.diversity-card::before {
    padding: 3px;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: 1;
}

/* Soft glow: a larger blurred copy sitting behind the card */
.diversity-card::after {
    inset: -5px;
    filter: blur(14px);
    opacity: 0.45;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    .diversity-card::before,
    .diversity-card::after {
        animation: none;
    }
}

/* Horizontal Swipe-to-Scroll Layout for Tablet & Mobile (Sleek Compact Version) */
@media (max-width: 768px) {
    .diversity-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 1.5rem 1.75rem !important;
        margin: 0 -1.5rem !important;
        scroll-behavior: smooth;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        -webkit-overflow-scrolling: touch;
    }
    .diversity-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Safari/Chrome */
    }
    .diversity-card {
        flex: 0 0 210px !important; /* Ultra compact width on mobile */
        scroll-snap-align: center;
        padding: 1.25rem 0.85rem 1rem !important;
        border-radius: 1.5rem !important;
        box-shadow: 0 10px 25px rgba(180, 130, 40, 0.04) !important;
    }
    .medallion-rim {
        width: 48px !important; /* Mini mobile rims */
        height: 48px !important;
    }
    .medallion-icon {
        font-size: 1.35rem !important;
    }
}

/* Elite Mini Gold-rimmed Medallion Structure */
.medallion-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem; /* Tight spacing */
}

.medallion-rim {
    width: 58px; /* Tighter medallion diameter */
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.25);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.02), inset 0 0 10px rgba(212, 175, 55, 0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease, box-shadow 0.6s ease;
    position: relative;
}

/* Interior dashed circle for historic talisman look */
.medallion-rim::before {
    content: '';
    position: absolute;
    inset: 3px; /* Smaller inset gap */
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    pointer-events: none;
}

.medallion-icon {
    font-size: 1.6rem; /* Scaled down icon */
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.25);
    display: block;
    line-height: 1;
}

.diversity-card:hover .medallion-rim {
    transform: scale(1.08) rotate(5deg);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.15);
}

.diversity-card:hover .medallion-icon {
    transform: scale(1.1) rotate(10deg);
}

/* --- 5. Staggered Editorial Destination Showcase Grid --- */
.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-title span.card-category {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #c2410c;
    text-transform: uppercase;
}

.section-title h2 {
    font-family: var(--font-heading);
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    font-weight: 600; /* A little thinner */
    /* Metallic-red + emboss, matching Bhuj headings */
    background: var(--metal-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: var(--metal-red-emboss);
}

.section-title p {
    font-family: var(--font-body);
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

@media (max-width: 968px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.card {
    border-radius: 2.5rem; /* Luxurious organic corner styling */
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.04);
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.06);
}

/* Subtle themed light background washes for all 8 destination cards to avoid bland white-on-white */
.card.dest-kadia-dhrow { background: #fff8f2; border-color: rgba(194, 65, 12, 0.1); border-top: 3px solid rgba(59, 130, 246, 0.22); }
.card.dest-kadia-dhrow:hover { background: #fff2e6; border-color: rgba(194, 65, 12, 0.3) !important; }

.card.dest-white-rann { background: #f4f8fc; border-color: rgba(37, 99, 235, 0.08); }
.card.dest-white-rann:hover { background: #eef4fc; border-color: rgba(37, 99, 235, 0.25) !important; }

.card.dest-bhuj { background: #fffdf0; border-color: rgba(212, 175, 55, 0.12); }
.card.dest-bhuj:hover { background: #fffbe0; border-color: rgba(212, 175, 55, 0.3) !important; }

.card.dest-heaven { background: #f0f7fa; border-color: rgba(56, 189, 248, 0.1); }
.card.dest-heaven:hover { background: #e0f2fe; border-color: rgba(56, 189, 248, 0.28) !important; }

.card.dest-dholavira { background: #faf5ee; border-color: rgba(139, 92, 26, 0.1); }
.card.dest-dholavira:hover { background: #f5eed8; border-color: rgba(139, 92, 26, 0.28) !important; }

.card.dest-mandvi { background: #f0fcfc; border-color: rgba(20, 184, 166, 0.1); }
.card.dest-mandvi:hover { background: #e0f9f9; border-color: rgba(20, 184, 166, 0.28) !important; }

.card.dest-anjar { background: #fff9f5; border-color: rgba(239, 68, 68, 0.1); }
.card.dest-anjar:hover { background: #ffebd8; border-color: rgba(239, 68, 68, 0.28) !important; }

.card.dest-lakhpat { background: #faf8f0; border-color: rgba(162, 120, 80, 0.1); }
.card.dest-lakhpat:hover { background: #f5eed8; border-color: rgba(162, 120, 80, 0.28) !important; }

/* --- Make whole destination cards clickable --- */
#destinations .card .stretched-link::after { z-index: 6; } /* lift link layer above overlays */
#destinations .card .card-img-wrapper::after { pointer-events: none; } /* gradient no longer blocks clicks */
#destinations .card .luxury-pill { pointer-events: none; } /* pill label no longer blocks clicks */

/* --- Unified light-green border + light-blue glow on all destination cards --- */
#destinations .card {
    border: 2px solid #86efac !important; /* light green */
    box-shadow:
        0 0 0 4px rgba(96, 165, 250, 0.14),
        0 12px 34px rgba(59, 130, 246, 0.26) !important; /* light blue glow */
}
#destinations .card:hover {
    border: 2px solid #86efac !important;
    box-shadow:
        0 0 0 6px rgba(96, 165, 250, 0.22),
        0 22px 48px rgba(59, 130, 246, 0.40) !important; /* stronger glow on hover */
}

.card-img-wrapper {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

/* Shadow gradient overlay for visual punch */
.card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.25) 100%);
    z-index: 2;
}

/* Absolute positioned champagne gold pill tag */
.luxury-pill {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #c2410c;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.45rem 1.2rem;
    border-radius: 99px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem !important;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.card-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    background: #faf8f5;
    color: #44403c;
    border-radius: 99px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

/* Interactive underline linked buttons */
.btn-text {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c2410c;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c2410c;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .btn-text::after {
    width: 100%;
}

/* Staggered wide editorial cards on desktop */
@media (min-width: 969px) {
    .card-wide {
        grid-column: span 2;
        display: flex;
        flex-direction: row;
    }
    .card-wide .card-img-wrapper {
        width: 50%;
        aspect-ratio: auto;
        height: 100%;
        border-radius: 2.5rem 0 0 2.5rem;
    }
    .card-wide .card-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3.5rem;
    }
}

/* --- 6. Editorial Crafts Hub --- */
.craft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.craft-card {
    background: #ffffff;
    border-radius: 2.5rem;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    /* Light golden outline + soft glow (uniform across all craft cards) */
    box-shadow:
        0 0 0 1px rgba(255, 243, 196, 0.7) inset,
        0 0 18px rgba(212, 175, 55, 0.30),
        0 10px 26px rgba(15, 23, 42, 0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Force uniform height across the grid row */
    position: relative;
}

.craft-img-box {
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    margin-bottom: 1.75rem;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.craft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.craft-meta-badge {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    color: #c2410c; /* Dynamic burnt amber accent */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.65rem;
    display: inline-block;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.craft-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem !important;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.craft-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Subtle themed light background washes for all 8 craft cards */
.craft-card.card-bandhani { background: #fff8f5; border-color: rgba(239, 68, 68, 0.12); }
.craft-card.card-bandhani:hover { background: #fff3ed; border-color: rgba(239, 68, 68, 0.35) !important; }

.craft-card.card-ajrakh { background: #f4f8fc; border-color: rgba(37, 99, 235, 0.1); }
.craft-card.card-ajrakh:hover { background: #eef4fc; border-color: rgba(37, 99, 235, 0.28) !important; }

.craft-card.card-rogan { background: #fffdf2; border-color: rgba(212, 175, 55, 0.15); }
.craft-card.card-rogan:hover { background: #fffbe3; border-color: rgba(212, 175, 55, 0.38) !important; }

.craft-card.card-mirror { background: #faf9f5; border-color: rgba(180, 130, 40, 0.12); }
.craft-card.card-mirror:hover { background: #f5f2eb; border-color: rgba(180, 130, 40, 0.3) !important; }

.craft-card.card-weaving { background: #faf7f0; border-color: rgba(162, 120, 80, 0.12); }
.craft-card.card-weaving:hover { background: #f5eedf; border-color: rgba(162, 120, 80, 0.3) !important; }

.craft-card.card-pottery { background: #fff5ee; border-color: rgba(194, 65, 12, 0.12); }
.craft-card.card-pottery:hover { background: #ffebd8; border-color: rgba(194, 65, 12, 0.30) !important; }

.craft-card.card-leather { background: #faf5eb; border-color: rgba(139, 92, 26, 0.12); }
.craft-card.card-leather:hover { background: #f5ead8; border-color: rgba(139, 92, 26, 0.30) !important; }

.craft-card.card-sudi { background: #f2f5f7; border-color: rgba(100, 116, 139, 0.12); }
.craft-card.card-sudi:hover { background: #e7eeef; border-color: rgba(100, 116, 139, 0.30) !important; }

.craft-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow:
        0 0 0 1px rgba(255, 247, 214, 0.9) inset,
        0 0 28px rgba(255, 215, 0, 0.42),
        0 25px 50px rgba(194, 65, 12, 0.10);
}

.craft-card:hover .craft-meta-badge {
    opacity: 1;
}

.craft-card:hover img {
    transform: scale(1.05); /* Gorgeous inner-image zoom effect */
}

.craft-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.arrow-shift {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.craft-card:hover .arrow-shift {
    transform: translateX(5px);
}

.craft-card:hover .btn-text::after {
    width: 100%;
}


/* --- 7. Title Accent Custom Styles --- */
.shining-blue-text {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.4rem) !important;
    font-weight: 600; /* A little thinner */
    /* Metallic-red + emboss, matching Bhuj headings */
    background: var(--metal-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: var(--metal-red-emboss);
    letter-spacing: -0.01em;
}

/* Dark-mode headings: keep metallic-red, matching Bhuj headings */
[data-theme="dark"] .section-title h2,
[data-theme="dark"] .shining-blue-text {
    background: var(--metal-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: var(--metal-red-emboss);
}

.fancy-gold-underline::after {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c2410c, #d4af37, #c2410c, transparent);
    border-radius: 99px;
    bottom: -15px;
}

/* --- 8. Premium Traveler's Passport Dashboard --- */
.travel-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* Compact, colored dashboard panels for "When to Visit" & "Getting There" */
.travel-dashboard .dashboard-panel {
    padding: 1.75rem 1.85rem;
    border-radius: 1.5rem;
}

/* When to Visit -> warm amber wash */
.travel-dashboard .dashboard-panel:first-child {
    background: linear-gradient(160deg, #FFFBF0 0%, #FFF0D2 100%);
    border-color: rgba(234, 179, 8, 0.22);
}

/* Getting There -> soft sky-blue wash */
.travel-dashboard .dashboard-panel:last-child {
    background: linear-gradient(160deg, #F3F9FF 0%, #E1EDFF 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.travel-dashboard .panel-header {
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
}

.travel-dashboard .panel-icon {
    background: #ffffff;
}

.dashboard-panel {
    background: #ffffff;
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.015);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(194, 65, 12, 0.04);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 1.5rem;
}

.panel-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.55rem !important;
    font-weight: 500;
    color: #0f172a;
}

.panel-icon {
    font-size: 1.25rem;
    background: #faf8f5;
    border: 1px solid rgba(212, 175, 55, 0.25);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #c2410c;
}

/* Passport-styled Season timeline */
.season-row {
    display: flex;
    gap: 1.1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.season-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.season-meta {
    min-width: 110px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.season-month {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.status-badge {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    text-align: center;
}

.status-best { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.status-good { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.status-avoid { background: #fef2f2; color: #991b1b; border: 1px solid #fecdd3; }

.season-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem !important;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.season-info p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

.season-temp {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: #c2410c;
    background: rgba(194, 65, 12, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(194, 65, 12, 0.1);
}

/* Transport items styling */
.transport-row {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
}

.transport-row:last-child {
    margin-bottom: 0;
}

.transport-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 1rem;
    font-size: 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.transport-info .highlight {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: #c2410c;
}

.transport-info .sub {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: #64748b;
}

/* Tips details - Compact and Spaced */
.dashboard-panel.full-width {
    margin-top: 5rem; /* Ensure generous breathing room from the upper section */
    padding: 1.75rem 2rem; /* Compact padding */
    border-radius: 2rem; /* Refined curved radius */
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Compact gap */
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #faf8f5;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem; /* Compact card padding */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tip-item:hover {
    background: #ffffff;
    border-color: rgba(194, 65, 12, 0.25);
    box-shadow: 0 15px 35px rgba(194, 65, 12, 0.05);
}

.tip-icon {
    font-size: 1.5rem; /* Compact icon size */
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.18);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #c2410c;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.tip-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem !important; /* Compact header size */
    font-weight: 500;
    color: #c2410c;
    margin-top: 0.15rem;
    margin-bottom: 0.25rem;
}

.tip-content p {
    font-family: var(--font-body);
    font-size: 0.82rem; /* Compact text size */
    color: #475569;
    line-height: 1.45; /* Compact line spacing */
    margin: 0;
}

@media (max-width: 968px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .travel-dashboard {
        grid-template-columns: 1fr;
    }
    .tips-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-panel.full-width {
        margin-top: 3.5rem; /* Ensure breathing room on mobile */
        padding: 1.5rem 1.25rem; /* Ultra compact on mobile */
    }
}


/* --- 9. Map and Contact Section --- */
.community-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.map-container {
    height: 420px;
    border-radius: 2.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

@media (max-width: 900px) {
    .community-row {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .map-container {
        height: 340px;
    }
}

/* --- 10. Luxury Section-Wise Background Rhythm --- */
#destinations {
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
        url('../assets/images/background1.webp') center/cover no-repeat !important; /* Light faded image */
    border-top: 2px solid rgba(37, 99, 235, 0.4);
    border-bottom: 2px solid rgba(37, 99, 235, 0.4);
}

.booking-highlight-banner {
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
        url('../assets/images/background2.webp') center/cover no-repeat !important; /* Light faded image */
    border-top: 2px solid rgba(37, 99, 235, 0.4) !important;
    border-bottom: 2px solid rgba(37, 99, 235, 0.4) !important;
    padding: 5.5rem 0 !important;
}

#culture {
    background:
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.82)),
        url('../assets/images/background.webp') center/cover no-repeat !important; /* Light faded image */
    border-top: 2px solid rgba(37, 99, 235, 0.4) !important;
    border-bottom: 2px solid rgba(37, 99, 235, 0.4) !important;
}

#guide {
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
        url('../assets/images/background3.webp') center/cover no-repeat !important; /* Light faded image */
    border-top: 2px solid rgba(37, 99, 235, 0.4);
    border-bottom: 2px solid rgba(37, 99, 235, 0.4);
}

/* Traveler passport dashboard panels popping elegantly over guide wash */
#guide .dashboard-panel {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    box-shadow: 0 15px 40px rgba(180, 130, 40, 0.03) !important;
}

/* Pristine bottom grid for Map & Community */
.index-page main > section:last-of-type {
    background:
        linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
        url('../assets/images/background1.webp') center/cover no-repeat !important; /* Light faded image */
    border-top: 2px solid rgba(37, 99, 235, 0.4);
    border-bottom: 2px solid rgba(37, 99, 235, 0.4);
}

/* Footer styling is shared site-wide via the compact footer in global.css. */

/* ==========================================================================
   Metallic-red sheen + emboss on remaining headings (ported from Bhuj page)
   Mirrors `.destination-detail-page h1, h2, h3` base treatment.
   ========================================================================== */
.index-page .card-content h3,
.index-page .craft-card h3,
.index-page .panel-header h3,
.index-page .diversity-card h4,
.index-page .season-info h4,
.index-page .tip-content h4 {
    background: var(--metal-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: var(--metal-red-emboss);
}

/* Dark-mode: blue→gold gradient, matching Bhuj page */
[data-theme="dark"] .index-page .card-content h3,
[data-theme="dark"] .index-page .craft-card h3,
[data-theme="dark"] .index-page .panel-header h3,
[data-theme="dark"] .index-page .diversity-card h4,
[data-theme="dark"] .index-page .season-info h4,
[data-theme="dark"] .index-page .tip-content h4 {
    background: linear-gradient(to right, #9db8e6 0%, #d7b15a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
}

/* Mobile: fixed backgrounds are janky on mobile browsers — use scroll */
@media (max-width: 768px) {
    .index-page {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
}
