/* CSS Variables & Design System - Organic/Paper Theme */
:root {
    /* Color Palette - Warm & Organic */
    --color-primary: #2C5F58;
    /* Deep Teal - Grounded, Nature */
    --color-primary-light: #5A8F87;
    --color-secondary: #D4A373;
    /* Warm Earthy Tone */
    --color-accent: #E99F7A;
    /* Soft Terracotta/Peach */

    --color-background: #FDFBF7;
    /* Warm Cream / Paper White */
    --color-background-alt: #F3EFE9;
    /* Beige / Recycled Paper */
    --color-surface: #FFFFFF;

    --color-text-dark: #3E3C38;
    /* Soft Black / Dark Brown-Grey */
    --color-text-light: #6B6863;
    --color-border: #E0DCD5;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    /* Round, Friendly */
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Organic Shapes (Border Radius) */
    --radius-soft: 8px;
    --radius-organic-1: 255px 15px 225px 15px / 15px 225px 15px 255px;
    --radius-organic-2: 15px 225px 15px 255px / 255px 15px 225px 15px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(44, 95, 88, 0.08);
    /* Colored shadow */
    --shadow-paper: 0 4px 15px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-base: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-soft);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

/* Buttons - Organic Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    /* Full pill shape */
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-base);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(44, 95, 88, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-surface);
    transform: translateY(-3px);
}

/* Header & Navigation */
.site-header {
    background-color: rgba(253, 251, 247, 0.9);
    /* Transparent Cream */
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    height: auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

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

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 3px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-base);
    border-radius: 2px;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-cta.btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    background-color: var(--color-accent);
    /* Pop of color in nav */
    color: #fff;
    box-shadow: none;
}

.nav-cta.btn:hover {
    background-color: var(--color-secondary);
}

.nav-cta.btn:hover::after {
    width: 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 8rem 0;
    background-image: linear-gradient(rgba(44, 95, 88, 0.4), rgba(44, 95, 88, 0.4)), url("../imgs/hero-image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-surface);
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-surface);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.hero-desc {
    color: var(--color-surface);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero .btn-outline {
    color: #fff;
    border-color: #fff;
}

.hero .btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Organic Containers & Cards */
.service-card,
.faq-item,
.method-item,
.pricing-table-wrapper,
.contact-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-organic-1);
    /* Random organic shape */
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-base);
}

.faq-item {
    margin-bottom: 1rem;
}

.service-card:nth-child(2n) {
    border-radius: 20px;
}

/* Alternate shapes */
.service-card:nth-child(3n) {
    border-radius: var(--radius-organic-2);
}

.service-card:hover,
.method-item:hover,
.faq-item:hover {
    transform: translateY(-5px) rotate(1deg);
    /* Subtle playful movement */
    box-shadow: 0 15px 35px rgba(44, 95, 88, 0.12);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

/* Decorative underline for headings */
.section-header h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
    border-radius: 2px;
    opacity: 0.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-list li::before {
    content: '➜';
    color: var(--color-accent);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 1px;
}

/* About Section */
.about {
    background-color: var(--color-background-alt);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    height: 450px;
    border-radius: var(--radius-organic-2);
    background-color: #E6E1D8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    object-fit: cover;
}

/* Methodology */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.method-item {
    border-radius: 20px;
    /* Softer rect for these */
    padding: 2rem;
    text-align: center;
}

.method-item i {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

.methodology-quote {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-surface);
    border-radius: 50% / 10%;
    /* Ellipse-ish */
    box-shadow: var(--shadow-paper);
}

/* Pricing */
.pricing {
    background-color: var(--color-background-alt);
}

.pricing-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    /* Ensure responsiveness for small screens */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Minimum width to keep content readable, triggers overflow */
}

.pricing-table th {
    background-color: var(--color-primary);
    color: #fff;
    padding: 1.5rem;
    text-align: left;
    /* Ensure alignment */
}

.pricing-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-dark);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

/* Values in table specific styling */
.pricing-table td:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

.cancellation-policy {
    margin-top: 2rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
}

.contact-info {
    background-color: var(--color-primary);
    color: #fff;
    padding: 4rem 3rem;
}

.contact-info h3,
.contact-info p,
.contact-info i {
    color: #fff;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    padding-top: 5px;
}

.contact-info a {
    text-decoration: underline;
    opacity: 0.9;
}

.contact-form-wrapper {
    padding: 4rem 3rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-background-alt);
    border: 2px solid transparent;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #fff;
    border-color: var(--color-primary);
    outline: none;
}

/* Motto */
.motto {
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    /* Angled edges */
    margin: 4rem 0;
    padding: 10rem 0;
}

.motto blockquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background-color: #262422;
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0;
    font-size: 0.9rem;
}

.site-footer a {
    text-decoration: none;
    opacity: 0.9;
}

.site-footer a:hover {
    color: var(--color-primary);
    transition: var(--transition-base);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        /* Stack contact on smaller tablets/phones */
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: var(--color-background);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        z-index: 999;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image .img-placeholder {
        height: 300px;
    }

    .motto {
        clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
        padding: 5rem 0;
        margin: 2rem 0;
    }

    /* Adjust padding for organic containers on mobile to save space */
    .service-card,
    .faq-item,
    .method-item {
        padding: 1.5rem;
    }

    .services-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Phone specific tweaks */
    .container {
        width: 95%;
        padding: 0 var(--spacing-sm);
    }

    .hero {
        align-items: center;
        /* Center vertically if possible */
        text-align: center;
        padding: 6rem 0 4rem 0;
        /* Adjust for header */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
    }
}