/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #5a5a5a;
    background-color: #fefefe;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: #f9f7f4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo h1 {
    color: #7a9b5a;
    font-size: 24px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #7a9b5a;
}

/* Main content */
main {
    margin-top: 70px;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(244, 241, 235, 0.2), rgba(232, 220, 198, 0.2)), url('images/desert.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 150px 0;
    min-height: 80vh;
    text-align: left;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 230px;
}

.hero .container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(0.5px);
    padding: 40px;
    border-radius: 15px;
    margin-left: 42px;
    margin-right: auto;
    width: fit-content;
    max-width: calc(100% - 84px);
}

.hero h2 {
    font-size: 48px;
    color: #1a2914;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 3px 3px 12px rgba(255, 255, 255, 0.9), 
                 0 0 15px rgba(255, 255, 255, 0.7),
                 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.mission {
    font-size: 20px;
    line-height: 1.6;
    margin: 30px 0;
    max-width: 600px;
    color: #1a2914;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9), 
                 0 0 12px rgba(255, 255, 255, 0.6),
                 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 20px;
    font-style: italic;
    color: #7a9b5a;
    margin-top: 30px;
}

.subtitle {
    font-size: 20px;
    color: #8b7355;
    font-style: italic;
}

/* MyPath section */
.mypath {
    padding: 80px 0;
    background: #f7f5f0;
}

.mypath h2 {
    font-size: 36px;
    color: #7a9b5a;
    margin-bottom: 20px;
    text-align: center;
}

/* Story section */
.story {
    padding: 80px 0;
    background: #f9f9f9;
}

.story-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content {
    max-width: none;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #6b5b47;
}

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

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.02);
}

.image-caption {
    font-size: 14px;
    color: #8b7355;
    font-style: italic;
    margin-top: 15px;
    line-height: 1.4;
}

/* About section */
.about {
    padding: 80px 0;
    background: #fefefe;
}

.about h2 {
    font-size: 36px;
    color: #7a9b5a;
    margin-bottom: 20px;
    text-align: center;
}

.about .intro {
    font-size: 18px;
    text-align: center;
    color: #6b5b47;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.value {
    text-align: center;
    padding: 30px 20px;
    background: #f7f5f0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value:hover {
    transform: translateY(-5px);
}

.value h3 {
    font-size: 22px;
    color: #7a9b5a;
    margin-bottom: 15px;
    font-weight: 600;
}

.value p {
    font-size: 16px;
    color: #6b5b47;
    line-height: 1.6;
}

.mission-statement {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #7a9b5a;
    font-style: italic;
}

/* Classes and Contact sections */
.classes, .contact {
    padding: 80px 0;
}

.classes {
    background: #fefefe;
}

.contact {
    background: #f7f5f0;
}

.classes h2, .contact h2 {
    font-size: 36px;
    color: #7a9b5a;
    margin-bottom: 50px;
    text-align: center;
}

.classes-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.classes-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.classes-image img:hover {
    transform: scale(1.02);
}

.classes-content {
    text-align: left;
}

.classes-description {
    font-size: 18px;
    color: #6b5b47;
    margin-bottom: 20px;
    line-height: 1.7;
}

.mantra {
    margin-top: 30px;
    font-size: 20px;
    font-style: italic;
    color: #7a9b5a;
    line-height: 1.8;
}

.mantra .indent {
    margin-left: 40px;
}

.mantra .indent-more {
    margin-left: 80px;
}

.contact p {
    font-size: 18px;
    text-align: center;
    color: #6b5b47;
}

/* Footer */
footer {
    background: #7a9b5a;
    color: #f9f7f4;
    text-align: center;
    padding: 30px 0;
}

footer p {
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 20px;
    }
    
    main {
        margin-top: 120px;
    }
    
    .hero {
        padding: 100px 0;
        padding-top: 180px;
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .hero .container {
        padding: 30px;
        margin-left: 30px;
        max-width: calc(100% - 60px);
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .mission {
        font-size: 18px;
    }
    
    .about, .mypath, .story, .classes, .contact {
        padding: 60px 0;
    }
    
    .mission, .story-content p, .classes-description {
        font-size: 16px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-two-column, .classes-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .classes-content {
        text-align: center;
    }
    
    .classes-image img {
        height: 300px;
    }
    
    .value h3 {
        font-size: 20px;
    }
    
    .mission-statement {
        font-size: 18px;
    }
    
    .mantra {
        font-size: 18px;
    }
    
    .mantra .indent {
        margin-left: 20px;
    }
    
    .mantra .indent-more {
        margin-left: 40px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding: 80px 0;
        padding-top: 160px;
        min-height: 60vh;
        text-align: center;
        align-items: flex-start;
    }
    
    .hero .container {
        padding: 20px;
        margin-left: 20px;
        margin-right: 20px;
        max-width: calc(100% - 40px);
        width: auto;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .mission {
        margin: 30px auto;
        max-width: 100%;
    }
    
    .mission, .classes-description {
        font-size: 16px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .classes-image img {
        height: 250px;
    }
}