/* ===================================
   WOODWIDE SCHOOL - SIMPLIFIED STYLES
   =================================== */

/* ===================================
   1. BASE STYLES & RESET
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: #2c3e2d;
    background: #ffb5a0;
}

/* Background Image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('footer.jpg') center/cover fixed;
    opacity: 0.8;
    z-index: -2;
}

/* Background Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 105, 0.3) 0%,
        rgba(255, 180, 150, 0.25) 50%,
        rgba(255, 220, 190, 0.2) 100%
    );
    z-index: -1;
}

/* ===================================
   2. TYPOGRAPHY
   =================================== */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #1a3d0f;
}

.hero-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a2e1b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #4a5d4b;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a7c59, #8fbc5c);
    border-radius: 2px;
}

/* ===================================
   3. LAYOUT COMPONENTS
   =================================== */

.container {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ===================================
   4. NAVIGATION
   =================================== */

.navbar {
    background: rgba(250, 240, 230, 0.9);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(255, 140, 105, 0.12);
    border-bottom: 1px solid rgba(255, 180, 150, 0.3);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    box-sizing: border-box;
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-logo h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #1a3d0f 0%, #4a7c59 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #1a3d0f;
    background: rgba(74, 124, 89, 0.1);
    transform: translateY(-1px);
}

/* ===================================
   5. HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 120px;
    background: linear-gradient(135deg, 
        rgba(255, 200, 180, 0.7) 0%,
        rgba(255, 160, 130, 0.6) 100%
    );
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.mission-statement {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 124, 89, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.mission-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e2d;
}

/* ===================================
   6. CONTENT SECTIONS
   =================================== */

.about, .features, .vision, .contact {
    padding: 80px 0;
    position: relative;
}

.about {
    background: rgba(255, 190, 160, 0.7);
}

.features {
    background: rgba(255, 170, 140, 0.7);
}

.vision {
    background: rgba(255, 180, 150, 0.7);
}

.contact {
    background: rgba(255, 160, 130, 0.7);
}

/* Content Cards */
.about-content, .vision-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 160, 130, 0.2);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.about-content p, .vision-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e2d;
}

.about-content p:last-child, .vision-content p:last-child {
    margin-bottom: 0;
}

/* Founders Section Layout */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-image {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.founder-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.founder-text {
    width: 100%;
}

.founder-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a2e1b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-text p {
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.founder-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   7. FEATURES GRID
   =================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(74, 124, 89, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #4a7c59, #8fbc5c);
    transition: height 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #1a2e1b;
}

.feature-card p {
    color: #4a5d4b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   8. CONTACT FORM
   =================================== */

.contact-content {
    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a5d4b;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 124, 89, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e2d;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: #4a7c59;
    box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.2);
}

.submit-btn {
    background: #4a7c59;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* ===================================
   9. FOOTER
   =================================== */

.footer {
    position: relative;
}

.footer-image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
}

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

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.footer-logo h3 {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.footer-text p {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.footer-copyright p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-style: normal;
}

/* ===================================
   10. ANIMATIONS
   =================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   11. RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .about-content, .vision-content {
        padding: 3rem 2rem;
    }
    
    .mission-statement {
        padding: 2.5rem;
    }
    
    .founders-grid {
        gap: 3rem;
    }
    
    .founder-img {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mission-statement {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .about-content, .vision-content {
        padding: 2.5rem 1.5rem;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .founder-img {
        max-width: 200px;
    }
    
    .founder-text p {
        text-align: center;
    }
    
    .footer-image-container {
        min-height: 300px;
    }
    
    .footer-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .mission-statement {
        padding: 1.5rem;
    }
    
    .mission-statement p {
        font-size: 1rem;
    }
    
    .about-content, .vision-content {
        padding: 2rem 1.5rem;
    }
    
    .founder-img {
        max-width: 160px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.6rem;
    }
    
    .footer-text p {
        font-size: 1.1rem;
    }
}

/* ===================================
   12. ACCESSIBILITY & POLISH
   =================================== */

.nav-link:focus,
.submit-btn:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4a7c59;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d5016;
}