/* =========================================
   ZenFlow Yoga Studio | Style Guide
   ========================================= */

:root {
    /* Color Palette - Pastel Green & Serene Tones */
    --primary: #6c9a8b; /* Soft Sage Green */
    --primary-light: #8bb3a6;
    --primary-dark: #527568;
    --secondary: #e8dcc4; /* Warm Beige / Sand */
    --accent: #a3b899; /* Pale Olive */
    
    /* Neutral Colors */
    --text-main: #2c3e38; /* Dark Greenish Grey */
    --text-muted: #5e736b;
    --bg-light: #f7f9f8; /* Off White */
    --bg-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(108, 154, 139, 0.05);
    --shadow-md: 0 10px 30px rgba(108, 154, 139, 0.1);
    --shadow-lg: 0 20px 40px rgba(108, 154, 139, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* =========================================
   Buttons & Badges
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--bg-white);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary-full, .btn-outline-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary-full {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary-full:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-full {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-full:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

.badge-pill {
    display: inline-block;
    background-color: rgba(108, 154, 139, 0.15);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* =========================================
   Typography Utilities
   ========================================= */
.section-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.logo span {
    font-weight: 300;
}

.navbar.scrolled .logo {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.4) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    align-self: flex-start;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    margin: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-wave .shape-fill {
    fill: var(--bg-light);
}

/* =========================================
   Classes Section
   ========================================= */
.classes-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(108, 154, 139, 0.1);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.class-image {
    position: relative;
    height: 250px;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.05);
}

.class-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.class-content {
    padding: 2rem;
}

.class-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.class-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.class-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.class-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* =========================================
   Instructor Section
   ========================================= */
.instructor-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.instructor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.instructor-image {
    position: relative;
}

.instructor-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--secondary);
    color: var(--text-main);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--bg-white);
}

.experience-badge h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-dark);
}

.experience-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.instructor-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(108, 154, 139, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.feature-list p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.price-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid rgba(108, 154, 139, 0.1);
    transition: var(--transition);
}

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

.price-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.price span:first-child {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    align-self: center;
    margin-left: 0.2rem;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 45px;
}

.plan-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--primary);
}

/* =========================================
   Join / Contact Section
   ========================================= */
.join-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.join-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.join-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(108, 154, 139, 0.1);
}

.join-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(108, 154, 139, 0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 154, 139, 0.1);
}

.input-group textarea {
    resize: vertical;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--text-main);
    color: var(--bg-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer-links h4,
.footer-socials h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text-wrapper {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        margin: 2rem auto 0;
        align-self: center;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-card.popular {
        transform: none;
    }
    
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 992px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructor-grid,
    .join-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-badge {
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .desktop-btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 40px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .classes-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
