/* Base styles */
:root {
    --primary-color: #2c5e50;
    --secondary-color: #e88c7d;
    --light-color: #f9f9f9;
    --dark-color: #333333;
    --background-color: #ffffff;
    --heading-font: 'Cinzel', serif;
    --body-font: 'Fauna One', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

section {
    position: relative;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

nav ul li a {
    padding: 0.5rem 0;
    position: relative;
    font-family: var(--heading-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: var(--heading-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 200px;
    height: 200px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #23483e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 94, 80, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 94, 80, 0.3);
}

/* Wave dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Hero section */
.hero-section {
    background-color: var(--light-color);
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mantra {
    flex: 1;
    max-width: 500px;
}

.mantra h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.mantra h2::after {
    left: 0;
    transform: none;
}

.sanskrit {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.mantra-meaning {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: right;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 rgba(44, 94, 80, 0.2);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: rotate(0);
}

/* About section */
.about-section {
    background-color: var(--background-color);
    position: relative;
    padding-bottom: 6rem;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: -20px 20px 0 rgba(232, 140, 125, 0.2);
}

/* Practices section */
.practices-section {
    background-color: var(--light-color);
    position: relative;
    padding-bottom: 6rem;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-card {
    background-color: var(--background-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.practice-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.practice-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.practice-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-color);
}

/* Teachers section */
.teachers-section {
    background-color: var(--background-color);
    position: relative;
    padding-bottom: 6rem;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.teacher-card h3 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.teacher-specialty {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.teacher-card p {
    padding: 0 1.5rem;
}

/* Seminars section */
.seminars-section {
    background-color: var(--light-color);
    position: relative;
    padding-bottom: 6rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 94, 80, 0.8);
    color: white;
    padding: 1rem;
    font-family: var(--heading-font);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.seminar-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.seminar-info .btn {
    margin-top: 1.5rem;
}

/* Mudras section */
.mudras-section {
    background-color: var(--background-color);
    position: relative;
    padding-bottom: 6rem;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
}

.mudras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.mudra-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mudra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mudra-icon {
    margin-bottom: 1.5rem;
}

.mudra-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact section */
.contact-section {
    background-color: var(--light-color);
    position: relative;
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
}

.contact-text {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
}

.footer-logo {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    margin-top: 1rem;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: white;
}

.footer-links {
    text-align: center;
}

.footer-links a {
    color: #f9f9f9;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .mantra h2 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .mantra {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .mantra h2 {
        text-align: center;
    }
    
    .mantra h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .wave-divider svg {
        height: 50px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: 1;
    }
}

@media (max-width: 576px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .mantra h2 {
        font-size: 1.8rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 3rem 1rem;
    }
}

@media (max-width: 375px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .practices-grid, .teachers-grid, .mudras-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
}