/* ===== CSS Custom Properties ===== */
:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #F0D5CC;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-body: #3D3D3D;
    --text-muted: #7A7A7A;
    --text-light: #A0A0A0;
    --line: #E8DDD8;
    --line-light: #F0E8E4;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --container: 1200px;
    --radius: 4px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ===== Top Decorative Line ===== */
.top-line {
    height: 2px;
    background: linear-gradient(90deg, var(--burgundy), var(--blush-mid), var(--burgundy));
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 2px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-light);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--burgundy);
    border-radius: 50%;
    position: relative;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--blush);
    border-radius: 50%;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--burgundy);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition);
    transform-origin: center;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border: 1.5px solid var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.2);
}

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

.btn--outline:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    padding-top: 140px;
    padding-bottom: 6rem;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 230, 224, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container--split {
    gap: 3rem;
    align-items: stretch;
}

.hero-content {
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline .accent {
    color: var(--burgundy);
    font-style: italic;
    font-weight: 300;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
}

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

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-detail svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.hero-image {
    position: relative;
}

.hero-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--blush);
}

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

.hero-img-wrap:hover img {
    transform: scale(1.02);
}

.hero-img-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--burgundy);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.3;
}

/* ===== Divider ===== */
.divider {
    padding: 0;
}

.divider-line {
    height: 1px;
    background: var(--line);
    margin: 0 auto;
    max-width: var(--container);
    padding: 0 2rem;
}

/* ===== Section Shared ===== */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title .accent {
    color: var(--burgundy);
    font-style: italic;
}

/* ===== Services ===== */
.services {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-card {
    padding: 2rem;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transition: all var(--transition);
    background: var(--cream);
}

.service-card:hover {
    border-color: var(--burgundy);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 45, 59, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    color: var(--burgundy);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===== About ===== */
.about {
    padding: 6rem 0;
    background: var(--cream);
}

.about .container--split {
    gap: 4rem;
    align-items: stretch;
}

.about-image {
    position: relative;
}

.about-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 6/7;
    background: var(--blush);
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-text em {
    color: var(--burgundy);
    font-style: italic;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--line);
    flex-shrink: 0;
}

/* ===== Gallery ===== */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--blush);
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(92, 31, 43, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 400;
    font-style: italic;
}

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

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

/* ===== Contact ===== */
.contact {
    padding: 6rem 0;
    background: var(--burgundy);
    color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact .section-eyebrow {
    color: var(--blush-mid);
}

.contact .section-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.contact .section-title .accent {
    color: var(--blush);
}

.contact-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

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

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.7;
}

.contact-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    transition: color var(--transition);
    line-height: 1.6;
}

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

/* ===== Contact Form ===== */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--text-dark);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    font-weight: 300;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-dark);
}

.form-success svg {
    color: var(--burgundy);
    margin-bottom: 1.25rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

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

.footer-contact a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact span {
    font-size: 0.875rem;
    font-weight: 300;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container--split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

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

    .hero-img-wrap {
        aspect-ratio: 3/4;
    }

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

    .about .container--split {
        gap: 2.5rem;
    }

    .about-img-wrap {
        aspect-ratio: 4/5;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 247, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

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

    .hero-actions .btn {
        text-align: center;
    }

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

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

    .stat-divider {
        width: 48px;
        height: 1px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 1.75rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-img-accent {
        display: none;
    }

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

    .gallery-item {
        aspect-ratio: 4/3;
    }
}
