:root {
    /* Warm, soft palette - ADJUSTED */
    --cream-25: #fdfaf7; /* base background */
    --cream-50: #faf5ef; /* section default */
    --cream-100: #f3ebe2; /* subtle contrast */
    --tan-200: #e7d7c9; /* accents */
    --brand-100: #a48d33; /* brand logo */
    --sage-200: #dbe5d6; /* secondary background */
    --sage-400: #c6d2c0; /* pills */
    --forest-800: #2f3e2f; /* deep accent */
    --ink-900: #2b2b2b; /* text */
    --ink-700: #4a4a4a; /* muted text */

    /* -- UPDATED button colors for better brand harmony -- */
    --clay-400: #988246; /* buttons, highlights */
    --terracotta-500: #7e6a35; /* hovers */


    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .08);
    --radius-xl: 22px;

    /* Section background tokens */
    --bg-paper: var(--cream-50);
    --bg-cream: var(--cream-25);
    --bg-sage: var(--sage-200);
    --bg-plain: #fff;
}

html, body {
    height: 100%;
}

body {
    font-family: 'montserrat', 'Merriweather', serif;
    color: var(--ink-900);
    background: var(--bg-cream);
    line-height: 1.6;
}

@font-face {
    font-family: 'Gogoia Deco';
    src: url('fonts/gogoia-deco.woff2') format('woff2'),
    url('fonts/gogoia-deco.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Global utility flourishes */
.text-serif {
    font-family: 'montserrat', 'Merriweather', serif;
}

.text-hand {
    font-family: 'Kalam', cursive;
    letter-spacing: .3px;
}

.lead-soft {
    color: var(--ink-700);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.hero-eyebrow {
    color: var(--brand-100);
    letter-spacing: 1px;
    font-size: 2rem;
}

:root {
    --space-section: clamp(56px, 8vw, 96px);
    --wave-h: 120px;
    --hero-wave-h: 88px;
    /* rebate removes part of the wave height from the next section's top padding */
    --wave-rebate: clamp(24px, calc(var(--wave-h) * .55), 72px);
    /* minimum clearance so content never collides with the curve */
    --top-clear: 24px;
}

/* wave adjacency compensation */
.with-wave + section {
    margin-top: calc(-1 * var(--wave-h));
    padding-top: clamp(var(--top-clear), calc(var(--space-section) - var(--wave-rebate)), var(--space-section));
}

.with-wave + section > .container {
    padding-top: var(--content-offset, clamp(12px, calc(var(--wave-h) * .18), 36px));
}

/* optional per-seam offset */
section[data-seam="deep"] > .container {
    padding-top: clamp(20px, calc(var(--wave-h) * .28), 48px);
}

/* special case: hero (header) followed by main */
.with-wave + main > section:first-child {
    margin-top: calc(-1 * var(--hero-wave-h));
    padding-top: var(--space-section);
}

.with-wave + main > section:first-child > .container {
    padding-top: 0;
}

/* Navbar */
.navbar {
    transition: background-color .3s ease, box-shadow .3s ease;
}

.navbar .nav-link {
    font-weight: 600;
}

.navbar-brand strong {
    letter-spacing: .5px;
}

.navbar-brand .logo-text {
    font-family: 'Gogoia Deco', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--brand-100);
}

.footer-logo-text {
    font-family: 'Gogoia Deco', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #a48d33;
}

.navbar.scrolled {
    background: rgba(250, 245, 239, .7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.navbar-toggler {
    --bs-navbar-toggler-border-color: var(--tan-200);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .25rem rgba(183, 123, 91, .25);
}

@media (max-width: 991.98px) {
    .navbar-collapse.show, .navbar-collapse.collapsing {
        background: rgba(250, 245, 239, 0.85);
        backdrop-filter: blur(10px);
        margin-top: .75rem;
        padding: 1.5rem;
        border-radius: var(--radius-xl);
        border: 1px solid var(--cream-100);
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 8px;
    padding: 8px 12px;
    background: #000;
    color: #fff;
    z-index: 10000;
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    place-items: center;
    color: #1e1e1e;
    background: linear-gradient(180deg, rgba(250, 245, 239, .55), rgba(250, 245, 239, .9)),
    url('https://images.unsplash.com/photo-1723406230636-aa8c4ac1e6c5?q=80&w=1920&auto=format&fit=crop'); /* cozy studio */
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}

/* Gentle incense-style wisps */
.hero::before, .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(150px 300px at 20% 80%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(200px 350px at 80% 10%, rgba(255, 255, 255, .25), transparent 60%);
    filter: blur(2px);
    animation: drift 22s linear infinite;
}

.hero::after {
    animation-duration: 36s;
    opacity: .7;
}

@keyframes drift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-30px);
    }
}

.hero-card {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .65);
}

/* Waves: make each wave fill match the NEXT section’s bg using --wave-fill */
.wave {
    display: block;
    width: 100%;
    line-height: 0;
    height: var(--wave-h);
}

.wave.hero-wave {
    height: var(--hero-wave-h);
}

.wave path {
    fill: var(--wave-fill, var(--cream-50));
}

/* Wave color helpers to avoid nested var() resolution edge-cases */
.wave.to-paper path {
    fill: var(--bg-paper);
}

.wave.to-sage path {
    fill: var(--bg-sage);
}

.wave.to-cream path {
    fill: var(--bg-cream);
}

.wave.to-plain path {
    fill: var(--bg-plain);
}

/* Textures */
.texture-wood {
    background: linear-gradient(rgba(250, 245, 239, .75), rgba(250, 245, 239, .85)),
    url('https://images.unsplash.com/photo-1519710164239-da123dc03ef4?q=80&w=1600&auto=format&fit=crop'); /* warm wood */
    background-size: cover;
    background-position: center;
}

.texture-paper {
    background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .9)),
    url('https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Organic cards */
.card-organic {
    border: none;
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card-organic .badge {
    background: var(--sage-400);
    color: #1b1b1b;
}

/* Buttons */
.btn-warm {
    background: var(--clay-400);
    color: #fff;
    border: none;
}

.btn-warm:hover {
    background: var(--terracotta-500);
    color: #fff;
}

/* About section backdrop */
.about-text-column {
    position: relative;
}

.about-text-column::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('sun_logo_compact_transparent.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .1;
}

/* Section spacing */
section {
    padding-block: var(--space-section);
    scroll-margin-top: 72px;
}

@media (max-width: 768px) {
    :root {
        --wave-h: 80px;
        --hero-wave-h: 64px;
        --top-clear: 16px;
    }
}

/* Table overrides for branding */
.table {
    --bs-table-bg: transparent; /* remove default table background */
    --bs-table-border-color: var(--cream-100);
}

.table thead {
    /* override Bootstrap's `table-light` default color */
    --bs-table-bg-modifier: none;
    background-color: var(--cream-100);
}

.table tbody tr:hover {
    background: var(--cream-25);
}

/* Testimonials */
blockquote {
    font-style: italic;
}

.quote-card {
    background: var(--bg-plain);
    border: 0;
}

/* Footer */
footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Map container */
#map {
    height: 100%;
    min-height: 400px;
    z-index: 1;
}

/* Footer social icons */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--ink-700);
    transition: fill .2s ease;
}

