/* Mobile-First Optimized CSS */
:root {
    --accent: #82ae40;
    --green: #82ae40;
    --dark: #1b1b1b;
    --muted: #f2f2f2;
    --container: 1200px;
    --button-font-weight: 300;
    --button-font-size: 12px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, 'Helvetica Neue', Arial;
    margin: 0;
    color: #222;
}

/* Container - Mobile First */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Header - Mobile First */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    border-bottom: 1px solid transparent;
    /* Smoother, slightly longer transition for header changes */
    transition: background 0.45s cubic-bezier(0.4, 0.0, 0.0, 1),
        border-bottom 0.45s cubic-bezier(0.2, 0.0, 0.0, 1),
        padding 1s cubic-bezier(0.2, 0.0, 0.0, 1);
}

.site-header.header-scrolled {
    background: rgb(247, 247, 247);
    border-bottom: 1px solid #e6e6e6;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(0px, 4vh, 70px) 30px;
    max-width: 100%;
    margin: 0;
    position: relative;
    /* Prefer transform/opacity where possible and hint the browser */
    transition: transform 7s cubic-bezier(0.4, 0.0, 0.0, 1),
        opacity 0.7s cubic-bezier(0.2, 0.0, 0.0, 1),
        padding 0.7s cubic-bezier(0.4, 0.0, 0.0, 1);
    will-change: transform, opacity;
}

.site-header.header-scrolled .header-inner {
    /* Use a small translate to emulate the padding change without forcing layout thrash */
    transform: translateY(-4px);
    opacity: 0.995;
    padding: clamp(0px, 1.5vh, 16px) 30px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* Mobile Navigation */
.site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1003;
    overflow-y: auto;
}

.site-nav.active {
    right: 0;
}

.site-nav a {
    display: block;
    margin: 0 0 20px 0;
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid #e6e6e6;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1004;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;

}

.nav-overlay.active {
    display: block;
}

/* Hero Section - Mobile First */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background-image: url('media/[hero]background_image_mobile.jpg');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 150px;
    color: #fff;
    padding: 0 10px 10px 0;
    /* background-color: #ffffff52; */
    box-sizing: border-box;
}

.hero-overlay h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 0 0 22px;
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-overlay h2 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 10px 10px;
    font-weight: 700;
    font-style: italic;
    color: #000;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-quote {
    background: transparent;
    padding: 0;
    border-left: none;
    margin: 0 0 0 10px;
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, 'Helvetica Neue', Arial;
    font-size: 12px;
    line-height: 1.3;
    font-style: italic;
    color: #000;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero-quote footer {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 500;
    color: #000;
}

.hero-quote footer a {
    color: #000;
    text-decoration: none;
}

.hero-quote footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: var(--button-font-weight);
    font-size: var(--button-font-size);
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-black {
    background: #000;
    color: #fff;
}

.btn.ghost {
    background: transparent;
    color: #222;
    border: none;
}

.contact-form .btn-black {
    background: #000;
    color: #fff;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-form .btn-black:hover {
    background: var(--green);
    color: #fff;
}

/* Intro Section - Mobile First */
.intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 32px 20px;
}

.intro-media-sticky {
    flex: none;
    position: relative;
    top: 0;
    width: 100%;
}

