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

:root {
    --terracotta: #C4623A;
    --terracotta-dark: #A84E2C;
    --terracotta-light: #D4856A;
    --sand: #F5EDE3;
    --sand-dark: #E8DDD0;
    --sand-light: #FBF7F3;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --cream: #FFF9F5;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 98, 58, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-dark);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--charcoal-light);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--terracotta);
}

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

.nav-cta {
    background-color: var(--terracotta);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--terracotta-dark);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, var(--sand) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(44, 36, 32, 0.15);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--terracotta);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.2;
}

/* About */
.about {
    padding: 8rem 2rem;
    background-color: var(--sand);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--charcoal-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sand-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--charcoal-light);
    letter-spacing: 0.05em;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(44, 36, 32, 0.12);
}

/* Services */
.services {
    padding: 8rem 2rem;
    background-color: var(--cream);
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--sand-dark);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(44, 36, 32, 0.1);
    border-color: var(--terracotta-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--sand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--terracotta);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* Why Us */
.why-us {
    padding: 8rem 2rem;
    background-color: var(--charcoal);
    color: var(--white);
}

.why-us-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content .section-label {
    color: var(--terracotta-light);
}

.why-us-content .section-title {
    color: var(--white);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.why-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.5rem;
}

.why-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracotta);
    padding-top: 0.25rem;
}

.why-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.why-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.why-us-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact {
    padding: 8rem 2rem;
    background-color: var(--sand);
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    font-size: 1.0625rem;
    color: var(--charcoal-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 0.25rem;
}

.contact-item a {
    font-size: 1rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--terracotta);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(44, 36, 32, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--sand-dark);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--sand-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(196, 98, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-light);
    opacity: 0.6;
}

.form-success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--sand);
    border-radius: 4px;
    color: var(--terracotta-dark);
    font-size: 0.9375rem;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* Map */
.map-section {
    background-color: var(--charcoal);
}

.map-section iframe {
    filter: grayscale(30%);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .why-us-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image img,
    .about-image img,
    .why-us-image img {
        height: 500px;
    }

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

    .hero {
        padding-top: 7rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-image img {
        height: 400px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .why-item {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .about,
    .services,
    .why-us,
    .contact {
        padding: 5rem 1rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .navbar,
    .map-section,
    .contact-form-wrapper {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero,
    .about,
    .services,
    .why-us,
    .contact {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}
