/* ===== Behaviour Tails — Mobile-First Stylesheet ===== */

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Nunito', system-ui, sans-serif;
    line-height: 1.6;
    color: #3a3027;
    background: #faf7f2;
    overflow-x: hidden;
}

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

a { color: #5a7a4a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4a6840; }

ul { list-style: none; }

/* --- Color System --- */
:root {
    --primary: #5a7a4a;
    --primary-dark: #4a6840;
    --primary-light: #7a9a6a;
    --secondary: #d4a574;
    --secondary-dark: #b88a5a;
    --accent: #e8c5a0;
    --success: #5a8a5a;
    --warning: #d4a017;
    --error: #c05050;
    --cream: #faf7f2;
    --cream-dark: #f0ebe2;
    --brown: #6b5a4a;
    --brown-dark: #4a3d30;
    --white: #ffffff;
    --gray: #8a8a8a;
    --gray-light: #e5e0d8;
    --shadow: 0 2px 8px rgba(74, 61, 48, 0.1);
    --shadow-lg: 0 4px 20px rgba(74, 61, 48, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brown-dark);
}

h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 3rem 0; }
.section-alt { background: var(--cream-dark); }
.section-title { text-align: center; font-size: 1.75rem; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--brown); margin-bottom: 2rem; }
.text-center { text-align: center; }
.lead { font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    min-height: 44px;
    line-height: 1.5;
}

.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: var(--white); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-light { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-light:hover { background: var(--cream); color: var(--primary-dark); transform: translateY(-1px); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brown-dark);
    white-space: nowrap;
}
.logo:hover { color: var(--brown-dark); }
.logo-icon { font-size: 1.5rem; }
.logo-img { height: 50px; width: auto; }

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}
.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
}
.main-nav.open { right: 0; }
.main-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-dark);
    border-radius: var(--radius);
    min-height: 44px;
    transition: background var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: var(--primary); color: var(--white); }

.btn-book { display: none; }

.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}
.nav-overlay.show { display: block; }

.site-main { padding-top: 60px; }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(74, 61, 48, 0.7), rgba(90, 122, 74, 0.5));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: 700px;
}
.hero-content h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero-content p { color: rgba(255,255,255,0.95); font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-content .hero-subtitle { font-size: 1.5rem; margin-bottom: 0.5rem; }
.hero-cta { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.intro-heading { font-size: 2.5rem; }

/* --- Intro Section --- */
.intro-grid { display: flex; flex-direction: column; gap: 2rem; }
.intro-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* --- Card Grid --- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { padding: 1rem 1rem 0.5rem; }
.card p { padding: 0 1rem 1.5rem; color: var(--brown); }

/* --- Testimonial Preview --- */
.testimonial-preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-preview blockquote p { font-size: 1.15rem; font-style: italic; color: var(--brown); margin-bottom: 1rem; }
.testimonial-preview cite { color: var(--primary); font-weight: 600; font-style: normal; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--cream-dark), var(--accent));
    padding: 3rem 0 2rem;
    text-align: center;
}
.page-header h1 { font-size: 2rem; }
.page-header p { color: var(--brown); font-size: 1.1rem; }

/* --- About Page --- */
.about-grid { display: flex; flex-direction: column; gap: 2rem; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.philosophy-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.philosophy-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.philosophy-item h3 { margin-bottom: 0.5rem; }
.philosophy-item p { color: var(--brown); margin-bottom: 0; }

.qualifications-list { list-style: none; padding: 0; }
.qualifications-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    padding-left: 2rem;
    position: relative;
}
.qualifications-list li::before { content: '\2713'; color: var(--primary); font-weight: 700; position: absolute; left: 0; }

/* --- Services Page --- */
.service-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}
.service-row-reverse { flex-direction: column; }
.service-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 400px; object-fit: cover; }
.service-content h2 { margin-bottom: 0.75rem; }
.service-features { margin: 1rem 0; }
.service-features li { padding: 0.25rem 0; color: var(--brown); }
.service-pricing { font-size: 1.1rem; color: var(--primary); margin: 1rem 0; }

