/* ============================================
   Yoga with Jen Stone - Main Stylesheet
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
    --color-text: #000000;
    --color-text-light: #333333;
    --color-background: #ffffff;
    --color-background-alt: #f5f5f5;
    --color-accent: #000000;
    --color-border: #e0e0e0;

    /* Fonts matching original: Brandon Grotesque Light & Avenir LT Light */
    --font-heading: 'Josefin Sans', 'Brandon Grotesque', sans-serif;
    --font-body: 'Nunito', 'Avenir', Helvetica, Arial, sans-serif;

    --max-width: 980px;
    --section-padding: 60px 20px;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.875;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text);
    color: var(--color-background);
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(36px, 8vw, 72px);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(22px, 4vw, 40px);
}

p {
    font-size: 15px;
    margin-bottom: 1em;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

strong {
    font-weight: 700;
}

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

/* ============================================
   Header
   ============================================ */
.site-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-background);
    z-index: 100;
}

.header-title {
    margin-bottom: 15px;
}

.header-title a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    text-align: center;
    padding: var(--section-padding);
    padding-top: 40px;
}

.hero-section h1 {
    margin-bottom: 30px;
}

.hero-image {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

/* ============================================
   Why Yoga Section
   ============================================ */
.why-yoga-section {
    text-align: center;
    padding: var(--section-padding);
    padding-top: 80px;
    padding-bottom: 80px;
}

.why-yoga-section h2 {
    text-transform: uppercase;
    margin-bottom: 40px;
}

.why-yoga-content {
    max-width: 600px;
    margin: 0 auto;
}

.why-yoga-content p {
    margin-bottom: 2em;
    line-height: 1.875;
}

/* ============================================
   Classes Section
   ============================================ */
.classes-section {
    padding: var(--section-padding);
    background-color: var(--color-background);
}

.class-block {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 30px 40px;
    border-top: 1px solid var(--color-border);
}

.class-block:last-child {
    margin-bottom: 0;
}

.class-block h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 400;
}

.class-content {
    max-width: 800px;
}

.class-content p {
    margin-bottom: 1.5em;
}

.schedule p {
    margin-bottom: 1.5em;
}

.pricing {
    margin-top: 20px;
}

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
    padding: var(--section-padding);
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--color-background-alt);
}

.quote-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.quote-text {
    flex: 1;
    min-width: 280px;
}

.quote-text h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
}

.quote-image {
    flex-shrink: 0;
}

.quote-image img {
    max-width: 240px;
    height: auto;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    padding-top: 80px;
    text-align: center;
}

.contact-section h2 {
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-background);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

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

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px 30px;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-background);
    background-color: var(--color-text);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-content a {
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-light);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 20px;
    }

    .site-header {
        padding: 15px;
    }

    .header-title a {
        font-size: 22px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .class-block {
        padding: 25px 20px;
    }

    .quote-container {
        flex-direction: column;
        text-align: center;
    }

    .quote-image {
        order: -1;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-header {
        position: relative;
    }

    .header-title a {
        font-size: 18px;
    }

    .main-nav ul {
        gap: 10px;
    }

    .main-nav a {
        font-size: 12px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .class-block h2 {
        font-size: 18px;
    }

    .quote-text h2 {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .site-header {
        position: relative;
    }

    .main-nav,
    .contact-form,
    .submit-btn {
        display: none;
    }

    .quote-section {
        background: none;
    }
}
