
/* ==========================================
   KITH & CASA — MAIN STYLESHEET
   Brand: Ivory / Gold / Black
========================================== */

:root {
    --ivory: #F8EBDD;
    --gold: #B88932;
    --gold-dark: #91651E;
    --black: #171512;
    --white: #FFFFFF;
    --muted: #77716A;
    --champagne: #E9DDCC;
    --border: #EAE2D5;
    --shadow: 0 12px 35px rgba(40, 30, 15, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    background: var(--ivory);
    line-height: 1.7;
}

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

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

button, input, textarea, select {
    font: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

.section-padding {
    padding: 95px 0;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ivory);
    border-bottom: 1px solid rgba(184, 137, 50, 0.18);
}

.navbar {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.brand img {
    width: 175px;
    max-height: 70px;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--gold-dark);
}

.nav-links .nav-cta {
    background: var(--black);
    color: var(--white);
    padding: 13px 19px;
}

.nav-links .nav-cta:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px;
    background: var(--black);
}

/* TYPOGRAPHY */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
    font-size: 1.55rem;
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

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

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

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 0.9rem;
}

.gold-line {
    width: 65px;
    height: 2px;
    background: var(--gold);
    margin: 30px auto 0;
}

/* BUTTONS */

.button {
    display: inline-block;
    padding: 15px 25px;
    border: 1px solid transparent;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.button-gold {
    background: var(--gold);
    color: var(--black);
}

.button-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: var(--gold-dark);
}

.button-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.8);
}

.button-outline:hover {
    background: var(--white);
    color: var(--black);
}

.center-action {
    text-align: center;
    margin-top: 40px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #50483E;
    background-image: url("../assets/images/hero-home.jpg");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,13,10,0.78), rgba(15,13,10,0.25));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 90px;
    padding-bottom: 90px;
    color: var(--white);
}

.hero-content .eyebrow {
    color: #E6C98F;
}

.hero-content h1 {
    max-width: 780px;
}

.hero-content h1 span {
    display: block;
    color: #E8C982;
}

.hero-description {
    max-width: 570px;
    margin-top: 22px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-location {
    margin-top: 24px;
    font-size: 0.72rem;
    letter-spacing: 1px;
}

/* INTRODUCTION */

.introduction {
    background: var(--ivory);
}

.intro-content {
    max-width: 760px;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 22px;
}

.intro-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 2;
}

/* SERVICES */

.services {
    background: #F3E8D9;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-service-card,
.service-card,
.detail-card,
.founder-card,
.value-card,
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-width: 0;
}

