/**
 * Gujarati Cultural Society Saskatoon Theme Styles
 * Converted from Tailwind CSS to static CSS
 */

/* ============================================
   CRITICAL: WordPress Override Reset
   ============================================ */
/* Aggressively override WordPress default styles */
* {
    box-sizing: border-box !important;
}

/* Remove WordPress default margins and padding - but preserve utility classes */
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Only reset elements that don't have utility classes */
p:not([class*="mb-"]):not([class*="mt-"]):not([class*="py-"]):not([class*="px-"]),
ul:not([class*="mb-"]):not([class*="mt-"]):not([class*="py-"]):not([class*="px-"]),
ol:not([class*="mb-"]):not([class*="mt-"]):not([class*="py-"]):not([class*="px-"]),
li:not([class*="mb-"]):not([class*="mt-"]):not([class*="py-"]):not([class*="px-"]) {
    margin: 0;
    padding: 0;
}

/* Force correct font sizes globally - override WordPress */
body,
body *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.font-playfair) {
    font-size: inherit !important;
}

/* Override WordPress block editor styles if present */
.wp-block,
.wp-block *,
.site-header,
.site-footer,
.main-navigation,
.site-branding {
    font-size: inherit !important;
}

/* Disable WordPress default font scaling */
.site,
.site-content,
.content-area,
.site-main {
    font-size: inherit !important;
}

/* ============================================
   CSS Variables (Color System)
   ============================================ */
:root {
    --india-saffron: #FF9933;
    --india-green: #138808;
    --maroon: #7A1F2A;
    --peacock-blue: #1665A3;
    --gold: #D4A347;
    --soft-white: #FAF6EF;
    --charcoal: #2E2E2E;
    --white: #FFFFFF;
}

