:root {
    --dark: #0f2a44;
    --blue: #1f4e79;
    --green: #8dc63f;
    --light: #f4f8fb;
    --header-height: 100px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: #222;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* SEO ONLY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* HR */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--green),
        transparent
    );
    margin: 1rem 0;
    opacity: 0.8;
}

/* MAGIC BACKGROUND */
#magic-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* =====================
   HEADER
===================== */
#header {
    position: fixed;
    width: 100%;
    height: var(--header-height);
    backdrop-filter: blur(10px);
    background: rgba(15,42,68,0.8);
    z-index: 10;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
}

.nav-cta {
    background: var(--green);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    color: #000;
}

/* =====================
   HAMBURGER
===================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =====================
   LOGO (HEADER)
===================== */
.logo {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.03);
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(15,42,68,.9), rgba(15,42,68,.6)),
        url('../img/fris-infograpic.jpeg') center/cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-hero {
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 240px;
    display: block;
}

/* =====================
   SVG HERO TITLES
===================== */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.hero-svg {
    width: 100%;
    max-width: 820px;
    height: auto;
}

/* FRIS */
.hero-fris {
    margin-bottom: -1rem;
}
.hero-fris text {
    font-size: 96px;
    font-weight: 800;
    fill: var(--green);
    letter-spacing: 4px;
}

/* Outdoor Cleaning */
.hero-sub text {
    font-size: 56px;
    font-weight: 600;
    fill: #ffffff;
}

/* Tagline */
.hero-tagline text {
    font-size: 28px;
    font-style: italic;
    fill: rgba(255,255,255,0.85);
}

.hero-tagline .accent {
    fill: var(--green);
    font-weight: 600;
}

/* Intro text */
.hero-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1rem auto 2rem;
    max-width: 640px;
    color: #fff;
}

/* =====================
   BUTTONS
===================== */
.btn {
    display: inline-block;
    margin: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.primary { background: var(--green); color: #000; }
.ghost { border: 2px solid #fff; color: #fff; }

/* =====================
   SECTIONS
===================== */
.section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--green);
}

/* =====================
   CARDS
===================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    transition: transform .3s;
}

.card:hover { transform: translateY(-8px); }

.card h3 { color: var(--blue); }
.card i {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* =====================
   PORTFOLIO
===================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 2rem;
}

.before-after {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.before-after img {
    width: 100%;
    display: block;
}

.before-after .after {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
}

.before-after input {
    position: absolute;
    bottom: 10px;
    width: 90%;
    left: 5%;
}

/* =====================
   REVIEWS
===================== */
.carousel {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
}

.review-card {
    min-width: 320px;
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

/* =====================
   CONTACT
===================== */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-card {
    background: var(--blue);
    text-align: center;
    color: #fff;
    padding: 2rem 3rem;
    border-radius: 20px;
    cursor: pointer;
}

.contact-card a {
    display: block;
    margin-top: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-card h3 {
    transition: color 0.3s ease;
}

.contact-card:hover h3 {
    color: var(--green);
}

/* =====================
   FOOTER
===================== */
.brand-fris {
    color: var(--green);
}

.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--green);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-company {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-powered {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* =====================
   SOCIAL FLOAT
===================== */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 20;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1),
                opacity 0.45s ease;
}

.social-float.hidden {
    transform: translateX(60px); /* schuift uit beeld */
    opacity: 0.2;
    pointer-events: none;
}

/* SOCIAL FLOAT – remove underline in all states */
.social-float a,
.social-float a:hover,
.social-float a:focus,
.social-float a:active,
.social-float a:visited {
    text-decoration: none;
}

.social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.instagram { background: #c32e94; }
.tiktok { background: #000; }
.whatsapp { background: #25d366; }

.social-float .social {
    opacity: 1 !important;
}

.social-float .social i {
    color: #fff !important;
}

/* =====================
   ALGEMENE VOORWAARDEN
===================== */

.voorwaarden {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
}

/* Documenttitel */
.voorwaarden h1 {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 700;
}

/* Tekstcontainer */
.voorwaarden-tekst {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.8rem; /* ≈ lettergrootte 8 */
    line-height: 1.6;
    color: #2b2b2b;
}

/* Artikeltitels */
.voorwaarden-tekst h2 {
    font-size: 0.9rem;
    margin-top: 2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;

    border-left: 3px solid var(--green);
    padding-left: 0.5rem;
}

/* Paragrafen */
.voorwaarden-tekst p {
    margin-bottom: 0.6rem;
}

/* Lijsten */
.voorwaarden-tekst ul {
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
}

.voorwaarden-tekst li {
    margin-bottom: 0.25rem;
}

/* Bedrijfsgegevens als informatieblok */
.voorwaarden-tekst p:first-of-type {
    background: #f1f5f8;
    padding: 1rem;
    border-radius: 6px;
    max-width: 420px;
}

/* =====================
   COOKIE BANNER
===================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);

    color: #222;
    padding: 1rem 1.4rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    max-width: 480px;
    width: calc(100% - 2rem);
    z-index: 9999;

    font-size: 0.85rem;
    text-align: center;
}

/* tekst */
.cookie-banner p {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.cookie-banner a {
    color: var(--green);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* acties */
.cookie-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.4rem;
}

/* knoppen algemeen */
.cookie-banner button {
    cursor: pointer;
}

/* primaire knop */
.cookie-banner .btn.primary {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.cookie-banner .btn.primary:hover {
    background-color: #7fb635;
    transform: translateY(-1px);
}

/* secundaire knop */
.cookie-banner .btn.ghost {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
    opacity: 0.85;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.cookie-banner .btn.ghost:hover {
    opacity: 1;
    background: rgba(0,0,0,0.04);
}

/* verborgen state */
.cookie-banner.hidden {
    display: none;
}

/* SEO TEKST */
.seo-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.seo-text p {
    margin-bottom: 0.8rem;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
    .cookie-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cookie-actions .btn {
        width: 100%;
        max-width: 240px;
    }

    .voorwaarden-tekst {
        font-size: 0.75rem;
    }

    .voorwaarden h1 {
        font-size: 1.4rem;
    }

    .logo { height: 70px; }

    .hero {
        padding-top: 120px;
    }

    .hero-svg {
        max-width: 1000px; 
    }

    .hero-fris text {
        font-size: 88px;   
        letter-spacing: 3px;
    }

    .hero-sub text {
        font-size: 54px;   
    }

    .hero-tagline text {
        font-size: 38px;   
        dominant-baseline: middle;
    }

    .hero-tagline .accent {
        fill: var(--green);
        font-weight: 600;
        baseline-shift: -2px;
}

    .hero-intro {
        font-size: 1rem;
    }

    .hamburger { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15,42,68,0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    nav.open { right: 0; }

    .hamburger.open span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .contact-cards { flex-direction: column; }

    .review-card {
        min-width: 260px;
        padding: 1.5rem;
    }
}
