/* ============================================
   REJUVE YOG - Styles
   A calming, organic design for yoga wellness
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Earthy, Natural Palette */
    --sage: #7C9A82;
    --sage-light: #9BB5A0;
    --sage-dark: #5A7A60;
    --terracotta: #D4A574;
    --terracotta-light: #E5C4A8;
    --terracotta-dark: #B8875A;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE3;
    --forest: #2D4A3E;
    --forest-light: #3D5A4E;
    --charcoal: #2C2C2C;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 74, 62, 0.08);
    --shadow-md: 0 4px 20px rgba(45, 74, 62, 0.12);
    --shadow-lg: 0 8px 40px rgba(45, 74, 62, 0.16);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--forest);
    background-color: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--forest);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--forest-light);
}

em {
    font-style: italic;
    color: var(--sage-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 154, 130, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 154, 130, 0.35);
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--forest-light);
    border: 1.5px solid var(--sage-light);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--sage-light);
    color: var(--white);
    border-color: var(--sage-light);
}

.btn-full {
    width: 100%;
}

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage-dark);
    background: linear-gradient(135deg, rgba(124, 154, 130, 0.15) 0%, rgba(212, 165, 116, 0.15) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: rgba(253, 248, 243, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 154, 130, 0.1);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest);
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--sage);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--forest-light);
}

.nav-links a:hover {
    color: var(--sage-dark);
}

.nav-cta {
    padding: var(--space-xs) var(--space-md) !important;
    background: var(--sage);
    color: var(--white) !important;
    border-radius: var(--radius-lg);
}

.nav-cta:hover {
    background: var(--sage-dark);
    color: var(--white) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-md);
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(60px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    top: -10%;
    right: -10%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
    bottom: -5%;
    left: -5%;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--sage) 0%, var(--terracotta-light) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Animated background layer */
.hero-animation {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.hero-animation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Figure image layer */
.hero-figure {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    max-width: 320px;
    width: 35%;
    opacity: 0.5;
}

.hero-figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(45, 74, 62, 0.15));
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(253, 248, 243, 0.8);
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--terracotta-dark);
    margin-bottom: var(--space-md);
}

.hero-badge.breathing {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.hero-title {
    margin-bottom: var(--space-md);
    color: var(--forest);
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--terracotta-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(45, 74, 62, 0.2));
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    color: var(--forest-light);
}

.hero-cta {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--sage);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--sage);
    border-bottom: 2px solid var(--sage);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-content {
    max-width: 500px;
}

.about-text {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.about-pillars {
    display: grid;
    gap: var(--space-md);
}

.pillar {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.pillar h3 {
    margin-bottom: var(--space-xs);
    color: var(--sage-dark);
}

.pillar p {
    font-size: 0.95rem;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.benefit-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(124, 154, 130, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-light);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    border-radius: var(--radius-full);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.benefit-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--forest);
}

.benefit-card p {
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--forest);
}

.testimonials .section-badge {
    color: var(--terracotta-light);
    background: rgba(212, 165, 116, 0.2);
}

.testimonials .section-title {
    color: var(--cream);
}

.testimonials .section-title em {
    color: var(--terracotta-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    padding: var(--space-lg);
    background: rgba(253, 248, 243, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(253, 248, 243, 0.1);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(253, 248, 243, 0.08);
    transform: translateY(-5px);
}

.testimonial-card.featured {
    background: rgba(253, 248, 243, 0.1);
    border-color: var(--terracotta);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--sage);
    opacity: 0.5;
    margin-bottom: -1rem;
}

.testimonial-content p {
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(253, 248, 243, 0.1);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sage) 0%, var(--terracotta) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--cream);
    font-weight: 600;
}

.author-detail {
    color: var(--sage-light);
    font-size: 0.85rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info {
    max-width: 450px;
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--forest);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--sage);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest);
}

.form-group .optional {
    font-weight: 400;
    color: var(--sage);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--forest);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sage-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237C9A82' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--sage-dark);
}

.form-success p {
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--forest);
    color: var(--cream);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(253, 248, 243, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-img {
    height: 40px;
    width: 40px;
    filter: brightness(1.1);
}

.footer-brand .logo-text {
    color: var(--cream);
}

.footer-brand p {
    color: var(--sage-light);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terracotta-light);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--sage-light);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--cream);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 248, 243, 0.05);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--sage);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--cream);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--sage-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-content {
        max-width: 100%;
        text-align: center;
    }
    
    .about-pillars {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-info {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-features {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--space-md);
        background: var(--cream);
        border-top: 1px solid rgba(124, 154, 130, 0.1);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-animation {
        opacity: 0.3;
    }
    
    .hero-figure {
        opacity: 0.35;
        width: 45%;
        max-width: 200px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        bottom: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-links,
    .footer-social {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
    }

    .hero-cta {
        bottom: 15px;
    }
    
    .pillar,
    .benefit-card {
        padding: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .floating-shape {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}

