/* Modern CSS Variables with brown color scheme */
:root {
    --primary: #8B4513; /* Saddle Brown */
    --primary-dark: #654321; /* Dark Brown */
    --secondary: #A0522D; /* Sienna */
    --secondary-dark: #8B4513; /* Saddle Brown */
    --accent: #D2B48C; /* Tan */
    --accent-dark: #BC8F8F; /* Rosy Brown */
    --dark: #5D4037; /* Brown */
    --light: #F5F5DC; /* Beige */
    --gray: #A67C52; /* Light Brown */
    --success: #8B7355; /* Light Brown */
    --error: #8B4513; /* Saddle Brown */
    
    /* Theme colors */
    --text: #3E2723; /* Deep Brown for better readability */
    --text-light: #F5F5DC; /* Beige for dark backgrounds */
    --background: #F5F5DC; /* Beige */
    --surface: #FFF8E7; /* Light Beige */
    --border: rgba(139, 69, 19, 0.1); /* Saddle Brown with opacity */
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(139, 69, 19, 0.1);
    --shadow-md: 0 4px 6px rgba(139, 69, 19, 0.15);
    --shadow-lg: 0 10px 15px rgba(139, 69, 19, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #F5F5DC; /* Beige */
        --text-light: #3E2723; /* Deep Brown */
        --background: #5D4037; /* Brown */
        --surface: #654321; /* Dark Brown */
        --border: rgba(245, 245, 220, 0.1);
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for keyboard users */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.keyboard-navigation :focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-light);
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary);
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--secondary-dark);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text);
}

/* Container */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 72px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(93, 64, 55, 0.7), rgba(93, 64, 55, 0.7)),
        url('../images/music_background.png') center center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(93, 64, 55, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 7vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-content {
        padding: 2rem 1rem;
    }
    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0.5rem;
        background-position: center top;
    }
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .btn, .btn-outline {
        width: 100%;
        font-size: 1rem;
        padding: 0.9rem 0;
    }
    header {
        height: 56px;
        padding: 0.5rem 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-dark);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--text-light);
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--border);
    color: var(--text);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--primary);
}

/* Media Images */
.media-image,
.member-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.member-photo {
    height: 260px;
    object-fit: cover;
    background: var(--surface);
}

/* Stats */
.stats .grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-number {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--text);
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 245, 220, 0.2);
    color: var(--text-light);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card .quote-author {
    font-weight: 600;
    color: var(--accent);
}

/* Events */
.event-card {
    position: relative;
}

.event-date {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-outline {
        margin-left: 0;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-normal);
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 1000;
    transition: width var(--transition-fast);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    transition: all var(--transition-normal);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 1200;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dark-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

body.dark-mode {
    --text: #F5F5DC;
    --text-light: #3E2723;
    --background: #5D4037;
    --surface: #654321;
    --border: rgba(245, 245, 220, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(245, 245, 220, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.bg-dark {
    background: var(--primary);
    color: var(--text-light);
}
.section-padding {
    padding: 5rem 0;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .card {
        padding: 1.2rem;
    }
}

main {
    padding-top: 72px;
}

@media (max-width: 600px) {
    main {
        padding-top: 56px;
    }
}

/* Hamburger menu styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.2rem;
    }
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(93, 64, 55, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1050;
        font-size: 2rem;
    }
    nav ul.active {
        display: flex;
    }
    header {
        height: auto;
        min-height: 56px;
        padding: 0.5rem 0;
        position: fixed;
    }
}

@media (max-width: 600px) {
    .mobile-menu-toggle {
        top: 0.7rem;
        right: 1rem;
    }
    header {
        min-height: 48px;
    }
} 