/* ===========================================================================
   DLK Total Property Care Co. — Editorial boutique theme
   Palette: navy #2c3252 · cream #f5efe6 · blush #e8c9be · gold #b89b5e
   Fonts:   Cormorant Garamond (serif headlines) + Montserrat (sans body)
   =========================================================================== */

:root {
    --navy:   #2c3252;
    --navy-dk:#1a1e33;
    --cream:  #f5efe6;
    --cream-2:#efe7da;
    --blush:  #e8c9be;
    --gold:   #b89b5e;
    --sage:   #7c8060;
    --ink:    #211f24;
    --muted:  #6b6a70;
    --white:  #ffffff;
    --radius: 4px;
    --shadow: 0 10px 30px rgba(33,31,36,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    color: var(--ink);
    background-color: var(--cream);
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

p { margin-bottom: 1rem; }

.eyebrow {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 0.9rem;
}

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

/* ---------- Buttons ---------- */
.btn-dlk,
.btn-dlk-cta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 0.75rem 1.7rem;
    border-radius: 40px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--white);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-dlk:hover, .btn-dlk-cta:hover { background: var(--navy-dk); color: var(--white); transform: translateY(-1px); }
.btn-dlk-outline {
    background: transparent;
    color: var(--navy);
}
.btn-dlk-outline:hover { background: var(--navy); color: var(--white); }
.btn-dlk-light {
    background: var(--cream);
    color: var(--navy);
    border-color: var(--cream);
}
.btn-dlk-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Navbar ---------- */
.navbar-dlk {
    background: var(--cream);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44,50,82,0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: saturate(1.1);
}
.navbar-dlk .navbar-brand { display: flex; flex-direction: column; line-height: 1; }
.navbar-dlk .brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--navy);
    letter-spacing: 0.04em;
}
.navbar-dlk .brand-words {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}
.navbar-dlk .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 0.5rem 0.9rem;
    position: relative;
}
.navbar-dlk .nav-link:hover { color: var(--gold); }
.navbar-dlk .nav-link.active { color: var(--gold); }
.navbar-dlk .nav-link.active::after {
    content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.2rem;
    height: 1px; background: var(--gold);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-cream  { background: var(--cream); }
.section-cream2 { background: var(--cream-2); }
.section-navy   { background: var(--navy); color: var(--cream); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy .eyebrow { color: var(--blush); }
.section-blush  { background: var(--blush); }
.section-sage   { background: var(--sage); color: #fff; }
.section-sage h2, .section-sage h3 { color: #fff; }

/* ---------- Hero ---------- */
.dlk-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    color: var(--cream);
    background: linear-gradient(rgba(26,30,51,0.72), rgba(26,30,51,0.82)),
                var(--hero-img, url('/assets/images/hero/dlk-cover-bw.jpg')) center/cover no-repeat;
}
.dlk-hero .hero-inner { max-width: 720px; }
.dlk-hero h1 { color: var(--cream); margin-bottom: 1rem; }
.dlk-hero .hero-tagline {
    font-size: 1.15rem; font-weight: 300; max-width: 34rem; margin-bottom: 2rem;
    color: rgba(245,239,230,0.92);
}
.dlk-hero .eyebrow { color: var(--blush); }
.dlk-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Service cards ---------- */
.service-card {
    background: var(--white);
    border: 1px solid rgba(44,50,82,0.08);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .icon {
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--cream); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.1rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card .price-from {
    font-family: 'Montserrat', sans-serif; font-size: 0.8rem;
    letter-spacing: 0.05em; color: var(--gold); text-transform: uppercase; font-weight: 500;
}

/* Service line-item list */
.service-lines { list-style: none; padding: 0; margin: 0; }
.service-lines li {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 0.7rem 0; border-bottom: 1px solid rgba(44,50,82,0.08); gap: 1rem;
}
.service-lines li:last-child { border-bottom: none; }
.service-lines .line-name { font-weight: 400; color: var(--ink); }
.service-lines .line-desc { display:block; font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.service-lines .line-price {
    white-space: nowrap; font-weight: 500; color: var(--navy);
    font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
}
.service-lines .line-price small { color: var(--muted); font-weight: 300; }

/* ---------- Why choose grid ---------- */
.why-item { text-align: center; padding: 1rem; }
.why-item .why-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 0.6rem; }
.why-item h4 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.why-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Before / After slider ---------- */
.ba-slider {
    position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden;
    border-radius: var(--radius); user-select: none; touch-action: pan-y;
    background: var(--cream-2);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-slider .ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
    background: var(--white); transform: translateX(-50%); z-index: 3;
}
.ba-slider .ba-knob {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 40px; height: 40px; border-radius: 50%; background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); display: flex; align-items: center;
    justify-content: center; color: var(--navy); z-index: 4; cursor: ew-resize;
}
.ba-slider .ba-label {
    position: absolute; bottom: 10px; z-index: 2; font-size: 0.65rem;
    letter-spacing: 0.15em; text-transform: uppercase; color: #fff;
    background: rgba(26,30,51,0.6); padding: 3px 8px; border-radius: 3px;
}
.ba-slider .ba-label-before { left: 10px; }
.ba-slider .ba-label-after  { right: 10px; }

/* Single (non before/after) gallery image */
.gallery-tile {
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
    background: var(--cream-2);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-tile:hover img { transform: scale(1.04); }

/* ---------- Reviews ---------- */
.review-card {
    background: var(--white); border-radius: var(--radius); padding: 1.75rem;
    height: 100%; border: 1px solid rgba(44,50,82,0.08);
}
.review-card .stars { color: var(--gold); margin-bottom: 0.6rem; }
.review-card .review-body { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--ink); }
.review-card .review-author { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; font-weight: 500; letter-spacing: 0.03em; }

/* ---------- Contact buttons ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.contact-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.4rem;
    border-radius: 40px; border: 1px solid var(--navy); color: var(--navy);
    font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.85rem;
}
.contact-btn:hover { background: var(--navy); color: #fff; }

/* ---------- Forms ---------- */
.dlk-form label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; }
.dlk-form .form-control, .dlk-form .form-select {
    border-radius: var(--radius); border: 1px solid rgba(44,50,82,0.2);
    padding: 0.7rem 0.9rem; background: var(--white);
}
.dlk-form .form-control:focus, .dlk-form .form-select:focus {
    border-color: var(--gold); box-shadow: 0 0 0 0.15rem rgba(184,155,94,0.15);
}

/* ---------- Floating quote button ---------- */
.dlk-float-quote {
    position: fixed; right: 18px; bottom: 18px; z-index: 1040;
    background: var(--gold); color: #fff; border-radius: 40px;
    padding: 0.8rem 1.3rem; display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(33,31,36,0.25); font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.dlk-float-quote:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.dlk-footer { background: var(--navy); color: rgba(245,239,230,0.85); padding: 3.5rem 0 1.5rem; }
.dlk-footer .footer-brand { display: flex; flex-direction: column; line-height: 1; margin-bottom: 0.8rem; }
.dlk-footer .brand-mark { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--cream); font-weight: 600; }
.dlk-footer .brand-words { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(245,239,230,0.6); margin-top: 3px; }
.dlk-footer .footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--blush); }
.dlk-footer .footer-mission-note { font-size: 0.82rem; color: rgba(245,239,230,0.7); }
.dlk-footer .footer-heading { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.dlk-footer .footer-links, .dlk-footer .footer-contact { list-style: none; padding: 0; margin: 0; }
.dlk-footer .footer-links li, .dlk-footer .footer-contact li { margin-bottom: 0.55rem; font-size: 0.9rem; }
.dlk-footer a { color: rgba(245,239,230,0.85); }
.dlk-footer a:hover { color: var(--blush); }
.dlk-footer .footer-contact i { width: 20px; color: var(--gold); }
.dlk-footer .footer-social { margin-top: 1rem; display: flex; gap: 0.6rem; }
.dlk-footer .footer-social a {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(245,239,230,0.3);
    display: inline-flex; align-items: center; justify-content: center; color: var(--cream);
}
.dlk-footer .footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.dlk-footer .footer-bottom {
    margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(245,239,230,0.15);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
    font-size: 0.78rem; color: rgba(245,239,230,0.6);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
    background: var(--navy); color: var(--cream); padding: clamp(3rem,7vw,5rem) 0 clamp(2.5rem,5vw,3.5rem);
    text-align: center;
}
.page-header h1 { color: var(--cream); margin-bottom: 0.5rem; }
.page-header p { color: rgba(245,239,230,0.8); max-width: 40rem; margin: 0 auto; }

/* ---------- Utility ---------- */
.divider-rose { text-align: center; color: var(--gold); font-size: 1.2rem; margin: 1.5rem 0; }
img { max-width: 100%; }

@media (max-width: 991px) {
    .navbar-dlk .navbar-nav { padding: 1rem 0; }
    .btn-dlk-cta { margin-top: 0.5rem; }
    .dlk-float-quote span { display: none; }
    .dlk-float-quote { padding: 0.9rem; }
    .dlk-float-quote i { margin: 0; font-size: 1.1rem; }
}