.home-service-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-service-image {
    display: block;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-service-info {
    padding: 27px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-service-info h3 {
    margin: 7px 0 13px;
}

.home-service-info > p:not(.service-category) {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.9;
    margin-bottom: 22px;
}

.home-service-info .text-link {
    margin-top: auto;
    align-self: flex-start;
}

.service-category {
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.text-link {
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.text-link:hover {
    color: var(--black);
}

.text-link span {
    margin-left: 7px;
}

/* SERVICE IMAGE PATHS */

.cleaning-image {
    background-image: url("../assets/images/cleaning.jpg");
}

.move-in-image {
    background-image: url("../assets/images/move-in.jpg");
}

.move-out-image {
    background-image: url("../assets/images/move-out.jpg");
}

.painting-image {
    background-image: url("../assets/images/painting.jpg");
}

/* DETAILED SERVICES */

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.detail-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.detail-image {
    width: 100%;
    height: 270px;
    flex: 0 0 270px;
    background-size: cover;
    background-position: center;
}

.detail-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.detail-content h2 {
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.detail-content > p:not(.service-category) {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.9;
    margin-bottom: 17px;
}

.detail-content .button {
    align-self: flex-start;
    margin-top: auto;
}

/* ABOUT */

.about {
    background: var(--ivory);
}

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

.about-image {
    min-height: 480px;
    background: var(--champagne) url("../assets/images/about-home.jpg") center/cover no-repeat;
}

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

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 2;
    margin-bottom: 18px;
}

.about-content .button {
    margin-top: 15px;
}

/* FOUNDERS */

.founders-section {
    background: #F3E8D9;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 950px;
    margin: 0 auto;
}

.founder-card {
    overflow: hidden;
}

.founder-photo {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 30%;
    background: var(--champagne);
}

.founder-info {
    padding: 28px;
}

.founder-info h3 {
    margin: 8px 0 15px;
}

.founder-info p:not(.service-category) {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.9;
}

/* PROCESS */

.how-we-work {
    background: var(--ivory);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    padding: 27px;
    background: var(--white);
    border: 1px solid var(--border);
}

.process-card span {
    display: inline-block;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

/* VALUES */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.value-card {
    padding: 30px;
}

.value-card h3 {
    margin: 8px 0 13px;
}

.value-card p:last-child {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.9;
}

/* SERVICE AREA */

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

.area-content {
    max-width: 760px;
}

.area-content h2 {
    margin-bottom: 20px;
}

.area-content > p:not(.eyebrow) {
    color: #D0C8BC;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* GALLERY */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-button {
    padding: 11px 17px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--black);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
}

.gallery-filter-button:hover,
.gallery-filter-button.active {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.gallery-card {
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.gallery-card[hidden] {
    display: none;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-card-info {
    padding: 25px;
}

.gallery-card-info h3 {
    margin: 7px 0 12px;
}

.gallery-card-info p:last-child {
    color: var(--muted);
    font-size: 0.82rem;
}

.gallery-disclaimer {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 35px;
}

/* CONTACT */

.contact-details {
    background: #F3E8D9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.contact-card {
    padding: 28px;
}

.contact-card h3 {
    margin: 8px 0 12px;
}

.contact-card p:last-child {
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.8;
}

/* QUOTE FORM */

.quote-section {
    background: var(--ivory);
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
    align-items: start;
}

.quote-heading h2 {
    margin-bottom: 20px;
}

.quote-heading > p:last-child {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.9;
}

.quote-form {
    background: var(--white);
    padding: 35px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.77rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #DCD3C6;
    background: #FFFEFC;
    color: var(--black);
    outline: none;
    font-size: 0.82rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-button {
    width: 100%;
}

.form-notice {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.7;
    margin-top: 17px;
}

/* FOOTER */

.footer {
    background: var(--black);
    color: var(--white);
    border-top: 3px solid var(--gold);
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 35px;
    padding-bottom: 50px;
}

.footer-brand img {
    width: 180px;
    background: var(--ivory);
    padding: 10px;
    margin-bottom: 20px;
}

.footer-brand p,
.footer-column p {
    color: #BDB5A9;
    font-size: 0.78rem;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    color: #E8C982;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-column a {
    color: #BDB5A9;
    font-size: 0.75rem;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #39352E;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
    color: #A69E92;
    font-size: 0.7rem;
}

/* RESPONSIVE TABLET */

@media (max-width: 950px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.68rem;
    }

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

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

    .about-grid {
        gap: 35px;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 700px) {
    .section-padding {
        padding: 65px 0;
    }

    .navbar {
        min-height: 75px;
    }

    .brand img {
        width: 145px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ivory);
        padding: 20px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 5px;
        font-size: 0.82rem;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        min-height: 490px;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-services-grid,
    .detailed-services-grid,
    .founders-grid,
    .values-grid,
    .gallery-grid,
    .contact-grid,
    .quote-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .home-service-image {
        height: 230px;
    }

    .detail-image {
        height: 230px;
        flex-basis: 230px;
    }

    .founder-photo {
        height: 380px;
    }

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

    .about-image {
        min-height: 330px;
    }

    .quote-grid {
        gap: 35px;
    }

    .quote-form {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 7px;
    }

    .gallery-filter-button {
        padding: 9px 11px;
        font-size: 0.67rem;
    }
}
