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

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4845E;
    --sand: #F5E6D3;
    --sand-light: #FBF5ED;
    --sand-dark: #E8D5C0;
    --cream: #FFFDF9;
    --text-dark: #3A2218;
    --text-mid: #6B4C3B;
    --text-light: #9A7B6A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(62, 34, 24, 0.06);
    --shadow-md: 0 4px 20px rgba(62, 34, 24, 0.1);
    --shadow-lg: 0 8px 40px rgba(62, 34, 24, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SIDE NAV ===== */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: var(--terracotta);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform var(--transition);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sand-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(245, 230, 211, 0.2);
}

.nav-logo {
    color: var(--sand-light);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(245, 230, 211, 0.7);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.nav-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 211, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-phone:hover {
    color: var(--white);
}

/* ===== MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--terracotta);
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(58, 34, 24, 0.5);
    z-index: 90;
    backdrop-filter: blur(4px);
}

/* ===== CONTENT ===== */
.content {
    margin-left: 240px;
    min-height: 100vh;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192, 96, 58, 0.45);
}

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

.btn-secondary:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 48px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--terracotta) 1px, transparent 0);
    background-size: 32px 32px;
}

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

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.hero h1 em {
    color: var(--terracotta);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--terracotta);
    opacity: 0.5;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--sand-light);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sand-dark);
    background: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.about-stats {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat {
    background: var(--terracotta);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.value-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62, 34, 24, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-md);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
}

.testimonials .section-eyebrow {
    color: var(--sand);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-desc {
    color: rgba(245, 230, 211, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(245, 230, 211, 0.9);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    border-radius: 50%;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-item a {
    color: var(--terracotta);
    font-weight: 600;
    transition: color var(--transition);
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== FORM ===== */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--sand-light);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: rgba(245, 230, 211, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sand);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--sand);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .side-nav {
        transform: translateX(-100%);
    }

    .side-nav.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .overlay.show {
        display: block;
    }

    .content {
        margin-left: 0;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .hero-floating-card {
        left: 10px;
        bottom: 20px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-secondary {
        right: 0;
    }

    .about-stats {
        right: 0;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 80px 20px 60px;
    }

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

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

    .hero-actions .btn {
        justify-content: center;
    }

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

    .about-img-secondary {
        display: none;
    }

    .about-stats {
        position: relative;
        top: 0;
        right: 0;
        flex-direction: row;
        margin-top: 20px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

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

    .contact-form-wrapper {
        padding: 24px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .services,
    .about,
    .gallery,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
}
