/* 
 * Velquendra - Yoga as a Way of Life
 * Main Stylesheet
 */

/* ------------------- */
/* Base & Reset        */
/* ------------------- */
:root {
    --color-beige: #f8f3e6;
    --color-beige-dark: #e8d8c0;
    --color-green: #7a9e7e;
    --color-green-light: #8b9d83;
    --color-green-dark: #5a7e5e;
    --color-brown: #a87c5b;
    --color-brown-light: #c09b7e;
    --color-lavender: #b5b0ce;
    --color-lavender-light: #d5d0ee;
    --color-text: #3a3a3a;
    --color-text-light: #6a6a6a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-brown);
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-green-dark);
    transition: var(--transition);
}

a:hover {
    color: var(--color-brown);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 5rem 0;
}

/* ------------------- */
/* Buttons             */
/* ------------------- */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-green);
    color: white;
    border: 2px solid var(--color-green);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--color-brown);
    color: white;
    border: 2px solid var(--color-brown);
}

.btn-secondary:hover {
    background-color: var(--color-brown-light);
    border-color: var(--color-brown-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.btn-outline:hover {
    background-color: var(--color-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin-left: 2rem;
}

.desktop-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: var(--transition);
}

.desktop-menu a:hover {
    color: var(--color-green);
}

.desktop-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger span:last-child {
    margin-bottom: 0;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: var(--transition);
    z-index: 100;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: var(--color-green);
}

/* ------------------- */
/* Intro Section        */
/* ------------------- */
#intro {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('images/intro.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(122, 158, 126, 0.8), rgba(168, 124, 91, 0.8));
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.intro-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ------------------- */
/* Why Yoga Section     */
/* ------------------- */
#why-yoga {
    background-color: var(--color-beige);
    position: relative;
    overflow: hidden;
}

#why-yoga::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(181, 176, 206, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.benefit-card h3 {
    color: var(--color-brown);
    margin-bottom: 1rem;
}

/* ------------------- */
/* How It Works Section */
/* ------------------- */
#how-it-works {
    background: linear-gradient(135deg, #fff 0%, var(--color-lavender-light) 100%);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-green);
    left: 50px;
    margin-left: -2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
}

.timeline-number {
    position: absolute;
    left: 50px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    z-index: 1;
}

.timeline-content {
    margin-left: 100px;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.timeline-content img {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ------------------- */
/* Programs Section    */
/* ------------------- */
#programs {
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.program-features {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.program-features li {
    margin-bottom: 0.5rem;
    position: relative;
}

.program-features li::before {
    content: '•';
    color: var(--color-green);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.program-content .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

.programs-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ------------------- */
/* Testimonials Section */
/* ------------------- */
#testimonials {
    background-color: var(--color-lavender-light);
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(168, 124, 91, 0.2);
    border-radius: 50%;
}

.testimonials-slider {
    position: relative;
    margin: 3rem 0;
    height: 400px;
}

.testimonial-slide {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
}

.testimonial-image {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid white;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-green-light);
    opacity: 0.2;
    font-family: var(--font-heading);
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-content h4 {
    color: var(--color-brown);
    margin-bottom: 0.2rem;
}

.testimonial-content .location {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.prev-testimonial, .next-testimonial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--color-text);
}

.prev-testimonial:hover, .next-testimonial:hover {
    background-color: var(--color-green);
    color: white;
}

.prev-testimonial svg, .next-testimonial svg {
    width: 24px;
    height: 24px;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--color-green);
    transform: scale(1.2);
}

/* ------------------- */
/* About Section       */
/* ------------------- */
#about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--color-beige-dark);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--color-green-light);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
}

.about-content {
    padding: 2rem 0;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ------------------- */
/* Join Movement Section */
/* ------------------- */
#join-movement {
    background-image: url('images/join.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

#join-movement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(122, 158, 126, 0.9), rgba(181, 176, 206, 0.9));
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.join-content h2 {
    margin-bottom: 1rem;
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

#subscription-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#subscription-form input[type="email"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.form-consent a {
    color: white;
    text-decoration: underline;
}

.form-consent a:hover {
    color: var(--color-beige);
}

/* ------------------- */
/* Contact Section     */
/* ------------------- */
#contact {
    background-color: var(--color-beige);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--color-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    color: var(--color-green-dark);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ------------------- */
/* Footer              */
/* ------------------- */
footer {
    background-color: var(--color-text);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-beige);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-copyright {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-beige);
}

/* ------------------- */
/* Animations          */
/* ------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 158, 126, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(122, 158, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 158, 126, 0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------- */
/* Media Queries       */
/* ------------------- */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 60px;
    }
    
    .testimonial-slide {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonial-image {
        flex: 0 0 200px;
        height: 200px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .intro-content {
        padding: 1rem;
    }
    
    .intro-content p {
        font-size: 1.2rem;
    }
    
    #subscription-form .form-group {
        flex-direction: column;
    }
    
    .testimonials-slider {
        height: auto;
    }
    
    .testimonial-slide {
        position: relative;
        height: auto;
    }
    
    .testimonial-image {
        flex: 0 0 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 320px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}