.profile-pic {
    height: 220px;
    width: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.profile-name {
    margin-top: 16px;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
    text-align: center;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 36px;
    margin-top: 0;
    color: var(--green);
}

.bio-content {
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.bio-content.expanded {
    max-height: 3000px;
}

.bio-more {
    display: none;
}

.bio-content.expanded .bio-more {
    display: block;
}

.read-more-btn {
    background: var(--dark);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: var(--green);
}

/* Why Section */
.why {
    padding: 40px 0;
    text-align: center;
}

.why h3 {
    margin-bottom: 18px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.feature {
    flex: 1;
    color: #b86b3a;
}

.feature h4 {
    margin-bottom: 6px;
    color: var(--accent);
}

/* Services Section - Mobile First */
.services {
    background: #f6f6f6;
    padding: 40px 0;
}

.services h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--green);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.service-card {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.02) brightness(0.95);
}

.service-card span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.center {
    text-align: center;
    margin-top: 22px;
}

/* Testimonials - Mobile First */
.testimonials {
    padding: 54px 0;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

blockquote {
    background: transparent;
    padding: 18px;
    border-radius: 6px;
}

blockquote footer {
    display: block;
    margin-top: 16px;
    color: var(--accent);
    font-weight: 600;
}

/* Testimonial Break */
.testimonial-break {
    background: #f9f9f9;
    padding: 64px 0;
    text-align: center;
}

.testimonial-quote {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--dark);
    padding: 0;
    background: transparent;
}

.testimonial-quote::before {
    content: '"';
    font-size: 32px;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 8px;
    color: var(--green);
}

.testimonial-quote::after {
    content: '"';
    font-size: 32px;
    line-height: 0;
    vertical-align: -0.4em;
    margin-left: 8px;
    color: var(--green);
}

.testimonial-quote footer {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}

/* Workshop Items - Mobile First */
.workshop-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.workshop-item:hover {
    transform: translateY(-8px);
}

.workshop-item:last-child {
    border-bottom: none;
}

.workshop-item.reverse {
    flex-direction: column;
}

.workshop-media {
    flex: 1;
}

.workshop-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.workshop-content {
    flex: 1;
}

.workshop-content h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--dark);
}

.workshop-duration {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Resources - Mobile First */
.resources {
    padding: 40px 0;
    background: #fff;
}

.resources h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--green);
}

.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.resource-section {
    margin-bottom: 48px;
}

.resource-section h4 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--dark);
    text-align: center;
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.resource-card {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #000;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.resource-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: var(--dark);
    border-color: var(--accent);
}

/* Footer - Mobile First */
.site-footer {
    background: #fff;
    color: #000;
    padding-top: 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 1;
}

.footer-left h3 {
    font-size: 36px;
    color: var(--green);
}

.footer-left a {
    color: #000;
    text-decoration: none;
}

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

.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-email svg {
    flex-shrink: 0;
    fill: #000;
}

/* Contact Form */
.contact-form .field {
    display: block;
    margin-bottom: 12px;
    max-width: 100%;
}

.contact-form .label-text {
    display: block;
    color: #000;
    margin-bottom: 6px;
    font-size: 13px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 6px;
    border: 0;
    border-bottom: 2px solid #000;
    background: #fff;
    color: #000;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.contact-form .row {
    display: flex;
    gap: 8px;
}

.contact-form .row .field {
    flex: 1;
    max-width: 50%;
}

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

.char-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}

.char-row #charCount {
    color: #000;
}

.footer-bottom {
    background: #f5f5f5;
    color: #777;
    padding: 16px 0;
    text-align: center;
}

.footer-bottom .container {
    text-align: center;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet Styles (601px+) */
@media (min-width: 601px) {

    .container {
        padding: 0 24px;
    }

    .header-inner {
        padding: clamp(0px, 4vh, 50px) clamp(20px, 2vh, 40px);
    }

    .site-header.header-scrolled .header-inner {
        padding: clamp(0px, 1.5vh, 18px) 40px;
    }

    .logo img {
        height: clamp(35px, 5vw, 70px);
    }

    .hamburger {
        display: none;
    }

    .nav-overlay {
        display: none !important;
    }

    .site-nav {
        padding-top: 15px !important;
        position: fixed;
        right: 20px;
        left: auto;
        top: clamp(0px, 4vh, 50px);
        transform: none;
        padding: 0;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        display: flex;
        flex-direction: row;
        box-shadow: none;
        overflow-y: visible;
        transition: top 0.45s cubic-bezier(0.2, 0.0, 0.0, 1);
        z-index: 1001;
    }

    .site-nav.nav-scrolled {
        top: clamp(0px, 1.5vh, 18px);
    }

    .site-nav a {
        display: block;
        font-size: clamp(10px, 1.5vw, 20px);
        margin: 0 0 0 clamp(12px, 2vw, 16px);
        padding: 0;
        border-bottom: none;
    }

    .hero {
        /* Tablet: use desktop image */
        background-image: url('media/[hero]background_image.jpg');
    }

    .hero-overlay {
        display: none;
    }



    .hero-overlay h1 {
        font-size: clamp(48px, 3.5vw, 72px);
        line-height: 1.1;
    }

    .hero-overlay h2 {
        font-size: clamp(32px, 2.8vw, 52px);
        line-height: 1.15;
        margin: 0 0 24px 30px;
    }

    .hero-quote {
        font-size: 13px;
        line-height: 1.3;
        margin: 0 0 0 45px;
        max-width: clamp(280px, 40vw, 500px);
    }

    .intro {
        padding: 48px 24px;
    }

    .read-more-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .services {
        padding: 48px 0;
    }

    /* Desktop: Left-align workshops, about, contact */
    #workshops .container,
    #about,
    #contact .container {
        text-align: left;
    }

    .footer-bottom .container {
        text-align: center !important;
    }

    #workshops .workshop-item,
    #about {
        align-items: flex-start;
    }

    .workshop-item {
        margin-bottom: 32px;
        padding: 24px 0;
    }

    .workshop-media img {
        height: 250px;
    }

    .resources {
        padding: 48px 0;
    }

    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        padding-top: 40px;
    }

    .testimonial-quote {
        font-size: 20px;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 36px;
    }
  
}

