﻿/* ==========================================================================
   De Witte Kristof · Harelbeke — Sanitair & Verwarming
   ========================================================================== */

:root {
    --navy:        #27292d;
    --navy-deep:   #191a1e;
    --navy-soft:   #333538;
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
    --gold:        #c0603a;
    --gold-soft:   #d07050;
    --gold-dark:   #8a3a20;
    --gold-pale:   #e8b09a;
    --cream:       #efe6d4;
    --ink:         #1c2937;
    --ink-soft:    #4a5566;
    --ink-mute:    #7a8390;
    --line:        rgba(255, 255, 255, 0.08);
    --line-dark:   rgba(39, 41, 45, 0.08);

    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------------------------------- Eyebrow */
.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
}

.eyebrow--on-dark { color: var(--gold-soft); }

.eyebrow--pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(192, 96, 58, 0.45);
    border-radius: 999px;
    background: rgba(192, 96, 58, 0.08);
    color: var(--gold-pale);
    backdrop-filter: blur(4px);
}

.eyebrow__dot { color: var(--gold); font-size: 12px; }

/* ----------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: #fff;
}
.btn--primary:hover { background: var(--gold-soft); }

.btn--ghost {
    background: rgba(192, 96, 58, 0.1);
    color: #fff;
    border-color: var(--gold);
}
.btn--ghost:hover { background: rgba(39, 41, 45, 0.4); border-color: var(--gold); }

/* ----------------------------------------------------------------- Announcement bar */
.announcement {
    background: var(--gold-dark);
    color: #fff7e6;
    font-size: 13px;
    text-align: center;
}
.announcement__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    text-align: center;
}
.announcement__star { color: #fff; }
.announcement__close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
}

/* ----------------------------------------------------------------- Header (over hero) */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 32px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.brand img {
    width: auto;
    height: 80px;
}

@media only screen and (max-width: 992px) {
    .brand img {
        height: 64px;
    }
}

@media only screen and (max-width: 576px) {
    .brand img {
        height: 52px;
    }
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 11px 20px;
    border: 1px solid rgba(192, 96, 58, 0.55);
    border-radius: 999px;
    color: #fff;
    background: rgba(39, 41, 45, 0.4);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, gap 0.35s ease;
    backdrop-filter: blur(4px);
}
.phone-btn:hover {
    background: rgba(192, 96, 58, 0.15);
    border-color: var(--gold);
    gap: 10px;
}
.phone-btn svg { color: #fff; flex-shrink: 0; }

.phone-btn__text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.phone-btn:hover .phone-btn__text {
    max-width: 160px;
    opacity: 1;
}

/* ----------------------------------------------------------------- Hero */
.hero {
    position: relative;
    min-height: 760px;
    color: #fff;
    background-color: var(--navy-deep);
    background-image:
        linear-gradient(180deg, rgba(25, 26, 30, 0.62) 0%, rgba(25, 26, 30, 0.40) 40%, rgba(25, 26, 30, 0.20) 100%),
        url("./images/hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25, 26, 30, 0.72) 0%, rgba(25, 26, 30, 0.25) 60%, rgba(25, 26, 30, 0) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 220px;
    max-width: var(var(--container));
}

.hero__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 86px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 24px 0 24px;
    color: #fff;
    text-wrap: balance;
}
.hero__title-accent {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.hero__lede {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(239, 230, 212, 0.85);
    max-width: 540px;
    margin: 0 0 36px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ----------------------------------------------------------------- Intro section */
.intro {
    background: #fff;
    padding: 48px 0 96px;
    text-align: center;
}
.intro__inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro__quote {
    position: relative;
    margin-top: 16px;
    text-align: center;
}

.intro__quote-mark {
    display: block;
    font-family: var(--serif);
    font-size: 120px;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.25;
    margin-bottom: 16px;
    user-select: none;
}

.intro__quote-text {
    font-family: var(--serif);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 32px;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.intro__service-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    border-left: 3px solid var(--gold);
    padding-left: 24px;
    align-self: flex-start;
}

.intro__service-list li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.intro__service-list strong {
    color: var(--ink);
    font-weight: 600;
}

.intro__cite {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin: 0;
}

/* ----------------------------------------------------------------- Arrow slide animation */
.icon-slide {
    display: inline-grid;
    overflow: hidden;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-slide > svg {
    grid-column: 1;
    grid-row: 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-slide > svg:last-child {
    transform: translateX(-120%);
}

a:hover .icon-slide > svg:first-child,
button:hover .icon-slide > svg:first-child {
    transform: translateX(120%);
}

a:hover .icon-slide > svg:last-child,
button:hover .icon-slide > svg:last-child {
    transform: translateX(0);
}

/* ----------------------------------------------------------------- Glitter shimmer */
@keyframes glitter-sweep {
    0%   { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(300%)  skewX(-15deg); }
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(192, 96, 58, 0.06) 43%,
        rgba(255, 255, 255, 0.11) 50%,
        rgba(192, 96, 58, 0.06) 57%,
        transparent 70%
    );
    animation: glitter-sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* ----------------------------------------------------------------- Pillars */
.pillars {
    background-color: var(--navy);
    background-image: var(--noise);
    background-repeat: repeat;
    background-size: 200px;
    color: #fff;
    padding: 110px 0 120px;
}

.pillars > .container { position: relative; z-index: 1; }
.pillars__intro { max-width: 720px; }
.pillars__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(32px, 4.2vw, 50px);
    line-height: 1.1;
    margin: 18px 0 20px;
    color: #fff;
    letter-spacing: -0.005em;
    text-wrap: balance;
}
.pillars__title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}
.pillars__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(239, 230, 212, 0.7);
    max-width: 560px;
    margin: 0;
}

.pillars__grid {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.pillar {
    padding: 8px 32px;
    border-left: 1px solid var(--line);
}
.pillar:first-child { border-left: none; padding-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.pillar__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
}
.pillar__text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(239, 230, 212, 0.65);
    margin: 0;
}

.icon-cirlce img,
.icon-cirlce svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ----------------------------------------------------------------- Contact */
.contact {
    background: #fff;
    padding: 110px 0;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(32px, 3.8vw, 46px);
    line-height: 1.15;
    color: var(--ink);
    margin: 18px 0 18px;
    letter-spacing: -0.005em;
    text-wrap: balance;
}
.contact__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 40px;
    max-width: 460px;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.info-item__icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(192, 96, 58, 0.12);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.info-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.info-item__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    text-transform: uppercase;
}
.info-item__value {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}
a.info-item__value:hover { color: var(--gold-dark); }

.hours {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
    font-size: 14px;
}
.hours td {
    padding: 4px 0;
    color: var(--ink);
    vertical-align: top;
}
.hours td:first-child {
    color: var(--ink-soft);
    padding-right: 24px;
    white-space: nowrap;
    width: 1%;
}
.hours__note { color: var(--ink-mute); }
.hours__footnote {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--ink-mute);
    font-style: italic;
}

