/* Base Styles */
:root {
    --primary-color: #1a4a36;
    --accent-color: #d68c36;
    --light-bg: #f5f5f5;
    --dark-bg: #0d2a1f;
    --text-color: #333333;
    --light-text: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider.inverted {
    transform: rotate(0);
    top: 0;
    bottom: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    color: var(--light-text);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 74, 54, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: width 0.5s, height 0.5s;
}

.btn-primary:hover::before {
    width: 200px;
    height: 200px;
}

/* Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 180px;
}

.logo-svg {
    width: 180px;
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::before {
    width: 100%;
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-button:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.nav-button::before {
    display: none;
}

/* Hero Section */
.hero-section {
    background-image: url('images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;
    padding: 10rem 0 6rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 74, 54, 0.8), rgba(13, 42, 31, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text, .about-image {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* Philosophy Section */
.philosophy-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.philosophy-image, .philosophy-text {
    flex: 1;
}

.philosophy-text ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.philosophy-text li {
    margin-bottom: 0.5rem;
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.class-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.class-image {
    height: 200px;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-card h3, .class-card p {
    padding: 0 1.5rem;
}

.class-card h3 {
    margin-top: 1.5rem;
}

.class-details {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Mandala Section */
.mandala-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mandala-svg, .mandala-text {
    flex: 1;
}

.mandala-symbols {
    list-style: none;
    margin: 1rem 0;
}

.mandala-symbols li {
    margin-bottom: 0.8rem;
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.teacher-image {
    height: 300px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-card h3, .teacher-card p {
    padding: 0 1.5rem;
}

.teacher-card h3 {
    margin-top: 1.5rem;
}

.teacher-specialty {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.teacher-card p:last-child {
    padding-bottom: 1.5rem;
}

/* Practice Diary Section */
.diary-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.diary-text, .diary-sample {
    flex: 1;
}

.diary-benefits {
    margin-top: 2rem;
}

.diary-benefit {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.diary-benefit .benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 1rem 0 0;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-email {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.contact-email svg {
    margin-right: 0.5rem;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 74, 54, 0.2);
}

.privacy-checkbox {
    display: flex;
    align-items: center;
}

.privacy-checkbox input {
    width: auto;
    margin-right: 10px;
}

.privacy-checkbox label {
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.footer-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.footer-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.footer-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.footer-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.footer-svg {
    width: 180px;
    height: 40px;
    margin-bottom: 1rem;
}

.footer-item h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-item h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-item ul {
    list-style: none;
}

.footer-item li {
    margin-bottom: 0.8rem;
}

.footer-item a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-item a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .about-content, .philosophy-content, .mandala-content, .diary-content, .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image, .philosophy-image, .mandala-svg, .diary-sample {
        order: -1;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .site-header {
        padding: 0.8rem 0;
    }
    
    .logo {
        flex: 0 0 150px;
    }
    
    .logo-svg {
        width: 150px;
        height: 35px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.5rem;
    }
    
    .hero-section {
        padding: 8rem 0 5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .footer-item:nth-child(1),
    .footer-item:nth-child(2),
    .footer-item:nth-child(3),
    .footer-item:nth-child(4) {
        grid-column: 1;
    }
    
    .footer-item:nth-child(1) {
        grid-row: 1;
    }
    
    .footer-item:nth-child(2) {
        grid-row: 2;
    }
    
    .footer-item:nth-child(3) {
        grid-row: 3;
    }
    
    .footer-item:nth-child(4) {
        grid-row: 4;
    }
}

@media screen and (max-width: 575px) {
    .benefits-grid, .classes-grid, .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
    }
}

@media screen and (max-width: 375px) {
    body {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .logo-svg {
        width: 130px;
        height: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}