/* ============================================
   Google Fonts
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================
   Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box !important;
}

/* Reset only base elements, not utility-classed elements */
*:not([class]):not([class*="mb-"]):not([class*="mt-"]):not([class*="py-"]):not([class*="px-"]):not([class*="p-"]):not([class*="m-"]) {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px !important; /* Standard base for rem calculations (matches Tailwind) */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important; /* 15px (15/16 = 0.9375rem) - matches Next.js text-[15px] */
    color: var(--charcoal) !important;
    background-color: var(--soft-white) !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset WordPress default styles */
header, footer, nav, section, article, aside {
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* ============================================
   Header & Footer Size Fixes
   ============================================ */
/* Ensure header and footer don't inherit larger sizes - force correct sizing */
header {
    font-size: 0.9375rem !important; /* 15px */
    line-height: 1.6 !important;
}

footer {
    font-size: 0.9375rem !important; /* 15px */
    line-height: 1.6 !important;
}

/* Reset all header/footer elements - more aggressive */
header *,
footer * {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Header navigation links - match body size */
header nav a,
header nav button,
header a:not(.btn):not(.font-playfair),
header button:not(.btn) {
    font-size: 0.9375rem !important; /* 15px - same as body */
    line-height: 1.6 !important;
}

/* Header dropdown menu items */
header [data-dropdown-menu] a {
    font-size: 0.875rem !important; /* text-sm = 14px */
}

/* Header login button */
header a.btn,
header .btn,
header a[class*="px-4"][class*="py-2"] {
    font-size: 0.875rem !important; /* text-sm = 14px */
    padding: 0.5rem 1rem !important; /* px-4 py-2 */
}

@media (min-width: 768px) {
    header a.btn,
    header .btn,
    header a[class*="px-4"][class*="py-2"] {
        font-size: 1rem !important; /* md:text-base = 16px */
    }
}

/* Header logo text sizing - responsive */
header .font-playfair.text-base {
    font-size: 1rem !important; /* 16px */
}

@media (min-width: 768px) {
    header .font-playfair.md\:text-lg {
        font-size: 1.125rem !important; /* 18px */
    }
}

@media (min-width: 1024px) {
    header .font-playfair.lg\:text-xl {
        font-size: 1.25rem !important; /* 20px */
    }
}

/* Header login button - ensure correct size */
header .btn,
header a.btn {
    font-size: 0.875rem !important; /* text-sm = 14px */
    padding: 0.5rem 1rem !important; /* px-4 py-2 */
}

@media (min-width: 768px) {
    header .btn,
    header a.btn {
        font-size: 1rem !important; /* md:text-base = 16px */
    }
}

/* Footer headings - correct size */
footer h3,
footer h3.font-playfair {
    font-size: 1.125rem !important; /* text-lg = 18px */
    line-height: 1.2 !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    footer h3,
    footer h3.font-playfair {
        font-size: 1.25rem !important; /* md:text-xl = 20px */
    }
}

/* Footer text - all should be small - more specific */
footer p,
footer span:not(.font-playfair):not(h3),
footer a:not(h3):not(.font-playfair),
footer li,
footer li a,
footer div:not(h3):not([class*="w-"]):not([class*="h-"]) {
    font-size: 0.875rem !important; /* text-sm = 14px */
    line-height: 1.6 !important;
}

/* Footer social icons - correct size */
footer .w-10 {
    width: 2.5rem !important; /* 40px */
    height: 2.5rem !important;
}

footer .w-12 {
    width: 3rem !important; /* 48px */
    height: 3rem !important;
}

@media (min-width: 768px) {
    footer .md\:w-12 {
        width: 3rem !important; /* 48px */
        height: 3rem !important;
    }
}

/* Footer social icon SVGs - 18px base, 20px on md */
footer svg.w-\[18px\],
footer svg.h-\[18px\] {
    width: 18px !important;
    height: 18px !important;
}

@media (min-width: 768px) {
    footer svg.md\:w-5,
    footer svg.md\:h-5 {
        width: 1.25rem !important; /* 20px */
        height: 1.25rem !important;
    }
}

/* Footer social icons - ensure correct sizing */
footer a[aria-label] svg {
    width: 18px !important;
    height: 18px !important;
}

@media (min-width: 768px) {
    footer a[aria-label] svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Footer contact icons - ensure 16px */
footer .space-y-2 svg {
    width: 16px !important;
    height: 16px !important;
}

/* Header sizing utilities */
.min-w-\[44px\] {
    min-width: 44px !important;
}

.min-h-\[44px\] {
    min-height: 44px !important;
}

.touch-manipulation {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(122, 31, 42, 0.1);
}

/* Header logo sizes - enforce correct sizing */
header .w-10,
header .h-10 {
    width: 2.5rem !important; /* 40px */
    height: 2.5rem !important;
}

header .w-12,
header .h-12 {
    width: 3rem !important; /* 48px */
    height: 3rem !important;
}

header .w-16,
header .h-16 {
    width: 4rem !important; /* 64px */
    height: 4rem !important;
}

@media (min-width: 640px) {
    header .sm\:w-12,
    header .sm\:h-12 {
        width: 3rem !important; /* 48px */
        height: 3rem !important;
    }
}

@media (min-width: 768px) {
    header .md\:w-16,
    header .md\:h-16 {
        width: 4rem !important; /* 64px */
        height: 4rem !important;
    }
}

/* Header chevron icons - 16px */
header svg.w-4,
header svg.h-4 {
    width: 1rem !important; /* 16px */
    height: 1rem !important;
}

/* Mobile menu icons - 24px */
header svg.w-6,
header svg.h-6 {
    width: 1.5rem !important; /* 24px */
    height: 1.5rem !important;
}

/* Mobile menu button - ensure proper sizing */
header #mobile-menu-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0.75rem !important; /* p-3 */
}

/* Mobile menu items - ensure proper sizing */
header #mobile-menu a,
header #mobile-menu button.mobile-dropdown-toggle {
    min-height: 44px !important;
}

header #mobile-menu .mobile-dropdown-menu a {
    min-height: 44px !important;
}

/* Footer contact icons - 16px */
footer svg.w-4,
footer svg.h-4 {
    width: 1rem !important; /* 16px */
    height: 1rem !important;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 72rem; /* 1152px (72 * 16 = 1152px) - matches Tailwind max-w-6xl */
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ============================================
   Typography Utilities
   ============================================ */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-xs {
    font-size: 0.75rem !important; /* 12px at 16px base */
}

.text-sm {
    font-size: 0.875rem !important; /* 14px at 16px base */
}

.text-base {
    font-size: 1rem !important; /* 16px */
}

.text-lg {
    font-size: 1.125rem !important; /* 18px */
}

.text-xl {
    font-size: 1.25rem !important; /* 20px */
}

.text-2xl {
    font-size: 1.5rem !important; /* 24px */
}

.text-3xl {
    font-size: 1.875rem !important; /* 30px */
}

.text-4xl {
    font-size: 2.25rem !important; /* 36px */
}

.text-5xl {
    font-size: 3rem !important; /* 48px */
}

.text-6xl {
    font-size: 3.75rem !important; /* 60px */
}

.text-7xl {
    font-size: 4.5rem !important; /* 72px */
}

/* ============================================
   Color Utilities
   ============================================ */
.text-indiaSaffron {
    color: var(--india-saffron);
}

.text-indiaGreen {
    color: var(--india-green);
}

.text-maroon {
    color: var(--maroon);
}

.text-peacockBlue {
    color: var(--peacock-blue);
}

.text-gold {
    color: var(--gold);
}

.text-charcoal {
    color: var(--charcoal);
}

.text-white {
    color: var(--white);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-charcoal\/70 {
    color: rgba(46, 46, 46, 0.7);
}

.text-charcoal\/10 {
    color: rgba(46, 46, 46, 0.1);
}

.bg-indiaSaffron {
    background-color: var(--india-saffron);
}

.bg-indiaGreen {
    background-color: var(--india-green);
}

.bg-maroon {
    background-color: var(--maroon);
}

.bg-peacockBlue {
    background-color: var(--peacock-blue);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.bg-white {
    background-color: var(--white);
}

.bg-softWhite {
    background-color: var(--soft-white);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.border-indiaSaffron\/30 {
    border-color: rgba(255, 153, 51, 0.3);
}

.border-gold\/30 {
    border-color: rgba(212, 163, 71, 0.3);
}

.border-peacockBlue\/30 {
    border-color: rgba(22, 101, 163, 0.3);
}

.hover\:border-indiaSaffron:hover {
    border-color: var(--india-saffron);
}

.hover\:border-gold:hover {
    border-color: var(--gold);
}

.hover\:border-peacockBlue:hover {
    border-color: var(--peacock-blue);
}

/* Ring utilities */
.ring-2 {
    box-shadow: 0 0 0 2px currentColor;
}

.ring-gold\/20 {
    box-shadow: 0 0 0 2px rgba(212, 163, 71, 0.2);
}

.space-y-1\.5 > * + * {
    margin-top: 0.375rem;
}

.gap-1\.5 {
    gap: 0.375rem;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Spacing Utilities
   ============================================ */
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

/* ============================================
   Grid & Flexbox
   ============================================ */
.grid {
    display: grid;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.break-words {
    word-break: break-word;
    overflow-wrap: break-word;
}

.break-all {
    word-break: break-all;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

@media (min-width: 768px) {
    .md\:gap-4 {
        gap: 1rem;
    }
}

/* ============================================
   Responsive Grid Columns
   ============================================ */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }
    
    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    .lg\:text-7xl {
        font-size: 4.5rem;
    }
}

/* ============================================
   Border & Rounded
   ============================================ */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-r {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-b-4 {
    border-bottom-width: 4px;
}

.border-indiaSaffron {
    border-color: var(--india-saffron);
}

.border-maroon {
    border-color: var(--maroon);
}

.border-charcoal\/10 {
    border-color: rgba(46, 46, 46, 0.1);
}

.hover\:bg-opacity-90:hover {
    opacity: 0.9;
}

.border-white {
    border-color: var(--white);
}

/* ============================================
   Shadow Utilities
   ============================================ */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Position & Display
   ============================================ */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.top-full {
    top: 100%;
}

.top-1\/2 {
    top: 50%;
}

.top-20 {
    top: 5rem;
}

.top-40 {
    top: 10rem;
}

.-top-32 {
    top: -8rem;
}

.bottom-0 {
    bottom: 0;
}

.bottom-20 {
    bottom: 5rem;
}

.bottom-32 {
    bottom: 8rem;
}

.-bottom-40 {
    bottom: -10rem;
}

.left-0 {
    left: 0;
}

.left-1\/3 {
    left: 33.333333%;
}

.left-1\/4 {
    left: 25%;
}

.-left-32 {
    left: -8rem;
}

.right-0 {
    right: 0;
}

.right-1\/3 {
    right: 33.333333%;
}

.right-1\/4 {
    right: 25%;
}

.-right-40 {
    right: -10rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem; /* 20px */
}

.w-\[18px\] {
    width: 18px;
}

.h-\[18px\] {
    height: 18px;
}

.w-10 {
    width: 2.5rem; /* 40px */
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-2 {
    height: 0.5rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

@media (min-width: 640px) {
    .sm\:w-12 {
        width: 3rem;
    }
    
    .sm\:h-12 {
        height: 3rem;
    }
    
    .sm\:block {
        display: block;
    }
}

@media (min-width: 768px) {
    .md\:w-16 {
        width: 4rem;
    }
    
    .md\:h-16 {
        height: 4rem;
    }
    
    .md\:w-24 {
        width: 6rem;
    }
    
    .md\:py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .md\:mb-4 {
        margin-bottom: 1rem;
    }
    
    .md\:mb-3 {
        margin-bottom: 0.75rem;
    }
    
    .md\:mt-8 {
        margin-top: 2rem;
    }
    
    .md\:pt-8 {
        padding-top: 2rem;
    }
    
    .md\:gap-8 {
        gap: 2rem;
    }
    
    .md\:text-lg {
        font-size: 1.125rem !important; /* 18px */
    }
    
    .md\:text-xl {
        font-size: 1.25rem !important; /* 20px */
    }
    
    .md\:text-sm {
        font-size: 0.875rem !important; /* 14px */
    }
}

@media (min-width: 1024px) {
    .lg\:text-xl {
        font-size: 1.25rem !important;
    }
}

.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
}

/* ============================================
   Width & Height
   ============================================ */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.h-32 {
    height: 8rem; /* 128px */
}

.h-40 {
    height: 10rem; /* 160px */
}

.h-48 {
    height: 12rem; /* 192px */
}

.h-64 {
    height: 16rem; /* 256px */
}

.h-80 {
    height: 20rem; /* 320px */
}

/* Gallery image container heights - responsive */
.relative.h-32 {
    height: 8rem !important;
}

.relative.sm\:h-40 {
    height: 10rem !important;
}

@media (min-width: 640px) {
    .relative.sm\:h-40 {
        height: 10rem !important;
    }
}

.relative.md\:h-48 {
    height: 12rem !important;
}

@media (min-width: 768px) {
    .relative.md\:h-48 {
        height: 12rem !important;
    }
}

.relative.lg\:h-64 {
    height: 16rem !important;
}

@media (min-width: 1024px) {
    .relative.lg\:h-64 {
        height: 16rem !important;
    }
}

/* Ensure gallery images fill their containers */
.relative img[class*="object-cover"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-0\.5 {
    height: 0.125rem;
}

.w-0 {
    width: 0;
}

.group:hover .group-hover\:w-full {
    width: 100%;
}

/* Transform utilities */
.translate-x-2 {
    transform: translateX(0.5rem);
}

.hover\:translate-x-2:hover {
    transform: translateX(0.5rem);
}

.hover\:pl-2:hover {
    padding-left: 0.5rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

/* ============================================
   Text Alignment
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #FF9933 0%, #7A1F2A 50%, #138808 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.gradient-text-saffron {
    background: linear-gradient(135deg, #FF9933, #D4A347, #FF9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.gradient-text-maroon {
    background: linear-gradient(135deg, #7A1F2A, #FF9933, #7A1F2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* ============================================
   Gradient Backgrounds
   ============================================ */
.animated-gradient {
    background: linear-gradient(-45deg, #FF9933, #7A1F2A, #138808, #D4A347);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-indiaSaffron {
    --tw-gradient-from: var(--india-saffron);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 153, 51, 0));
}

.to-maroon {
    --tw-gradient-to: var(--maroon);
}

.via-white {
    --tw-gradient-stops: var(--tw-gradient-from), var(--white), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.via-indiaGreen {
    --tw-gradient-stops: var(--tw-gradient-from), var(--india-green), var(--tw-gradient-to, rgba(19, 136, 8, 0));
}

/* Footer accent bar gradient */
.bg-gradient-to-r.from-indiaSaffron.via-white.via-indiaGreen.to-maroon {
    background: linear-gradient(to right, var(--india-saffron), var(--white), var(--india-green), var(--maroon));
}

.to-orange-500 {
    --tw-gradient-to: #f97316;
}

.from-maroon {
    --tw-gradient-from: var(--maroon);
}

.to-red-800 {
    --tw-gradient-to: #991b1b;
}

/* ============================================
   Glassmorphism
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.glass-card-strong {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ============================================
   Section Dividers
   ============================================ */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF9933, #7A1F2A, transparent);
    margin: 4rem 0;
}

.section-divider::before {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #FAF6EF;
    padding: 0 1rem;
    color: #FF9933;
    font-size: 1.5rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ============================================
   Decorative Elements
   ============================================ */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.2), rgba(122, 31, 42, 0.2));
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.decorative-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF9933;
    opacity: 0.6;
    animation: float-delayed 4s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.3s ease-out;
}

.animate-slide-down {
    animation: slide-down 0.3s ease-out;
}

.animate-icon {
    display: inline-block;
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* ============================================
   Hover Effects
   ============================================ */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.hover-lift-enhanced {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hover-glow-enhanced {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-glow-enhanced:hover {
    box-shadow: 0 0 30px rgba(255, 153, 51, 0.5);
    transform: scale(1.05);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* ============================================
   Text Shadow
   ============================================ */
.text-shadow-hero {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-shadow-soft {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Opacity Utilities
   ============================================ */
.opacity-0 {
    opacity: 0;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-95 {
    opacity: 0.95;
}

/* ============================================
   Overflow
   ============================================ */
.overflow-hidden {
    overflow: hidden;
}

/* ============================================
   Pointer Events
   ============================================ */
.pointer-events-none {
    pointer-events: none;
}

/* ============================================
   Object Fit
   ============================================ */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Back to top button icon */
.back-to-top svg {
    width: 1.5rem !important; /* 24px */
    height: 1.5rem !important; /* 24px */
}

/* Ensure all images respect their container sizes */
img.object-contain,
img.object-cover {
    max-width: 100%;
    height: auto;
}

/* Logo images - ensure they don't exceed container */
header .relative img,
header img.object-contain {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Ensure relative wrapper for logo maintains size */
header .relative.w-10,
header .relative.h-10 {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

header .relative.sm\:w-12,
header .relative.sm\:h-12 {
    width: 3rem !important;
    height: 3rem !important;
}

@media (min-width: 640px) {
    header .relative.sm\:w-12,
    header .relative.sm\:h-12 {
        width: 3rem !important;
        height: 3rem !important;
    }
}

header .relative.md\:w-16,
header .relative.md\:h-16 {
    width: 4rem !important;
    height: 4rem !important;
}

@media (min-width: 768px) {
    header .relative.md\:w-16,
    header .relative.md\:h-16 {
        width: 4rem !important;
        height: 4rem !important;
    }
}

/* ============================================
   Line Clamp
   ============================================ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Focus Styles
   ============================================ */
*:focus-visible {
    outline: 2px solid var(--india-saffron);
    outline-offset: 2px;
}

/* ============================================
   Skip to Content Link
   ============================================ */
.skip-to-content {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 50;
    background: var(--india-saffron);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 1rem;
    outline: 2px solid var(--white);
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem; /* px-4 py-2 - default size */
    border-radius: 9999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem !important; /* text-sm = 14px */
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .btn {
        font-size: 1rem !important; /* md:text-base = 16px */
    }
}

/* Button size overrides when classes are added */
.btn.px-6,
.btn.px-8,
.btn.px-12 {
    padding-left: var(--padding-x, 1rem);
    padding-right: var(--padding-x, 1rem);
}

.btn.py-3,
.btn.py-4 {
    padding-top: var(--padding-y, 0.5rem);
    padding-bottom: var(--padding-y, 0.5rem);
}

.btn-primary {
    background: linear-gradient(to right, var(--india-saffron), #f97316);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #f97316, var(--india-saffron));
    box-shadow: 0 0 30px rgba(255, 153, 51, 0.5);
    transform: scale(1.05);
}

.btn-secondary {
    background: linear-gradient(to right, var(--maroon), #991b1b);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(to right, #991b1b, var(--maroon));
    box-shadow: 0 0 30px rgba(122, 31, 42, 0.5);
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--maroon);
    color: var(--maroon);
    background: transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: linear-gradient(to right, var(--maroon), var(--india-saffron));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Card Styles
   ============================================ */
.card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Badge Styles
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-default {
    background: var(--charcoal);
    color: var(--white);
}

.badge-festival {
    background: var(--india-saffron);
    color: var(--white);
}

.badge-youth {
    background: var(--peacock-blue);
    color: var(--white);
}

.badge-community {
    background: var(--india-green);
    color: var(--white);
}

/* ============================================
   Form Styles
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(46, 46, 46, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 2px rgba(122, 31, 42, 0.2);
}

/* ============================================
   Utility Classes
   ============================================ */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem; /* 1152px */
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-1 {
    flex: 1 1 0%;
}

.leading-relaxed {
    line-height: 1.625;
}

/* ============================================
   Sponsor Carousel Animation
   ============================================ */
.sponsor-carousel-container {
    position: relative;
    overflow: hidden;
}

.sponsor-carousel-wrapper {
    display: flex;
    gap: 1rem;
    animation: sponsor-scroll linear infinite;
    animation-play-state: running;
}

.sponsor-carousel-wrapper:hover {
    animation-play-state: paused;
}

.sponsor-carousel-item {
    flex-shrink: 0;
    width: 480px;
    height: 480px;
}

@keyframes sponsor-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--sponsor-scroll-width, 0px)));
    }
}

/* ============================================
   Desktop Dropdown Hover Support
   ============================================ */
@media (min-width: 768px) {
    /* Show dropdown on hover for desktop - override hidden class */
    .relative.group:hover [data-dropdown-menu].hidden,
    .relative[data-dropdown]:hover [data-dropdown-menu].hidden {
        display: block !important;
    }
    
    .relative.group:hover [data-dropdown-toggle] svg,
    .relative[data-dropdown]:hover [data-dropdown-toggle] svg {
        transform: rotate(180deg) !important;
    }
    
    /* Keep dropdown visible when hovering over the menu itself */
    [data-dropdown-menu]:hover.hidden {
        display: block !important;
    }
    
    /* Ensure dropdown menus are visible when not hidden */
    [data-dropdown-menu]:not(.hidden) {
        display: block !important;
    }
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 767px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sponsor-carousel-item {
        width: 300px;
        height: 300px;
    }
}

@media (min-width: 768px) {
    .sponsor-carousel-item {
        width: 480px;
        height: 480px;
    }
}

/* ============================================
   Additional Utility Classes
   ============================================ */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:text-3xl {
        font-size: 1.875rem;
    }
    
    .sm\:text-4xl {
        font-size: 2.25rem;
    }
    
    .sm\:h-40 {
        height: 10rem;
    }
    
    .sm\:h-48 {
        height: 12rem;
    }
}

@media (min-width: 1024px) {
    .lg\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .lg\:text-lg {
        font-size: 1.125rem;
    }
    
    .lg\:text-xl {
        font-size: 1.25rem;
    }
    
    .lg\:text-2xl {
        font-size: 1.5rem;
    }
    
    .lg\:text-3xl {
        font-size: 1.875rem;
    }
    
    .lg\:gap-8 {
        gap: 2rem;
    }
    
    .lg\:p-12 {
        padding: 3rem;
    }
    
    .lg\:h-64 {
        height: 16rem;
    }
}

@media (min-width: 1280px) {
    .xl\:text-7xl {
        font-size: 4.5rem;
    }
    
    .xl\:text-xl {
        font-size: 1.25rem;
    }
}

/* Additional spacing utilities */
.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Additional width/height utilities */
.w-0 {
    width: 0;
}

.h-0\.5 {
    height: 0.125rem;
}

/* Additional text utilities */
.text-charcoal\/60 {
    color: rgba(46, 46, 46, 0.6);
}

.text-charcoal\/80 {
    color: rgba(46, 46, 46, 0.8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/95 {
    color: rgba(255, 255, 255, 0.95);
}

/* Additional background utilities */
.bg-charcoal\/90 {
    background-color: rgba(46, 46, 46, 0.9);
}

.bg-charcoal\/50 {
    background-color: rgba(46, 46, 46, 0.5);
}

.bg-black\/20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.from-black\/20 {
    --tw-gradient-from: rgba(0, 0, 0, 0.2);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.from-charcoal\/90 {
    --tw-gradient-from: rgba(46, 46, 46, 0.9);
}

.via-charcoal\/50 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(46, 46, 46, 0.5), var(--tw-gradient-to, rgba(46, 46, 46, 0));
}

/* Additional border utilities */
.border-charcoal\/20 {
    border-color: rgba(46, 46, 46, 0.2);
}

/* Additional opacity utilities */
.opacity-0 {
    opacity: 0;
}

.group-hover\:opacity-100:hover .group {
    opacity: 1;
}

/* Transform utilities */
.scale-110 {
    transform: scale(1.1);
}

.group-hover\:scale-110:hover .group {
    transform: scale(1.1);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-125:hover {
    transform: scale(1.25);
}

/* Additional flex utilities */
.flex-grow {
    flex-grow: 1;
}

.mt-auto {
    margin-top: auto;
}

/* Additional position utilities */
.fixed {
    position: fixed;
}

.bottom-8 {
    bottom: 2rem;
}

.right-8 {
    right: 2rem;
}

/* Additional responsive text sizes */
@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    
    .md\:text-base {
        font-size: 1rem;
    }
    
    .md\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .md\:py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .md\:mb-6 {
        margin-bottom: 1.5rem;
    }
    
    .md\:mb-8 {
        margin-bottom: 2rem;
    }
    
    .md\:mb-12 {
        margin-bottom: 3rem;
    }
    
    .md\:h-48 {
        height: 12rem;
    }
    
    .md\:h-64 {
        height: 16rem;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
    
    .md\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .md\:py-3 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Additional responsive utilities */
@media (min-width: 1024px) {
    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }
}

