

:root {
    --cream: #F7F3EB;
    --cream-dark: #E8DFD2;
    --white: #FFFFFF;
    --espresso: #30251F;
    --espresso-light: #514239;
    --gold: #80572F;
    --muted: #75685D;
    --border: #DED4C6;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;

    --container-width: 1200px;
    --section-space: 100px;

    --shadow: 0 12px 35px rgba(48, 37, 31, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--espresso);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: min(90%, var(--container-width));
    margin-inline: auto;
}

.section-padding {
    padding-block: var(--section-space);
}


/* 2. ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

::selection {
    background: var(--espresso);
    color: var(--white);
}


/* 3. HEADER AND NAVIGATION */

.header {
    width: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links .nav-contact {
    background: var(--espresso);
    color: var(--white);
    padding: 12px 24px;
}

.nav-links .nav-contact:hover {
    background: var(--gold);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--espresso);
}


/* 4. HERO SECTION */

.hero {
    padding-top: 65px;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 65px;
}

.hero-text {
    padding-block: 35px;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(46px, 5.5vw, 76px);
    letter-spacing: -2px;
}

h1 span,
h2 span {
    color: var(--gold);
    font-style: italic;
}

.hero-description {
    color: var(--muted);
    max-width: 420px;
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 26px;
    border: 1px solid var(--espresso);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--espresso);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.text-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

.text-link:hover {
    color: var(--gold);
}

.hero-image {
    position: relative;
}

.hero-image img {
    height: 540px;
    object-fit: cover;
}

.image-caption {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--muted);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 35px;
    margin-top: 45px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hero-bottom span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* 5. ABOUT SECTION */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 530px;
    object-fit: cover;
}

.image-number {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 24px;
}

.about-content h2,
.section-heading h2,
.why-grid h2,
.contact-content h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 22px;
    font-size: 14px;
}

.about-content .text-link {
    margin-top: 30px;
}


/* 6. SERVICES SECTION */

.services {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    padding: 38px 30px;
    min-height: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: var(--gold);
}

.service-number {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 22px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-top: 25px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.service-card a {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 22px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
}


/* 7. PORTFOLIO SECTION */

.portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 25px;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
}

.portfolio-card img {
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.025);
}

.portfolio-large {
    grid-row: span 2;
}

.portfolio-large img {
    height: 100%;
    min-height: 665px;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    color: var(--white);
    background: linear-gradient(
        transparent,
        rgba(25, 20, 17, 0.8)
    );
}

.portfolio-info span {
    font-size: 10px;
    letter-spacing: 2px;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    margin-top: 5px;
}


/* 8. WHY CHOOSE US */

.why-us {
    background: var(--cream-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.why-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-item {
    display: flex;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(48, 37, 31, 0.15);
}

.why-item > span {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold);
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 500;
}

.why-item p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}


/* 9. CONTACT SECTION */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.contact-content > p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 25px;
    max-width: 390px;
    font-size: 14px;
}

.contact-details {
    margin-top: 35px;
    font-size: 13px;
    color: var(--muted);
}

.contact-details p {
    margin-top: 10px;
}

.contact-details strong {
    color: var(--espresso);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--cream);
    color: var(--espresso);
    font-size: 13px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
}

.contact-form .btn {
    margin-top: 25px;
    align-self: flex-start;
}

.form-message {
    font-size: 13px;
    margin-top: 12px;
    color: var(--espresso);
}


/* 10. FOOTER */

.footer {
    background: var(--espresso);
    color: var(--white);
    padding-block: 55px 25px;
}

.footer-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.footer-logo {
    color: var(--white);
}

.footer-content > p {
    font-size: 13px;
    color: #D4C8BB;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-block: 30px;
}

.footer-links a {
    font-size: 12px;
    color: #E8DFD2;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-content .copyright {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px;
    margin-top: 15px;
    font-size: 11px;
}


/* 11. TABLET RESPONSIVENESS */

@media (max-width: 900px) {

    :root {
        --section-space: 75px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-image img {
        height: 440px;
    }

    .about-grid,
    .why-grid,
    .contact-grid {
        gap: 45px;
    }

    .about-image img {
        height: 450px;
    }

    .nav-links {
        gap: 18px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 28px 20px;
    }
}


/* 12. MOBILE RESPONSIVENESS */

@media (max-width: 650px) {

    :root {
        --section-space: 65px;
    }

    .container {
        width: min(90%, 520px);
    }

    .navbar {
        min-height: 72px;
    }

    .logo {
        font-size: 21px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 13px 0;
    }

    .nav-links .nav-contact {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        padding-top: 35px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-text {
        padding-block: 10px;
    }

    h1 {
        font-size: clamp(44px, 12vw, 60px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image img {
        height: 370px;
    }

    .hero-bottom {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 35px;
    }

    .hero-bottom span {
        font-size: 9px;
    }

    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image img {
        height: 370px;
    }

    .image-number {
        right: -8px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 35px;
    }

    .section-heading h2,
    .about-content h2,
    .why-grid h2,
    .contact-content h2 {
        font-size: 39px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .portfolio-large {
        grid-row: auto;
    }

    .portfolio-large img,
    .portfolio-card img {
        height: 350px;
        min-height: 0;
    }

    .why-grid {
        gap: 35px;
    }

    .contact-grid {
        gap: 35px;
    }

    .footer-links {
        gap: 15px;
    }
}


/* 13. SMALL MOBILE DEVICES */

@media (max-width: 380px) {

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-image img {
        height: 300px;
    }

    .portfolio-large img,
    .portfolio-card img {
        height: 280px;
    }

    .footer-links {
        gap: 12px;
    }
}


/* 14. REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
