* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-beige: #F5F1E8;
    --warm-taupe: #8B7A6B;
    --sage-green: #9CAF88;
    --charcoal-grey: #2C2C2C;
    --cream-white: #FAF8F3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--soft-beige);
    color: var(--charcoal-grey);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: var(--charcoal-grey);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--warm-taupe);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sage-green);
}

header {
    background-color: var(--cream-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--warm-taupe);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal-grey);
    transition: all 0.3s ease;
}

.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);
}

section {
    margin: 2rem 0;
    padding: 2rem 1rem;
}

section.hero {
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--charcoal-grey);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 241, 232, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--warm-taupe);
    color: var(--cream-white);
}

.btn-primary:hover {
    background-color: var(--sage-green);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--warm-taupe);
    border: 2px solid var(--warm-taupe);
}

.btn-secondary:hover {
    background-color: var(--warm-taupe);
    color: var(--cream-white);
    transform: scale(1.05);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--cream-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: scrollReveal 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--warm-taupe);
    margin-bottom: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

.content-section {
    background-color: var(--cream-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--warm-taupe);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--sage-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--cream-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--charcoal-grey);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--warm-taupe);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background-color: var(--soft-beige);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
}

footer {
    background-color: var(--charcoal-grey);
    color: var(--cream-white);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--sage-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
    color: var(--cream-white);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.privacy-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.privacy-links a {
    font-size: 0.9rem;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal-grey);
    color: var(--cream-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.privacy-popup.show {
    display: block;
}

.privacy-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.privacy-popup p {
    margin: 0;
    flex: 1;
}

.privacy-popup-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-popup-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-popup-buttons .btn-accept {
    background-color: var(--sage-green);
    color: var(--charcoal-grey);
}

.privacy-popup-buttons .btn-decline {
    background-color: transparent;
    color: var(--cream-white);
    border: 2px solid var(--cream-white);
}

.privacy-popup-buttons button:hover {
    transform: scale(1.05);
}

.legal-page {
    padding: 2rem 1rem;
}

.legal-page .container {
    max-width: 900px;
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--cream-white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
        z-index: 999;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--soft-beige);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-popup-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .privacy-popup-buttons button {
        width: 100%;
    }
}

@media (min-width: 769px) {
    nav {
        display: block !important;
    }
}

