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

:root {
    /* Bangladeshi-inspired color palette */
    --background: hsl(45, 25%, 97%);
    --foreground: hsl(20, 20%, 15%);
    --card: hsl(45, 35%, 95%);
    --card-foreground: hsl(20, 20%, 15%);
    
    /* Deep forest green inspired by Bangladesh's lush nature */
    --primary: hsl(150, 45%, 25%);
    --primary-foreground: hsl(45, 35%, 95%);
    
    /* Warm golden yellow representing Bengali culture and marigolds */
    --secondary: hsl(45, 85%, 60%);
    --secondary-foreground: hsl(20, 20%, 15%);
    
    --muted: hsl(45, 20%, 90%);
    --muted-foreground: hsl(20, 15%, 45%);
    
    /* Rich terracotta representing traditional pottery and architecture */
    --accent: hsl(15, 65%, 55%);
    --accent-foreground: hsl(45, 35%, 95%);
    
    --border: hsl(45, 20%, 85%);
    --input: hsl(45, 20%, 90%);
    
    /* Bengali cultural gradients */
    --gradient-cultural: linear-gradient(135deg, hsl(150, 45%, 25%), hsl(15, 65%, 55%));
    --gradient-golden: linear-gradient(135deg, hsl(45, 85%, 60%), hsl(40, 75%, 50%));
    --gradient-sunset: linear-gradient(135deg, hsl(15, 65%, 55%), hsl(25, 70%, 60%));
    
    /* Traditional patterns and textures */
    --shadow-cultural: 0 10px 30px -10px hsla(150, 45%, 25%, 0.3);
    --shadow-warm: 0 8px 25px -8px hsla(15, 65%, 55%, 0.4);
    
    /* Animation easing inspired by traditional music rhythms */
    --transition-cultural: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-gentle: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: hsla(45, 25%, 97%, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(45, 20%, 85%, 0.4);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

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

.logo-english {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-gentle);
}

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

.cta-desktop {
    display: none;
}

.mobile-menu-btn {
    display: block;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition-gentle);
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

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

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    background-color: hsla(45, 25%, 97%, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid hsla(45, 20%, 85%, 0.4);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-gentle);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-cta {
    padding: 0.75rem 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-cultural);
    min-width: fit-content;
}

.btn-cultural {
    background: var(--gradient-cultural);
    color: var(--primary-foreground);
    border: 1px solid transparent;
}

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

.btn-golden {
    background: var(--gradient-golden);
    color: var(--secondary-foreground);
    border: 1px solid transparent;
}

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

.btn-hero {
    background: hsla(0, 0%, 100%, 0.1);
    color: white;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    backdrop-filter: blur(8px);
}

.btn-hero:hover {
    background: hsla(0, 0%, 100%, 0.2);
    transform: translateY(-2px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: hsla(0, 0%, 0%, 0.4);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsla(150, 45%, 25%, 0.2), hsla(15, 65%, 55%, 0.2));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, hsla(45, 20%, 45%, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

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

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

.hero-title-bengali {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-golden);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-english {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-description-bengali {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.next-event {
    padding: 1.5rem;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    max-width: 24rem;
    margin: 0 auto;
}

.next-event-label {
    color: hsla(0, 0%, 100%, 0.9);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.next-event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.next-event-details {
    color: hsla(0, 0%, 100%, 0.8);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    background: hsla(45, 85%, 60%, 0.2);
    border: 1px solid hsla(45, 85%, 60%, 0.3);
}

.floating-2 {
    top: 5rem;
    right: 2.5rem;
    width: 4rem;
    height: 4rem;
    background: hsla(15, 65%, 55%, 0.2);
    border: 1px solid hsla(15, 65%, 55%, 0.3);
    animation-delay: 1s;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-cultural);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

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

/* About Section */
.about {
    background-color: var(--card);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-cultural);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--muted-foreground);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 24rem;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-cultural);
}

/* Events Section */
.events-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px hsla(0, 0%, 0%, 0.1);
    transition: var(--transition-cultural);
    position: relative;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-cultural);
}

.event-card.featured {
    border: 2px solid var(--primary);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-cultural);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

.event-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.event-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.event-venue {
    color: var(--muted-foreground);
}

/* Contact Section */
.contact {
    background-color: var(--card);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-gentle);
}

.social-link:hover {
    color: var(--accent);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px hsla(0, 0%, 0%, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--input);
    color: var(--foreground);
    transition: var(--transition-gentle);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(150, 45%, 25%, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 5rem;
}

/* Footer */
.footer {
    background: var(--gradient-cultural);
    color: var(--primary-foreground);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: hsla(0, 0%, 100%, 0.8);
    text-decoration: none;
    transition: var(--transition-gentle);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: hsla(0, 0%, 100%, 0.9);
}

.footer-copyright {
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title-bengali {
        font-size: 5rem;
    }
    
    .hero-title-english {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .hero-description-bengali {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .cta-desktop {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title-bengali {
        font-size: 6rem;
    }
    
    .hero-title-english {
        font-size: 4rem;
    }
}