/**
 * ============================================
 * SAREE WALKATHON 2026 - GLOBAL STYLES (MODERN)
 * ============================================
 */

/* ==========================================
   CSS VARIABLES - RICH & ELEGANT PALETTE
   ========================================== */
:root {
    /* Primary Gradient Base: Deep Rose to Magenta */
    --color-primary-50: #fff1f2;
    --color-primary-100: #ffe4e6;
    --color-primary-200: #fecdd3;
    --color-primary-300: #fda4af;
    --color-primary-400: #fb7185;
    --color-primary-500: #f43f5e;
    --color-primary-600: #e11d48;
    /* Core Brand for Text */
    --color-primary-700: #be123c;
    --color-primary-800: #9f1239;
    --color-primary-900: #881337;

    /* Accents */
    --color-accent-gold: #fbbf24;
    --color-text-dark: #4a044e;
    /* Dark Purple for Elegance */

    /* Shadows & Glows */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-glow: 0 0 20px rgba(225, 29, 72, 0.3);
    --shadow-card: 0 10px 40px -10px rgba(225, 29, 72, 0.15);

    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
}

/* ==========================================
   BASE & TYPOGRAPHY
   ========================================== */
body {
    background: linear-gradient(135deg, #fff1f2 0%, #fffcfd 50%, #fdf2f8 100%);
    color: var(--color-text-dark);
    font-family: 'Noto Sans Devanagari', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* ==========================================
   CONTAINER - RESPONSIVE WRAPPER
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ==========================================
   GLASSMORPHISM UTILITIES
   ========================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary-300);
}

/* ==========================================
   MODERN GRADIENT TEXT
   ========================================== */
.gradient-text-modern {
    background: linear-gradient(45deg, var(--color-primary-700), var(--color-primary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   BUTTONS - SLEEK & MODERN
   ========================================== */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
    color: white;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-400));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-modern:hover::before {
    opacity: 1;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    color: var(--color-primary-700);
    border: 1px solid var(--color-primary-200);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: white;
    border-color: var(--color-primary-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
}

/* ==========================================
   TABS - FLOATING PILLS
   ========================================== */
.modern-tab-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: fit-content;
    margin: 0 auto;
}

.modern-tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--color-primary-600);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.modern-tab-btn.active {
    color: white;
    background: var(--color-primary-600);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* ==========================================
   PHONE FRAME VIDEO CONTAINER
   ========================================== */
.phone-frame {
    position: relative;
    border-radius: 40px;
    border: 8px solid #2a2a2a;
    background: black;
    overflow: hidden;
    aspect-ratio: 9/16;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 320px;
    margin: 0 auto;
}

.phone-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   CAROUSEL MODERN
   ========================================== */
.scroll-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 2rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.scroll-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

.scroll-carousel>* {
    scroll-snap-align: center;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* ==========================================
   UTILITY
   ========================================== */
.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
}

/* Modal and other functional styles retained */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-600);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}