/* ==========================================================================
   Build in Amsterdam — Template Styles
   Editorial design with serif headings, split-screen layouts, gold accent
   ========================================================================== */

:root {
    /* Colors */
    --color-bg: #F5F1EB;
    --color-dark: #1A1A1A;
    --color-dark-section: #2C2B28;
    --color-text: #1A1A1A;
    --color-text-muted: #8A8680;
    --color-text-light: #F5F1EB;
    --color-accent: #C8944A;
    --color-border: #D4CFC8;
    --color-white: #FFFFFF;

    /* Typography */
    --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Spacing */
    --container-padding: 80px;
    --section-gap: 0;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.4;
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--color-text-muted);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 24px;
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.6;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--container-padding);
    mix-blend-mode: difference;
}

.nav-logo a {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-cta {
    font-weight: 500 !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-hamburger.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--color-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text-light);
    transition: opacity 0.3s ease;
}

.mobile-menu-link:hover {
    opacity: 0.6;
}

/* ==========================================================================
   Hero Section — Split Screen
   ========================================================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-image {
    position: relative;
    overflow: hidden;
    background: #D4CFC8;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px var(--container-padding);
    background: var(--color-dark-section);
    color: var(--color-text-light);
    position: relative;
}

.hero-content .section-label {
    color: rgba(245, 241, 235, 0.5);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    color: var(--color-text-light);
}

.hero-content .text-muted {
    color: rgba(245, 241, 235, 0.4);
}

.hero-accent {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro {
    padding: 120px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.35;
    color: var(--color-text);
}

.intro-description {
    padding-top: 8px;
}

.intro-description p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 440px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
    padding: 100px 0 120px;
    border-top: 1px solid var(--color-border);
}

.services-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 80px;
    max-width: 700px;
}

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

.service-card {
    padding: 48px 40px;
    border-top: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}

.service-card:hover {
    background: rgba(0, 0, 0, 0.02);
}

.service-number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 380px;
}

/* Odd cards get right border on desktop */
.service-card:nth-child(odd) {
    border-right: 1px solid var(--color-border);
}

/* ==========================================================================
   Image Break
   ========================================================================== */

.image-break {
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 120px 0;
}

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

.about-heading {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 500px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-top: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   CTA Section — Split Screen (like hero)
   ========================================================================== */

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.cta-image {
    position: relative;
    overflow: hidden;
    background: #D4CFC8;
}

.cta-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px var(--container-padding);
    background: var(--color-dark-section);
    color: var(--color-text-light);
    position: relative;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.05;
    color: var(--color-text-light);
}

.cta-content .text-muted {
    color: rgba(245, 241, 235, 0.4);
}

.cta-accent {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 120px 0;
}

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

.contact-images {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.contact-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 48px;
}

.contact-block {
    margin-bottom: 32px;
}

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

.contact-block a,
.contact-block span {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: var(--color-text);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-text);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.footer-contact a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive — Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --container-padding: 40px;
    }

    .hero {
        min-height: 90vh;
    }

    .intro-grid {
        gap: 48px;
    }

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

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }
}

/* ==========================================================================
   Responsive — Mobile (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 24px;
    }

    /* Nav */
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image {
        height: 50vh;
    }

    .hero-content {
        padding: 60px var(--container-padding) 80px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-accent {
        width: 36px;
        height: 36px;
        bottom: 24px;
    }

    /* Intro */
    .intro {
        padding: 80px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .intro-text {
        font-size: 1.375rem;
    }

    /* Services */
    .services {
        padding: 80px 0;
    }

    .services-heading {
        margin-bottom: 48px;
    }

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

    .service-card {
        padding: 32px 0;
    }

    .service-card:nth-child(odd) {
        border-right: none;
    }

    /* Image Break */
    .image-break {
        height: 40vh;
    }

    /* About */
    .about {
        padding: 80px 0;
    }

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

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat {
        min-width: 120px;
    }

    /* CTA Section */
    .cta-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cta-image {
        height: 40vh;
    }

    .cta-content {
        padding: 60px var(--container-padding) 80px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-accent {
        width: 36px;
        height: 36px;
        bottom: 24px;
    }

    /* Contact */
    .contact {
        padding: 80px 0;
    }

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

    .contact-images {
        aspect-ratio: 16 / 10;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   Responsive — Small Mobile (≤ 480px)
   ========================================================================== */

@media (max-width: 480px) {
    :root {
        --container-padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .intro-text {
        font-size: 1.25rem;
    }

    .services-heading {
        font-size: 1.75rem;
    }

    .about-heading {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .mobile-menu-link {
        font-size: 2rem;
    }
}