/* Medium Desktop (768px+) - Better nav spacing */
@media (min-width: 768px) {
    .site-nav {
        right: 30px;
    }

    .site-nav a {
        margin: 0 0 0 clamp(14px, 2.5vw, 20px);
    }
}

/* Desktop Styles (901px+) */
@media (min-width: 901px) {

    .hero {
        /* Desktop: use desktop image */
        background-image: url('media/[hero]background_image.jpg');
    }

    .header-inner {
        padding: clamp(0px, 4vh, 40px) clamp(20px, 4vh, 40px);
    }

    .site-header.header-scrolled .header-inner {
        padding: clamp(0px, 1.5vh, 18px) 40px;
    }

    .logo img {
        height: clamp(45px, 5vw, 60px);
    }

    .site-nav {
        right: 40px;
    }

    .site-nav a {
        margin: 0 0 0 clamp(16px, 2.5vw, 24px);
    }

    .hero-overlay {
        left: 20px;
        top: 140px;
        background-color: #ffffff00;
    }


    .hero-overlay h1 {
        font-size: clamp(52px, 4vw, 90px);
        line-height: 1.1;
        margin: 0 0 22px;
        font-weight: 800;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    }

    .hero-overlay h2 {
        font-size: clamp(40px, 3.2vw, 68px);
        line-height: 1.15;
        margin: 0 0 18px 40px;
    }

    .hero-quote {
        font-size: 13px;
        line-height: 1.3;
        margin: 0 0 0 45px;
        max-width: clamp(380px, 45vw, 550px);
    }

    .intro {
        flex-direction: row;
        padding: 64px 0;
    }

    .intro-media-sticky {
        flex: 0 0 280px;
        position: sticky;
        top: 80px;
        align-self: flex-start;
    }

    .features {
        flex-direction: row;
    }

    .services h3 {
        font-size: 36px;
        margin-bottom: 28px;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .test-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-quote {
        font-size: 24px;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 48px;
    }

    .testimonial-quote footer {
        font-size: 18px;
    }

    .workshop-item {
        flex-direction: row;
        margin-bottom: 48px;
        padding: 32px 0;
    }

    .workshop-item.reverse {
        flex-direction: row-reverse;
    }

    .workshop-media {
        flex: 0 0 40%;
    }

    .workshop-media img {
        height: 300px;
    }

    .workshop-content h4 {
        font-size: 22px;
    }

    .resources {
        padding: 64px 0;
    }

    .resources h3 {
        font-size: 36px;
    }

    .resource-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .site-footer {
        padding-top: 48px;
    }

    .footer-inner {
        flex-direction: row;
        
    }

    .footer-left h3 {
        margin-top: 0;
    }
}


@media (min-width: 1350px) {

    .site-nav a {
        margin: 0 0 0 clamp(18px, 2.5vw, 28px);
    }

    .hero-overlay {
        left: 80px;
        top: 170px;
        background-color: #ffffff00;
    }


}