.social-link:hover svg {
    opacity: .7;
}

/* Override MailerLite styles to match your design */
#mailerlite-embed-form-wrapper .mailerlite-form {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
}

#mailerlite-embed-form-wrapper .mailerlite-form-field {
    flex: 1 !important;
    margin: 0 !important;
}

#mailerlite-embed-form-wrapper input[type="email"] {
    border-radius: 50rem !important;
    border: 1px solid #dee2e6 !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    width: 100% !important;
}

#mailerlite-embed-form-wrapper input[type="email"]:focus {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

#mailerlite-embed-form-wrapper button {
    border-radius: 50rem !important;
    background-color: var(--bs-warm, #your-warm-color) !important;
    border: 1px solid var(--bs-warm, #your-warm-color) !important;
    color: white !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
}

/* Hide any MailerLite branding or extra elements */
#mailerlite-embed-form-wrapper .mailerlite-form p,
#mailerlite-embed-form-wrapper .mailerlite-form .description {
    display: none !important;
}

.text-success {
    color: #28a745 !important;
}

/* Add this to your app.css file */

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

.schedule-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.schedule-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sage-200, #e5e7e5);
}

.schedule-day h4 {
    font-family: 'Merriweather', serif;
    margin: 0;
    color: var(--sage-800, #2d3d2d);
    font-size: 1.25rem;
    font-weight: 600;
}

.day-indicator {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--sage-400, #8fbc8f), var(--sage-500, #7a9d7a));
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.session-group {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
    position: relative;
}

.morning-sessions {
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border-left: 4px solid #ffb74d;
}

.evening-sessions {
    background: linear-gradient(135deg, #f3e5f5, #e8d5f0);
    border-left: 4px solid #ab47bc;
}

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

.instructor-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instructor-avatar {
    width: 32px;
    height: 32px;
    background: var(--sage-600, #6a8a6a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.instructor-name {
    font-weight: 600;
    color: var(--sage-800, #2d3d2d);
    font-size: 0.95rem;
}

.session-type {
    font-size: 0.8rem;
    color: var(--sage-600, #6a8a6a);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-slots {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.time-slot .time {
    font-weight: 600;
    color: var(--sage-800, #2d3d2d);
    font-size: 0.9rem;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    animation: pulse-availability 2s infinite;
}

@keyframes pulse-availability {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.session-book-btn {
    width: 100%;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.session-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        padding: 1.25rem;
    }

    .time-slots {
        justify-content: center;
    }
}

/* For really small screens */
@media (max-width: 480px) {
    .instructor-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .session-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.instructor-avatar.krista {
    background: linear-gradient(135deg, var(--clay-400, #988246), var(--brand-100, #a48d33));
    box-shadow: 0 2px 8px rgba(164, 141, 51, 0.25);
}

.instructor-avatar.kerry {
    background: linear-gradient(135deg, #8e7cc3, #6a5acd);
    box-shadow: 0 2px 8px rgba(106, 90, 205, 0.25);
}

.img-height-200 {
    height: 200px;
    object-fit: cover;
    object-position: center;
}