/* Why card */
.why-card {
    background-color: var(--navy);
    background-image: var(--noise);
    background-repeat: repeat;
    background-size: 200px;
    color: #fff;
    border-radius: 16px;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
}

.why-card > * { position: relative; z-index: 1; }

.btn--realisaties {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 36px;
    padding: 14px 22px;
    background: var(--gold);
    color: #fff;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.btn--realisaties:hover { background: var(--gold-soft); }

.why-card__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    margin: 16px 0 36px;
    color: #fff;
}
.why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(239, 230, 212, 0.9);
}
.why-list__bullet {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

/* ----------------------------------------------------------------- Map */
.contact__map {
    display: block;
}
.contact__map iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
}

/* ----------------------------------------------------------------- Footer */
.site-footer {
    background-color: var(--navy);
    background-image: var(--noise);
    background-repeat: repeat;
    background-size: 200px;
    color: rgba(239, 230, 212, 0.55);
    padding: 28px 0;
    text-align: center;
    font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer p { margin: 0; }

.white-space-no-wrap {
    white-space: nowrap;
}

/* ============================================================== Responsive */
@media (max-width: 980px) {
    .contact__grid { grid-template-columns: 1fr; gap: 56px; }
    .pillars__grid { grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
    .pillar { padding: 0 20px; }
    .pillar:nth-child(3n+1) { border-left: none; padding-left: 0; }
    .pillar:nth-child(3n) { padding-right: 0; }
    .pillar:last-child { padding-right: 0; }
    .hero__content { padding-top: 180px; }
    .hero { min-height: 680px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .announcement__inner { padding: 10px 40px 10px 20px; font-size: 12px; }
    .announcement__close { right: 14px; }
    .site-header { padding: 22px 0; }
    .brand__mark { width: 38px; height: 38px; font-size: 18px; }
    .brand__name { font-size: 18px; }
    .phone-btn { padding: 9px 14px; font-size: 13px; }
    .hero { min-height: 620px; padding-bottom: 60px; }
    .hero__content { padding-top: 150px; }
    .intro, .pillars, .contact { padding: 72px 0; }
    .pillars__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
    .pillar {
        border-left: none !important;
        padding: 0 !important;
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        column-gap: 18px;
        align-items: start;
    }
    .pillar__icon { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; align-self: center; }
    .pillar__title { grid-column: 2; grid-row: 1; }
    .pillar__text  { grid-column: 2; grid-row: 2; }
    .why-card { padding: 36px 28px; }
    .hours td:first-child { display: block; padding-bottom: 0; }
    .hours td { display: block; }
}

