/* Squarespace-style Theme */
:root {
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --bg-primary: #ffffff;
    
    /* Mint-inspired gradient palette */
    --accent-dark: #48b098; 
    --accent-main: #62cbb4; 
    --accent-light: #94e3d0; 
    --accent-mint: #62cbb4; 
    
    --border-color: #d1d5db; 
    
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", Times, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2, h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.signature {
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.serif-heading {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Header & Navigation */
header {
    padding: 1rem 5%; 
    background-color: rgba(17, 24, 39, 0.98); 
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #f3f4f6; 
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent-main);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav {
    background-color: var(--accent-main);
    color: #111827;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--accent-main);
}

.btn-nav:hover {
    background-color: transparent;
    border-color: var(--accent-main);
    color: var(--accent-main);
}

.btn-dark {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    margin-top: 1.5rem;
}

.btn-dark:hover {
    background-color: #ffffff;
    color: #000000;
}

/* --- Split Layout Grid for Text + Image --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Restored to flex-start so images pin to the top alongside the text */
.align-start {
    align-items: flex-start;
}

/* Image Formatting & Placeholders */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.placeholder-img {
    background-color: rgba(255,255,255,0.1); 
    color: transparent; 
}

.mb-2 {
    margin-bottom: 2rem;
}

.arched-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.rounded-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Index Sections */
.hero {
    padding: 8rem 0;
    background: linear-gradient(180deg, #111827 0%, var(--accent-dark) 30%, var(--accent-main) 70%, var(--accent-light) 100%);
    color: #ffffff;
}

.hero h1, .hero .lead, .hero .signature {
    color: #ffffff;
}

.hero .btn {
    background-color: #111827;
    color: #ffffff;
    border: 2px solid #111827;
}

.hero .btn:hover {
    background-color: transparent;
    color: #111827;
}

.about {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6f4 100%);
}

.cta-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

/* Book A Lesson Page Layout */
.page-white {
    background: linear-gradient(180deg, #ffffff 0%, #eff5f1 100%);
    min-height: 100vh;
}

.lesson-split-section {
    padding: 6rem 0;
}

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

.serif-marker {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: #111827;
    text-decoration: underline;
    text-decoration-color: var(--accent-main);
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.rates-text {
    margin: 3rem 0;
}

.rates-text h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rates-text p {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Stripped-Down Flat Form */
.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    text-align: left; 
    background-color: #ffffff;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--accent-main);
}

.flat-form {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: none;
    max-width: 100%;
}

.row { display: flex; gap: 1.5rem; }
.col { flex: 1; }
fieldset { border: none; padding: 0; margin-bottom: 1.5rem; }
legend { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); }
.form-group { margin-bottom: 1.75rem; }
label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-primary); }
.help-text { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
input, textarea { width: 100%; padding: 0.875rem 1.25rem; background-color: #fafafa; border: 1px solid var(--border-color); font-family: inherit; font-size: 1rem; color: var(--text-primary); transition: all 0.3s ease; }
.pill-form input[type="text"], .pill-form input[type="email"], .pill-form input[type="tel"] { border-radius: 50px; }
.pill-form textarea { border-radius: 20px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent-main); background-color: #ffffff; box-shadow: 0 0 0 3px rgba(98, 203, 180, 0.25); }
.checkbox-group label { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text-primary); cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 1.25rem; height: 1.25rem; padding: 0; border-radius: 4px; accent-color: var(--accent-main); cursor: pointer; }
.btn-submit { width: 100%; margin-top: 1.5rem; background-color: var(--accent-main); color: #111827; border: 2px solid var(--accent-main); font-size: 1.05rem; font-weight: 600; padding: 1rem; transition: all 0.3s ease; }
.btn-submit:hover { background-color: var(--accent-dark); border-color: var(--accent-dark); color: #ffffff; }

/* Contact Footer Area */
.contact-footer {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--accent-mint);
}

.contact-footer a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.contact-footer a:hover {
    color: #ffffff;
}

footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background-color: transparent;
}

/* Mobile Adjustments */
@media (max-width: 800px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .reverse-mobile .about-image-wrapper { order: 2; }
    .reverse-mobile .about-content { order: 1; }
    
    .logo-text { display: none; }
    .hero { padding: 4rem 0; }
    .arched-img, .rounded-img { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .row { flex-direction: column; gap: 0; }
    .col { margin-bottom: 1.5rem; }
    .serif-marker, .serif-heading { font-size: 2.5rem; }
    .rates-text { text-align: center; }
    .contact-footer a { display: block; margin: 0.5rem 0; }
}