/* TenZen Beginner Yoga - Styles */

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2C3E2D;
    background-color: #F7F5F3;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Color Variables */
:root {
    --sage: #7FB069;
    --coral: #E8956C;
    --off-white: #F7F5F3;
    --dark-text: #2C3E2D;
    --light-text: #6B7C6D;
    --border-color: #E2DDD8;
}

/* Logo and Brand */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    width: 60px;
    height: 60px;
}

.logo {
    width: 100%;
    height: 100%;
}

.brand-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

/* Buttons */
.cta-primary, .cta-secondary {
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--sage);
    color: white;
    border-color: var(--sage);
}

.cta-primary:hover {
    background-color: #6EA057;
    border-color: #6EA057;
}

.cta-secondary {
    background-color: transparent;
    color: var(--coral);
    border-color: var(--coral);
}

.cta-secondary:hover {
    background-color: var(--coral);
    color: white;
}

.cta-primary.large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--off-white) 0%, #F0EDE9 100%);
    padding: 40px 0 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90vh;
}

.hero-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-header .logo-brand {
    justify-content: center;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--coral);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-image-placeholder {
    max-width: 600px;
    margin: 0 auto;
}

/* Image Placeholders */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.content-image, .hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover, .hero-image:hover {
    transform: scale(1.02);
}

/* SVG Styles for main page */
.svg-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.content-svg, .hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-svg:hover, .hero-image:hover {
    transform: scale(1.02);
}

.svg-container.small {
    max-height: 200px;
}

.svg-container.small .content-svg {
    height: 200px;
    object-fit: cover;
}

.svg-container.large {
    max-height: 400px;
}

.svg-container.large .content-svg {
    height: 400px;
    object-fit: cover;
}

.image-container.small {
    max-height: 200px;
}

.image-container.small .content-image {
    height: 200px;
    object-fit: cover;
}

.image-container.large {
    max-height: 400px;
}

.image-container.large .content-image {
    height: 400px;
    object-fit: cover;
}

/* Legacy placeholder styles for fallback */
.image-placeholder {
    background-color: var(--off-white);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin: 1rem 0;
}

.image-placeholder.small {
    min-height: 120px;
}

.image-placeholder.large {
    min-height: 300px;
}

.placeholder-content {
    text-align: center;
    color: var(--light-text);
}

.placeholder-icon {
    width: 60px;
    height: 40px;
    margin-bottom: 0.5rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background-color: white;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Morning Routine Section */
.morning-routine {
    background-color: var(--off-white);
}

.routine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.routine-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.routine-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

/* Back Care Section */
.back-care {
    background-color: white;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li:before {
    content: "•";
    color: var(--sage);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Flexibility Section */
.flexibility {
    background-color: var(--off-white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.duration {
    background-color: var(--coral);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

/* Live Classes Section */
.live-classes {
    background-color: white;
}

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

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.class-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr 100px;
    align-items: center;
    padding: 1rem;
    background-color: var(--off-white);
    border-radius: 8px;
}

.time {
    font-weight: 600;
    color: var(--sage);
}

.class-name {
    font-weight: 500;
}

.class-type {
    color: var(--light-text);
    font-size: 0.875rem;
}

/* Products Section */
.products {
    background-color: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
}

.product-card.featured {
    border: 2px solid var(--sage);
    transform: translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--coral);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-header {
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--sage);
    margin: 0.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--light-text);
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features li:before {
    content: "✓";
    color: var(--sage);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Props Shop Section */
.props-shop {
    background-color: white;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.shop-item {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.shop-item .price {
    font-size: 1.5rem;
    margin: 1rem 0;
}

/* Contact Section */
.contact {
    background-color: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.contact-details h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--light-text);
    margin: 0;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-note {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo-brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    color: white;
}

.footer-tagline {
    color: var(--light-text);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    min-width: 300px;
}

.footer-section h4 {
    color: var(--sage);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4A5C4B;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-text);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero .container {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .section-content.reverse .text-content {
        order: 1;
    }
    
    .section-content.reverse .image-placeholder {
        order: 2;
    }
    
    .routine-grid,
    .program-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .class-schedule {
        gap: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        gap: 0.75rem;
    }
    
    .cta-primary, .cta-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
}