/* ===================================
   Wolf Creek Senior Citizen Friendship Club
   Premium CSS Design System
   =================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Primary Colors - Warm, Welcoming */
    --primary-green: #2D5A27;
    --primary-green-light: #3D7A37;
    --primary-green-dark: #1D3A17;
    
    /* Accent Colors - Golden Wheat */
    --accent-gold: #C9922B;
    --accent-gold-light: #E5B54A;
    --accent-gold-dark: #A67A1F;
    
    /* Warm Browns */
    --brown-primary: #8B5E3C;
    --brown-light: #A6785A;
    --brown-dark: #6B4A2E;
    
    /* Neutral Colors */
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    
    /* 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;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

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

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

a:hover {
    color: var(--primary-green-light);
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-green); }
.text-accent { color: var(--accent-gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-600); }

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

.section-padding {
    padding: var(--space-4xl) 0;
}

/* 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-primary);
    font-size: var(--fs-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

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

/* ===================================
   Header Styles
   =================================== */
.top-bar {
    background: var(--primary-green-dark);
    color: var(--white);
    padding: var(--space-sm) 0;
    font-size: var(--fs-sm);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar-contact a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.top-bar-contact a:hover {
    color: var(--accent-gold-light);
}

.top-bar-registry {
    color: var(--gray-300);
    font-size: var(--fs-xs);
}

.header-main {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .org-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-text .org-tagline {
    font-size: var(--fs-xs);
    color: var(--gray-600);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-menu a {
    padding: var(--space-sm) var(--space-md);
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
    background: var(--cream);
}

.nav-cta {
    margin-left: var(--space-md);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--white);
    font-size: var(--fs-5xl);
    margin-bottom: var(--space-lg);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent 0%, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--gray-600);
    font-size: var(--fs-lg);
}

.section-label {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: var(--white);
    font-size: var(--fs-2xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.card h3 {
    margin-bottom: var(--space-md);
    font-size: var(--fs-xl);
}

.card p {
    color: var(--gray-600);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

/* Mission Section */
.mission-section {
    background: var(--white);
}

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

.mission-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mission-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.mission-text h2 {
    margin-bottom: var(--space-lg);
}

.mission-text p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.mission-values {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.value-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--primary-green);
}

/* Programs Preview */
.programs-preview {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item h3 {
    font-size: var(--fs-5xl);
    color: var(--accent-gold-light);
    margin-bottom: var(--space-sm);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    background: var(--cream-dark);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: var(--gray-600);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xl);
}

/* Events Section */
.events-section {
    background: var(--white);
}

.event-card {
    display: flex;
    gap: var(--space-lg);
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.event-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.event-date .day {
    font-size: var(--fs-2xl);
    line-height: 1;
}

.event-date .month {
    font-size: var(--fs-xs);
    text-transform: uppercase;
}

.event-info h4 {
    margin-bottom: var(--space-xs);
    font-size: var(--fs-lg);
}

.event-info p {
    color: var(--gray-600);
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

/* ===================================
   Footer Styles
   =================================== */
.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #1a1a1a 100%);
    color: var(--gray-300);
    padding-top: var(--space-4xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--gray-700);
}

.footer-about .logo {
    margin-bottom: var(--space-lg);
}

.footer-about .logo img {
    height: 50px;
}

.footer-about .logo-text .org-name {
    color: var(--white);
}

.footer-about p {
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: 0;
}

.footer h4 {
    color: var(--white);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: var(--space-sm);
}

.footer-contact-info {
    font-size: var(--fs-sm);
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-contact-info a {
    color: var(--gray-400);
}

.footer-contact-info a:hover {
    color: var(--accent-gold-light);
}

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

.footer-bottom p {
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.footer-bottom .registry-id {
    background: var(--gray-800);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    color: var(--gray-400);
}

/* ===================================
   Page Headers
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    font-size: var(--fs-sm);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--accent-gold-light);
}

/* ===================================
   About Page
   =================================== */
.about-intro {
    background: var(--white);
}

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.values-section {
    background: var(--cream);
}

.value-card {
    text-align: center;
    padding: var(--space-2xl);
}

.value-card .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--white);
    font-size: var(--fs-3xl);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}

/* ===================================
   Programs Page
   =================================== */
.program-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.program-detail:nth-child(even) {
    direction: rtl;
}

.program-detail:nth-child(even) > * {
    direction: ltr;
}

.program-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.program-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.program-content h3 {
    color: var(--primary-green);
    margin-bottom: var(--space-md);
}

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

.program-list {
    list-style: none;
    margin-top: var(--space-lg);
}

.program-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.program-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
}

/* ===================================
   Events Page
   =================================== */
.events-calendar {
    background: var(--white);
}

.event-type {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.event-type h3 {
    color: var(--primary-green);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.event-type h3::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
    background: var(--white);
}

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

.contact-info-card {
    background: var(--primary-green);
    color: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-detail .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--fs-xl);
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--accent-gold-light);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xs);
}

.contact-detail p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.contact-detail a {
    color: var(--white);
}

.contact-form {
    background: var(--cream);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

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

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

/* ===================================
   Privacy Policy Page
   =================================== */
.privacy-content {
    background: var(--white);
}

.privacy-content article {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: var(--fs-2xl);
    color: var(--primary-green);
    margin: var(--space-2xl) 0 var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.privacy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

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

.privacy-content ul {
    color: var(--gray-600);
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.privacy-content li {
    margin-bottom: var(--space-sm);
}

/* ===================================
   Gallery
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-4xl: 2rem;
        --fs-3xl: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-4xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: var(--space-md);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-md);
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-4xl) 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .mission-content,
    .about-grid,
    .program-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .program-detail:nth-child(even) {
        direction: ltr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about .logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }
    
    .top-bar-registry {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: var(--fs-3xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar-contact {
        flex-direction: column;
        gap: var(--space-xs);
    }
}
