/* Base Styles */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #f1a7bf;
    --dark-color: #121212;
    --light-color: #ffffff;
    --bg-light: #f7f7f7;
    --text-color: #333333;
    --heading-font: 'Philosopher', serif;
    --body-font: 'Source Sans Pro', sans-serif;
    --transition-speed: 0.3s;
    --hero-parallax: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    position: relative;
    padding: 3rem 0;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    color: var(--light-color);
    background-color: transparent;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.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%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover:before {
    width: 300px;
    height: 300px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.8rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-svg {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 70px;
    background-color: var(--light-color);
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding: 2rem;
    transform: translateY(calc(var(--hero-parallax) * -0.2));
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image-container {
    width: 50%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    transform: translateY(calc(var(--hero-parallax) * 0.1));
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.hero:hover .hero-image-container img {
    transform: scale(1.05);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 55px;
}

.wave-divider.inverted {
    transform: rotate(180deg);
    top: 0;
    bottom: auto;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--bg-light);
    position: relative;
}

.om-symbol {
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.1;
}

.om-symbol.right {
    left: auto;
    right: 20px;
    top: 50%;
}

.philosophy-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.philosophy-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
    flex: 1;
}

.philosophy-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: circle;
}

.philosophy-text ul li {
    margin-bottom: 0.5rem;
}

/* Asanas Section */
.asanas {
    background-color: var(--light-color);
    position: relative;
    z-index: 1;
}

.mandala-bg {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.1;
}

.asanas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.asana-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease;
}

.asana-card:hover {
    transform: translateY(-10px);
}

.asana-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.asana-card h3, .asana-card p {
    padding: 0 1.5rem;
}

.asana-card h3 {
    margin-top: 1rem;
}

.asana-card p {
    padding-bottom: 1.5rem;
}

/* Breathing Section */
.breathing {
    background-color: var(--bg-light);
    position: relative;
}

.breathing-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.breathing-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breathing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.breathing-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.breathing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.breathing-icon {
    margin: 0 auto 1.5rem;
}

.meditation-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.meditation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Section */
.gallery {
    background-color: var(--light-color);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    transition: all var(--transition-speed) ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mudras Section */
.mudras {
    background-color: var(--bg-light);
    position: relative;
}

.mudras-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.mudras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mudra-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.mudra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mudra-image {
    height: 250px;
    overflow: hidden;
}

.mudra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mudra-card:hover .mudra-image img {
    transform: scale(1.05);
}

.mudra-card h3, .mudra-card p {
    padding: 0 1.5rem;
}

.mudra-card h3 {
    margin-top: 1rem;
}

.mudra-card p {
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    gap: 2rem;
}

.contact-text {
    flex: 1;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 10px;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.footer-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.05"/><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="25" r="2" fill="%23ffffff" opacity="0.05"/><circle cx="25" cy="75" r="2" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="2" fill="%23ffffff" opacity="0.05"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-item h3 {
    color: var(--light-color);
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-item h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-item ul li {
    margin-bottom: 0.5rem;
}

.footer-item a {
    color: #aaa;
    transition: color var(--transition-speed) ease;
}

.footer-item a:hover {
    color: var(--light-color);
}

.footer-logo {
    text-align: center;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 120px;
    }
    
    .hero-content,
    .hero-image-container {
        width: 100%;
    }
    
    .hero-image-container {
        height: 300px;
        margin-top: 2rem;
    }
    
    .philosophy-content,
    .contact-content {
        flex-direction: column;
    }
    
    .philosophy-image {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .container {
        width: 95%;
    }
    
    .asanas-grid,
    .breathing-grid,
    .mudras-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 375px) {
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}