/* ===================================
   IAQU Website - Iranian Association of Queen's University
   Clean, modern design with Iranian flag-inspired colors
   =================================== */

/* CSS Variables */
:root {
    /* Primary - Deep Persian Blue */
    --color-primary: #1e3a5f;
    --color-primary-light: #2d5a8a;
    --color-primary-dark: #0f1f33;
    
    /* Accent - Iranian Red */
    --color-accent: #c8102e;
    --color-accent-light: #e63950;
    --color-accent-dark: #9a0c23;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-snow: #f8f9fa;
    --color-charcoal: #1a1a1a;
    --color-gray-dark: #2d2d2d;
    --color-gray: #5a5a5a;
    --color-gray-light: #9a9a9a;
    --color-gray-lighter: #e5e5e5;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-primary-dark);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-charcoal);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

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

.btn-white:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-full {
    width: 100%;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

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

.navbar:not(.scrolled) .logo-text {
    background: linear-gradient(135deg, white 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition-base);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: white;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(200, 16, 46, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
}

.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.03'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: var(--space-4xl) var(--space-xl);
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease-out 0.1s backwards;
}

.hero-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-title {
    margin-bottom: var(--space-xl);
    color: white;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1s ease-out 1s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), var(--color-primary));
    margin: var(--space-lg) auto 0;
    border-radius: 2px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-lead {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
}

.about-content p {
    color: var(--color-gray);
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-gray-lighter);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    color: white;
    overflow: hidden;
}

.card-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3Ccircle cx='50' cy='50' r='30' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3Ccircle cx='50' cy='50' r='20' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.08'/%3E%3C/svg%3E");
}

.card-content {
    position: relative;
}

.card-content h3 {
    color: var(--color-accent-light);
    margin-bottom: var(--space-lg);
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.8;
}

/* ===================================
   GALLERY / PAST EVENTS
   =================================== */
.gallery {
    background: var(--color-snow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-gray-lighter);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.3;
}

.gallery-overlay span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

/* Year Sections */
.year-section {
    margin-bottom: var(--space-3xl);
}

.year-section:last-child {
    margin-bottom: 0;
}

.year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-gray-lighter);
}

.year-label {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.year-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray);
    background: var(--color-gray-lighter);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

/* ===================================
   JOIN US SECTION
   =================================== */
.join {
    background: var(--color-white);
    overflow: hidden;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.join-text {
    padding-right: var(--space-2xl);
}

.join-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
    color: var(--color-charcoal);
}

.join-text > p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: var(--space-2xl);
}

.join-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.feature {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

.join-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Social Preview Stack */
.join-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.social-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.preview-stack {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 0 auto;
}

.stack-img {
    position: absolute;
    width: 240px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-slow);
}

.stack-img.stack-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 3;
}

.stack-img.stack-2 {
    top: 40px;
    left: 40px;
    transform: rotate(3deg);
    z-index: 2;
}

.stack-img.stack-3 {
    top: 80px;
    left: 20px;
    transform: rotate(-3deg);
    z-index: 1;
}

.preview-stack:hover .stack-img.stack-1 {
    transform: rotate(-12deg) translateY(-10px);
}

.preview-stack:hover .stack-img.stack-2 {
    transform: rotate(6deg) translateX(20px);
}

.preview-stack:hover .stack-img.stack-3 {
    transform: rotate(-6deg) translateY(10px);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-snow);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-lead {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-method {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.method-details h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.method-details a,
.method-details span {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.method-details a:hover {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--color-gray-lighter);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-charcoal);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, white 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: var(--space-4xl);
}

.footer-col h4 {
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-persian {
    font-size: 1rem;
    direction: rtl;
}

/* ===================================
   ANIMATIONS & SCROLL EFFECTS
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .join-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .join-text {
        padding-right: 0;
        order: 1;
    }
    
    .join-visual {
        order: 2;
        min-height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: var(--space-3xl) 0;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: white;
        padding: 100px var(--space-xl) var(--space-2xl);
        gap: var(--space-lg);
        transition: right var(--transition-base);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--color-gray-dark) !important;
    }
    
    .nav-menu .nav-link:hover {
        color: var(--color-primary) !important;
    }
    
    .nav-toggle.active span {
        background: var(--color-charcoal) !important;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero-logo img {
        width: 100px;
        height: 100px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* About */
    .about-stats {
        justify-content: center;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
        padding: var(--space-sm);
    }
    
    .gallery-overlay h4 {
        font-size: 0.7rem;
    }
    
    .gallery-overlay span {
        font-size: 0.6rem;
    }
    
    /* Year Sections */
    .year-section {
        margin-bottom: var(--space-2xl);
    }
    
    .year-header {
        margin-bottom: var(--space-md);
        padding-bottom: var(--space-sm);
    }
    
    .year-label {
        font-size: 1.25rem;
    }
    
    .year-count {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    /* Join */
    .join-cta {
        flex-direction: column;
    }
    
    .join-visual {
        min-height: 350px;
    }
    
    .preview-stack {
        transform: scale(0.85);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--space-2xl);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.6rem;
    }
    
    .gallery-overlay span {
        display: none;
    }
    
    /* Year Sections */
    .year-section {
        margin-bottom: var(--space-xl);
    }
    
    .year-label {
        font-size: 1.1rem;
    }
    
    .year-count {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .preview-stack {
        transform: scale(0.7);
    }
    
    .join-visual {
        min-height: 300px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .btn,
    .contact-form-wrapper {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
