/* ==========================================================================
   SWAR KALPVRUKSH EVENTS — Professional Landing Page
   Design: Cultural saffron warmth meets modern precision
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Marathi:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* Core Palette */
    --saffron:        #E8650A;
    --saffron-light:  #FF8C38;
    --saffron-glow:   rgba(232,101,10,0.18);
    --gold:           #F5C842;
    --maroon:         #7B1E24;
    --deep:           #12111A;
    --warm-white:     #FEFBF6;
    --off-white:      #F5F0E8;
    --text-body:      #2D2A22;
    --text-muted:     #7C7265;
    --border-subtle:  rgba(232,101,10,0.12);

    /* Functional */
    --green:          #16a34a;
    --blue:           #2563eb;

    /* Typography */
    --font-display:   'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
    --font-body:      'Inter', system-ui, sans-serif;

    /* Layout */
    --max-width:      1100px;
    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      24px;

    /* Shadows */
    --shadow-sm:      0 2px 8px rgba(18,17,26,0.06);
    --shadow-md:      0 8px 32px rgba(18,17,26,0.10);
    --shadow-lg:      0 20px 60px rgba(18,17,26,0.14);
    --shadow-saffron: 0 8px 28px rgba(232,101,10,0.25);

    /* Motion */
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --transition:     all 0.25s var(--ease);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--warm-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; transition: var(--transition); }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background-color: rgba(254,251,246,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    box-shadow: 0 2px 16px rgba(232,101,10,0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-img {
    height: 48px;
    width: auto;
}

/* Desktop nav */
.header-actions.desktop-only {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--deep);
    padding: 9px 18px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    transition: var(--transition);
}
.nav-phone:hover {
    border-color: var(--saffron);
    color: var(--saffron);
    box-shadow: var(--shadow-saffron);
}
.nav-phone i { color: var(--saffron); }

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--deep);
    font-size: 1.05rem;
    border: 1.5px solid var(--border-subtle);
    transition: var(--transition);
}
.social-icon-btn.insta-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    border-color: transparent;
    transform: scale(1.08);
}

/* Mobile header controls */
.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mobile-direct-call {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-subtle);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep);
    font-size: 1rem;
    flex-shrink: 0;
    min-width: 38px;
    transition: var(--transition);
}
.mobile-direct-call:hover { border-color: var(--saffron); color: var(--saffron); }
.insta-mobile-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    border-color: transparent;
}
.three-dot-menu-btn {
    width: 38px; height: 38px; min-width: 38px;
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--deep);
    font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    display: none !important;
}

/* Dropdown */
.mobile-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1010;
    transform-origin: top right;
    display: none !important;
}
.mobile-dropdown-menu.show { display: flex; animation: menuOpen 0.15s var(--ease); }
@keyframes menuOpen {
    from { opacity: 0; transform: scale(0.96) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.dropdown-item {
    padding: 12px 14px; font-size: 0.9rem; font-weight: 600;
    color: var(--text-body); border-radius: 8px;
    display: flex; align-items: center; gap: 10px;
}
.dropdown-item:hover { background: var(--off-white); color: var(--saffron); }
.dropdown-divider { height: 1px; background: var(--border-subtle); margin: 6px 0; }
.dropdown-footer-text { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; color: var(--text-muted); padding: 4px 0; }

/* ==========================================================================
   STAGE HERO BANNER
   ========================================================================== */
.stage-banner {
    background: linear-gradient(135deg, #12111A 0%, #4A1A08 50%, #7B1E24 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 24px 110px;
    text-align: center;
}
.stage-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 80%, rgba(232,101,10,0.30) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 20%, rgba(245,200,66,0.08) 0%, transparent 60%);
    pointer-events: none;
}
/* Decorative stage-light rays */
.stage-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 200px;
    background: radial-gradient(ellipse at bottom, rgba(232,101,10,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.stage-banner-text {
    position: relative;
    z-index: 2;
}
.stage-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(245,200,66,0.12);
    border: 1px solid rgba(245,200,66,0.3);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 18px;
}
.stage-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.4rem);
    font-weight: 700;
    color: #FEFBF6;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.stage-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    color: rgba(254,251,246,0.68);
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================================================
   ARTIST CARD — floats over stage banner
   ========================================================================== */
.artist-card-reveal {
    max-width: 720px;
    margin: -72px auto 48px;
    background: rgba(255,255,255,0.97);
    padding: 0 36px 36px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(232,101,10,0.10),
        var(--shadow-lg);
    text-align: center;
    position: relative;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.artist-avatar-wrap {
    display: inline-block;
    margin-top: -60px;
    margin-bottom: 18px;
    position: relative;
    z-index: 55;
}
.artist-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gold), var(--saffron), var(--maroon), var(--saffron), var(--gold));
    filter: blur(10px);
    opacity: 0.7;
    z-index: -1;
    animation: rotateGlow 6s linear infinite;
}
@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.artist-card-reveal img.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 32px rgba(18,17,26,0.18);
    display: block;
    transition: transform 0.4s var(--ease);
}
.artist-card-reveal img.avatar:hover { transform: scale(1.05); }

.artist-card-reveal h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 4px;
    line-height: 1.3;
}

