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

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

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

html {
    scroll-behavior: smooth;
}

/* =========================
   VARIABLES
========================= */

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

/* =========================
   BASE
========================= */

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

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);
}

/* =========================
   LAYOUT
========================= */

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

section {
    padding: 110px 0;
}

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

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

/* =========================
   TYPOGRAPHY
========================= */

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

/* =========================
   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 & NAV
========================= */

.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;
}

.page-header {
    position: relative;
    background: var(--bg-soft);
    padding: 24px 0;
}


.menu-toggle {
    display: none;
}

/* Dark header variant (contact, services, thank you pages) */

.dark-logo {
    color: var(--text);
}

.dark-logo .logo-mark {
    border: 1px solid rgba(0,0,0,.12);
}

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

.page-nav .nav-cta {
    color: white;
}

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

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

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

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

/* =========================
   HOMEPAGE 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;
}

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

.page-hero {
    padding: 120px 0 80px;
    background: var(--bg-soft);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 24px;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
}
/* =========================
   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-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

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

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

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

.final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta .eyebrow {
    margin-bottom: 24px;
}

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

.final-cta-copy {
    color: rgba(255,255,255,.8);
    max-width: 560px;
    margin: 0 auto 42px;
}

.final-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rose);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.final-cta-button:hover {
    background: var(--rose-dark);
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 100px 0;
}

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

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 24px;
}

.contact-detail {
    margin-top: 32px;
}

.contact-detail h3 {
    margin-bottom: 8px;
}

.contact-detail a {
    color: var(--rose);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-weight: 600;
    color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    display: block;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--rose);
}

.contact-form button {
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-top: 10px;
}

/* =========================
   ABOUT PAGE
========================= */

.about-section {
    background: white;
}

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

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 20px;
}

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

.about-story {
    background: white;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    margin-bottom: 24px;
}

.story-content p {
    margin-bottom: 20px;
}

/* =========================
   SERVICES PAGE
========================= */

.packages-section {
    padding: 100px 0;
    background: var(--white);
}

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

.package-card {
    border: 1px solid #ede8e3;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}

.package-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.package-image {
    height: 180px;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-image img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.package-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--rose);
    margin-bottom: 8px;
}

.package-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}

.package-body > p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.package-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    font-size: .95rem;
}

.package-features li::before {
    content: '✦';
    color: var(--rose);
    font-size: .7rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.package-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #ede8e3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.package-code {
    font-size: .8rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.bundle-section {
    background: var(--black);
    padding: 80px 0;
}

.bundle-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.bundle-card .eyebrow {
    color: var(--rose);
}

.bundle-card h2 {
    color: white;
    margin-bottom: 16px;
}

.bundle-card > p {
    color: rgba(255,255,255,.75);
    max-width: 560px;
    margin: 0 auto 40px;
}

.bundle-price {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--rose);
    margin-bottom: 36px;
}

.bundle-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.bundle-tag {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: .9rem;
}

.addons-section {
    padding: 100px 0;
    background: var(--bg-soft);
}

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

.addon-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #ede8e3;
    transition: box-shadow .3s ease;
}

.addon-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

.addon-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rose);
    margin-bottom: 8px;
}

.addon-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.addon-card p {
    font-size: .9rem;
    line-height: 1.6;
}

.addon-badge {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--rose);
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-cta {
    background: var(--white);
    padding: 100px 0;
    text-align: center;
}

.services-cta h2 {
    margin-bottom: 20px;
}

.services-cta p {
    max-width: 520px;
    margin: 0 auto 40px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .nav-menu {
        display: none;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(23, 20, 18, 0.96);
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .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;
    }

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

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

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

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

@media (max-width: 768px) {

    section {
        padding: 80px 0;
    }

    .hero {
        min-height: 100vh;
        background-position: center right;
    }

    .hero-content {
        text-align: center;
        padding-top: 120px;
    }

    .hero-content .eyebrow {
        max-width: 320px;
        margin: 80px auto 24px;
        font-size: 0.72rem;
        letter-spacing: 2px;
        line-height: 1.8;
    }

    h1 {
        font-size: 3rem;
        line-height: 1.05;
    }

    .hero-description {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
        line-height: 1.7;
    }

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

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

    .site-header {
        top: 10px;
    }

    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-form {
        padding: 28px;
    }
}

@media (max-width: 600px) {

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

    .bundle-price {
        font-size: 2.2rem;
    }
}
