/* =========================
   RESET
========================= */

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

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

html {
    scroll-behavior: smooth;
}

:root {
    --black: #171412;
    --white: #FFFFFF;
    --rose: #C8938D;
    --rose-dark: #B77D77;
    --text: #2B211C;
    --text-light: #6F625A;
    --bg-soft: #F8F4EF;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

/* =========================
   GLOBAL
========================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

section {
    padding: 110px 0;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.02;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
}

h3 {
    font-size: 1.4rem;
}

p {
    color: var(--text-light);
}

.eyebrow {
    color: var(--rose);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 18px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-heading h2 {
    margin-bottom: 16px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

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

.btn-primary:hover {
    background: var(--rose-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.45);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.08);
}

/* =========================
   HEADER
========================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 32px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}

.logo-text small {
    font-size: .8rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
}

.nav-cta {
    background: var(--rose);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    background-image:
        linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.35)
        ),
        url('../images/custom-web-design-workspace.webp');

    background-size: cover;
    background-position: center right;

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 28px;
}

.hero-description {
    color: rgba(255,255,255,.92);
    font-size: 1.2rem;
    margin-bottom: 42px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* =========================
   BENEFITS
========================= */

.benefits {
    background: var(--bg-soft);
}

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

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

.benefit-icon {
    color: var(--rose);
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

/* =========================
   PORTFOLIO
========================= */

.work-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
}

.work-card h3 {
    margin-bottom: 10px;
}

.work-image {
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.work-card:hover .work-image img {
    transform: scale(1.03);
    transition: transform .3s ease;
}

.project-link {
    color: var(--rose);
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   WHY SECTION
========================= */

.why-section {
    background: #fcfaf8;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.why-item {
    margin-bottom: 36px;
}

/* =========================
   CTA
========================= */

.final-cta {
    background: var(--black);
    color: white;
    text-align: center;
}

.final-cta p {
    color: rgba(255,255,255,.8);
}

.final-cta h2 {
    color: white;
    margin-bottom: 20px;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #111;
    padding: 40px 0;
}

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

.footer p {
    color: rgba(255,255,255,.7);
}

/* =========================
   MOBILE
========================= */

.menu-toggle {
    display: none;
}

@media (max-width: 992px) {

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
    }

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

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

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

@media (max-width: 768px) {

    section {
        padding: 80px 0;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .site-header {
        top: 10px;
    }
}