.artist-card-reveal .tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 14px 0 18px;
}
.tag {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
    color: white;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 12px rgba(232,101,10,0.22);
    white-space: nowrap;
}

.artist-card-reveal p.bio {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.93rem;
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--font-display);
}

/* ==========================================================================
   GALLERY SLIDER
   ========================================================================== */
.gallery-slider {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--deep);
}
.slider-track {
    display: flex;
    transition: transform 0.55s var(--ease);
}
.slide { flex: 0 0 100%; }
.slide img {
    width: 100%;
    height: auto;
    max-height: none;  /* remove any max-height too */
    object-fit: unset; /* or just remove object-fit entirely */
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(254,251,246,0.92);
    color: var(--deep);
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    z-index: 5;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.slider-arrow:hover {
    background: white;
    color: var(--saffron);
    transform: translateY(-50%) scale(1.06);
}
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 5;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: var(--transition);
}
.slider-dot.active {
    background: var(--saffron);
    width: 22px;
    box-shadow: 0 2px 8px rgba(232,101,10,0.4);
}

/* ==========================================================================
   DISTRICT EVENTS SECTION
   ========================================================================== */
.district-events-section {
    max-width: var(--max-width);
    margin: 0 auto 64px;
    padding: 0 24px;
}

.district-heading {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.district-heading::before,
.district-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    max-width: 120px;
}

.districts-block {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 28px;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.districts-grid {
    display: grid;  
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.district {
    min-width: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--warm-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    gap: 10px;
    transition: var(--transition);
}
.district:hover {
    border-color: var(--saffron);
    background: white;
    box-shadow: var(--shadow-saffron);
    transform: translateY(-2px);
}

.district .name {
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.district .count {
    background: linear-gradient(135deg, var(--saffron), var(--maroon));
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    min-width: 38px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(232,101,10,0.25);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 84px;
    right: 20px;
    background: var(--green);
    color: white;
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(22,163,74,0.40);
    z-index: 999;
    transition: var(--transition);
}
.floating-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(22,163,74,0.50); }

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    display: none;
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(18,17,26,0.15);
}

.sticky-cta-item {
    flex: 1;
    min-width: 0;
    padding: 11px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.sticky-cta-item:active { opacity: 0.85; }
.sticky-cta-item i { font-size: 1.15rem; }

.sticky-cta-item.cta-call      { background: var(--deep); }
.sticky-cta-item.cta-whatsapp  { background: var(--green); }
.sticky-cta-item.cta-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sticky-cta-item.cta-youtube { background: #FF0000; }
.sticky-cta-item.cta-apply     { background: #1877F2; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    * { max-width: 100%; }

    body { padding-bottom: 64px; }

    /* Header */
    .header-actions.desktop-only { display: none; }
    .mobile-header-controls { display: flex; }
    .logo-img { height: 40px; }

    /* Stage banner */
    .stage-banner { padding: 52px 20px 90px; }

    /* Artist card */
    .artist-card-reveal {
        margin: -56px 16px 32px;
        padding: 0 20px 28px;
        border-radius: var(--radius-md);
    }
    .artist-avatar-wrap { margin-top: -52px; margin-bottom: 14px; }
    .artist-card-reveal img.avatar { width: 108px; height: 108px; }
    .artist-card-reveal h2 { font-size: 1.3rem; }
    .artist-card-reveal p.bio { font-size: 0.875rem; }
    .tag { font-size: 0.73rem; padding: 4px 11px; }

    /* Slider */
    .gallery-slider {
        border-radius: 0;
        margin-bottom: 36px;
    }
    .slide img { height: 230px; max-height: 260px; }
    .slider-arrow { width: 34px; height: 34px; font-size: 0.85rem; border-radius: 8px; }

    /* Districts */
    .district-events-section { padding: 0 16px; margin-bottom: 40px; }
    .districts-block { padding: 18px 14px; border-radius: var(--radius-md); }
    .districts-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .district { padding: 11px 12px; border-radius: 10px; }
    .district .name { font-size: 0.8rem; }
    .district .count { padding: 5px 10px; min-width: 32px; font-size: 0.8rem; }

    /* Sticky CTA */
    .sticky-mobile-cta { display: flex; flex-wrap: nowrap; }
    .floating-whatsapp { bottom: 78px; right: 16px; width: 48px; height: 48px; font-size: 1.6rem; }

    .mobile-dropdown-menu { max-width: calc(100vw - 32px); right: 0; }
}

@media (max-width: 400px) {
    .sticky-cta-item { font-size: 0.64rem; padding: 9px 2px; }
    .sticky-cta-item i { font-size: 1rem; }
}

@media (max-width: 360px) {
    .header-container { gap: 6px; }
    .logo-img { height: 34px; }
    .mobile-header-controls { gap: 5px; }
    .mobile-direct-call { width: 34px; height: 34px; min-width: 34px; font-size: 0.9rem; }
    .districts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .district .name { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }

@media (max-width: 400px) {
    .sticky-cta-item span {
        display: none;
    }
    .sticky-cta-item {
        padding: 14px 4px;
    }
    .sticky-cta-item i {
        font-size: 1.2rem;
    }
}    
}
