/* ============================================
   Abahoni Club - Durgotsov 2026
   Stylesheet - Mobile-first responsive design
   ============================================ */

/* CSS Variables for Theme Support */
:root {
    /* Light Theme Colors - Indian Inspired Theme */
    /* ORIGINAL THEME (to revert, uncomment below and comment Indian theme):
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
    --accent-hover: #7c3aed;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    */
    
    /* Indian Theme Colors - Saffron, Green, Warm Tones */
    --bg-primary: #fffaf5;
    --bg-secondary: #fff8f0;
    --text-primary: #1a1a1a;
    --text-secondary: #5c3a1f;
    --text-muted: #8b6f47;
    --accent-primary: #FF9933; /* Saffron */
    --accent-secondary: #138808; /* Indian Green */
    --accent-hover: #FF8C00; /* Darker Saffron */
    --border-color: #ffd4a3;
    --shadow-sm: 0 2px 4px rgba(255, 153, 51, 0.1);
    --shadow-md: 0 4px 6px rgba(255, 153, 51, 0.15);
    --shadow-lg: 0 10px 25px rgba(255, 153, 51, 0.2);
    --gradient-primary: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 153, 51, 0.15) 0%, rgba(19, 136, 8, 0.1) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 4rem 0;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Dark Theme - Indian Inspired */
/* ORIGINAL DARK THEME (to revert, uncomment below and comment Indian dark theme):
.dark-theme {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #374151;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}
*/
.dark-theme {
    --bg-primary: #1a1410;
    --bg-secondary: #2d2418;
    --text-primary: #fff8f0;
    --text-secondary: #ffd4a3;
    --text-muted: #c4a57c;
    --border-color: #5c3a1f;
    --shadow-sm: 0 2px 4px rgba(255, 153, 51, 0.2);
    --shadow-md: 0 4px 6px rgba(255, 153, 51, 0.3);
    --shadow-lg: 0 10px 25px rgba(255, 153, 51, 0.4);
    --gradient-primary: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 153, 51, 0.2) 0%, rgba(19, 136, 8, 0.15) 100%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    transition: var(--transition-base);
}

.logo:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    margin-left: auto;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: rotate(20deg);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: var(--transition-base);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.5;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Event Badge */
.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.event-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.event-badge i {
    font-size: 1rem;
}

/* Hero Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Call-to-Action Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn i {
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator i {
    font-size: 1.5rem;
}

/* Section Placeholders */
.section-placeholder {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.section-placeholder h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-placeholder p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #0099dd 0%, #0088cc 100%);
}

.telegram-link:focus {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

.telegram-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-address {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Responsive Design - Tablet and Up */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-cta {
        flex-wrap: nowrap;
    }
    
    .btn {
        padding: 1.125rem 2.5rem;
        font-size: 1.125rem;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.375rem;
    }
    
    .navbar {
        padding: 1.25rem 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.125rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .theme-toggle {
        margin-left: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Keyboard Navigation */
a:focus,
button:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .theme-toggle,
    .scroll-indicator,
    .hero-cta {
        display: none;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
}