/* --- Service Areas Page --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.area-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.area-icon { font-size: 1.25rem; }
.area-name { font-weight: 600; color: var(--brown-dark); }

/* --- Testimonials Page --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--secondary); margin-bottom: 0.75rem; font-size: 1.1rem; }
.testimonial-card p { font-style: italic; color: var(--brown); margin-bottom: 1rem; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { color: var(--brown-dark); }
.testimonial-author span { color: var(--primary); font-size: 0.9rem; }

/* --- FAQ Page --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--brown-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--cream-dark); }
.faq-toggle { font-size: 1.5rem; color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 1.25rem 1.25rem; color: var(--brown); margin-bottom: 0; }

/* --- Contact Page --- */
.contact-grid { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { margin: 1.5rem 0; }
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-details strong { display: block; color: var(--brown-dark); margin-bottom: 0.15rem; }
.contact-details a { color: var(--primary); }
.contact-areas-note { color: var(--brown); margin-top: 1rem; }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--brown-dark);
    font-family: 'Quicksand', sans-serif;
}
.required { color: var(--error); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition);
    min-height: 44px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
    display: block;
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 1.2em;
}
.form-group input.error, .form-group textarea.error { border-color: var(--error); }

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.alert-success { background: #e8f5e8; color: var(--success); border: 1px solid var(--success); }
.alert-error { background: #fde8e8; color: var(--error); border: 1px solid var(--error); }

/* --- 404 Page --- */
.error-404 { font-size: 5rem; margin-bottom: 1rem; }

/* --- Footer --- */
.site-footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 3rem 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}
.footer-brand .logo { color: var(--white); }
.footer-brand .logo:hover { color: var(--white); }
.footer-logo img { height: 60px; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { color: var(--accent); margin: 0.5rem 0 1rem; }
.footer-contact { font-size: 0.9rem; line-height: 1.8; color: rgba(250, 247, 242, 0.8); }
.footer-contact a { color: var(--accent); }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links li { padding: 0.25rem 0; }
.footer-links a { color: rgba(250, 247, 242, 0.8); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }
.social-links { display: flex; gap: 1rem; margin-bottom: 1rem; }
.social-links a {
    color: var(--cream);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.social-links a:hover { background: var(--primary); }
.footer-areas { font-size: 0.9rem; color: rgba(250, 247, 242, 0.7); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.6);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 900;
    box-shadow: var(--shadow-lg);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== Tablet (768px+) ===== */
@media (min-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 4rem 0; }

    .hero-content h1 { font-size: 2.75rem; }
    .hero-content p { font-size: 1.25rem; }
    .hero-cta { flex-direction: row; justify-content: center; }
    .logo-img { height: 80px; }

    .intro-grid { flex-direction: row; align-items: center; }
    .intro-text, .intro-image { flex: 1; }

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

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

    .service-row { flex-direction: row; align-items: center; }
    .service-row-reverse { flex-direction: row-reverse; }
    .service-image, .service-content { flex: 1; }

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

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

    .contact-grid { flex-direction: row; align-items: flex-start; }
    .contact-info, .contact-form-wrap { flex: 1; }

    .footer-inner { grid-template-columns: 2fr 1fr 1fr; }

    .about-grid { flex-direction: row; align-items: center; }
    .about-image, .about-text { flex: 1; }
}

/* ===== Desktop (1024px+) ===== */
@media (min-width: 1024px) {
    .hamburger { display: none; }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }
    .main-nav ul { flex-direction: row; gap: 0.25rem; flex-wrap: wrap; }
    .main-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        min-height: auto;
        border-radius: 50px;
    }
    .main-nav a:hover, .main-nav a.active { background: var(--primary); color: var(--white); }

    .btn-book { display: inline-block; }

    .card-grid { grid-template-columns: repeat(4, 1fr); }

    .philosophy-grid { grid-template-columns: repeat(4, 1fr); }

    .areas-grid { grid-template-columns: repeat(4, 1fr); }

    .hero-content h1 { font-size: 3rem; }
}

/* ===== Large Desktop (1440px+) ===== */
@media (min-width: 1440px) {
    .container { padding: 0 2rem; }
    .hero-content h1 { font-size: 3.5rem; }
}
