/* ==========================================================
   NAMSA SERVICE
   COMPLETE RESPONSIVE STYLESHEET
========================================================== */

:root {
    --primary-color: #2c3e50;
    --primary-dark: #1f2d3a;
    --secondary-color: #3498db;
    --accent-color: #e67e22;

    --text-color: #333333;
    --text-light: #6f7b86;

    --bg-color: #f4f7f6;
    --white: #ffffff;

    --border-color: #e8ecef;

    --shadow-small: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 20px 50px rgba(44, 62, 80, 0.12);

    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 24px;
}


/* ==========================================================
   RESET / GENERAL
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: var(--bg-color);
    color: var(--text-color);

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    transition: 0.25s ease;
}


/* Anchor links */

#diensten,
#contact {
    scroll-margin-top: 110px;
}


/* ==========================================================
   NAVBAR
========================================================== */

.navbar {
    width: 100%;
    min-height: 80px;

    padding: 0 5%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    background-color: var(--white);

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);

    position: sticky;
    top: 0;
    z-index: 1000;
}


/* ==========================================================
   LOGO
   Bevat het bedrijfslogo en de tekstuele branding.
   .logo-container zorgt voor uitlijning van icoon en tekst.
   ========================================================== */

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-text small {
    margin-top: 1px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.navbar nav {
    display: flex;
    align-items: center;

    gap: 35px;
}

.navbar nav a {
    position: relative;

    padding: 28px 0;

    color: var(--primary-color);

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    white-space: nowrap;
}

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 2px;

    background-color: var(--accent-color);

    transition: width 0.25s ease;
}

.navbar nav a:hover {
    color: var(--accent-color);
}

.navbar nav a:hover::after {
    width: 100%;
}


/* ==========================================================
   NAVBAR CONTACT BUTTON
========================================================== */

.contact-btn {
    flex-shrink: 0;

    display: inline-block;

    padding: 12px 22px;

    background-color: var(--primary-color);
    color: var(--white);

    border-radius: 9px;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 700;

    box-shadow: var(--shadow-small);
}

.contact-btn:hover {
    background-color: var(--accent-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-medium);
}


/* ==========================================================
   MAIN
========================================================== */

main {
    width: 100%;

    min-height: calc(100vh - 160px);

    padding: 30px 5% 70px;
}


/* ==========================================================
   HERO
========================================================== */

.hero-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto 65px;
}

.hero-content {
    position: relative;

    width: 100%;
    height: 535px;

    overflow: hidden;

    background-color: var(--white);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}


/* ==========================================================
   HERO IMAGE
========================================================== */

.hero-main-img {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================
   HERO TEXT
========================================================== */

.hero-text-card {
    position: absolute;

    top: 0;
    left: 6%;

    z-index: 2;

    width: 43%;
    max-width: 620px;
    height: 100%;

    padding: 45px 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    line-height: 1.6;
}


/* ==========================================================
   LABELS
========================================================== */

.hero-label,
.section-label {
    color: var(--accent-color);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-label {
    margin-bottom: 5px;
}


/* ==========================================================
   HERO TITLE
========================================================== */

.hero-text-card h1 {
    margin: 12px 0 22px;

    color: var(--primary-color);

    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 800;

    line-height: 1;

    letter-spacing: -2px;
}

.hero-text-card h1 span {
    color: var(--secondary-color);
}


/* ==========================================================
   HERO DESCRIPTION
========================================================== */

.hero-text-card > p {
    max-width: 500px;

    margin: 0 0 25px;

    color: #52606d;

    font-size: 1.05rem;

    line-height: 1.7;
}


/* ==========================================================
   HERO POINTS
========================================================== */

.hero-points {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 30px;

    color: var(--primary-color);

    font-weight: 650;
}

.hero-points span {
    display: block;
}


/* ==========================================================
   HERO BUTTONS
========================================================== */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 20px;
}

.hero-btn {
    display: inline-block;

    width: fit-content;

    padding: 14px 24px;

    background-color: var(--primary-color);
    color: var(--white);

    border-radius: 9px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    box-shadow: var(--shadow-small);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-btn:hover {
    background-color: var(--accent-color);

    transform: translateY(-2px);

    box-shadow: var(--shadow-medium);
}


/* ==========================================================
   HOME INTRO
========================================================== */

.home-intro {
    width: 100%;
    max-width: 850px;

    margin: 0 auto 80px;

    text-align: center;
}

.home-intro h2 {
    margin: 10px 0 20px;

    color: var(--primary-color);

    font-size: 2.5rem;

    line-height: 1.2;
}

.home-intro p {
    max-width: 700px;

    margin: 0 auto 25px;

    color: var(--text-light);

    font-size: 1.1rem;
}

.text-link {
    color: var(--secondary-color);

    text-decoration: none;

    font-weight: 700;
}

.text-link:hover {
    color: var(--accent-color);

    text-decoration: underline;
}


/* ==========================================================
   PROJECTS / DIENSTEN
========================================================== */

.projects {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto 90px;
}


/* ==========================================================
   SECTION HEADING
========================================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 5px 0 5px;

    color: var(--primary-color);

    font-size: 2.1rem;

    line-height: 1.2;
}

.section-heading p {
    margin: 0;

    color: var(--text-light);
}

.section-heading > a {
    color: var(--primary-color);

    text-decoration: none;

    font-weight: 700;

    white-space: nowrap;
}

.section-heading > a:hover {
    color: var(--accent-color);
}


/* ==========================================================
   PROJECT GRID
========================================================== */

.project-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* ==========================================================
   PROJECT CARDS
========================================================== */

.project-card {
    display: block;

    overflow: hidden;

    background-color: var(--white);

    color: var(--text-color);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-medium);
}

.project-card img {
    width: 100%;
    height: 230px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-card div {
    padding: 18px 20px 22px;
}


/* Category */

.project-card div > p:first-child {
    margin: 0 0 4px;

    color: var(--accent-color);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.project-card h3 {
    margin: 0 0 8px;

    color: var(--primary-color);

    font-size: 1.1rem;

    line-height: 1.3;
}

.project-card div > p:last-child {
    margin: 0;

    color: var(--text-light);

    font-size: 0.9rem;

    line-height: 1.6;
}


/* ==========================================================
   OPENING HOURS + CONTACT
========================================================== */

.info-section {
    width: 100%;
    max-width: 800px;

    margin: 0 auto 60px;

    display: grid;

    grid-template-columns: 1fr;

    gap: 25px;
}


/* ==========================================================
   INFO CARDS
========================================================== */

.contact-card {
    min-height: 420px;

    padding: 45px;

    border-radius: 20px;

    box-shadow: var(--shadow-small);
}



.contact-card h2 {
    margin: 7px 0 25px;

    color: var(--primary-color);

    font-size: 1.9rem;

    line-height: 1.2;
}




/* ==========================================================
   CONTACT CARD
========================================================== */

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #eef7fd 100%
    );
}

.contact-card > p {
    max-width: 500px;

    margin: 0;

    color: var(--text-light);

    line-height: 1.7;
}


/* ==========================================================
   CONTACT DETAILS
========================================================== */

.contact-details {
    margin: 25px 0;
}

.contact-details p {
    margin: 10px 0;

    color: var(--primary-color);

    font-weight: 600;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    width: 100%;
    padding: 60px 5% 20px;
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 15px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Logo wit maken voor donkere footer via CSS filter */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-section strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a svg {
    display: block;
}

.social-links a.facebook:hover {
    background-color: #1877F2;
    transform: translateY(-3px);
}

.social-links a.tiktok:hover {
    background-color: #000000;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* ==========================================================
   LAPTOP
   1200px AND SMALLER
========================================================== */

@media (max-width: 1200px) {

    .navbar {
        padding-left: 4%;
        padding-right: 4%;
    }

    main {
        padding-left: 4%;
        padding-right: 4%;
    }


    /* HERO */

    .hero-content {
        height: 500px;
    }

    .hero-text-card {
        left: 4%;

        width: 48%;
        max-width: 560px;

        padding: 35px;

        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.90) 0%,
            rgba(255, 255, 255, 0.78) 58%,
            rgba(255, 255, 255, 0.30) 84%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-text-card h1 {
        font-size: 3rem;
    }

    .hero-text-card > p {
        font-size: 1rem;
    }


    /* PROJECTS */

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   TABLET
   900px AND SMALLER
========================================================== */

@media (max-width: 900px) {

    /* NAVBAR */

    .navbar {
        flex-wrap: wrap;

        padding-top: 15px;
        padding-bottom: 15px;

        gap: 15px;
    }

    .navbar nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 30px;

        padding-top: 10px;

        border-top: 1px solid var(--border-color);
    }

    .navbar nav a {
        padding: 7px 0;
    }

    .navbar nav a::after {
        bottom: 0;
    }


    /* HERO */

    .hero-container {
        margin-bottom: 55px;
    }

    .hero-content {
        height: 500px;

        border-radius: 20px;
    }

    .hero-main-img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: 67% center;
    }

    .hero-text-card {
        left: 0;

        width: 100%;
        max-width: none;
        height: 100%;

        padding: 40px;
    }

    .hero-text-card h1 {
        font-size: 3rem;
    }

    .hero-text-card > p {
        max-width: 540px;
    }


    /* INFO */

    .info-section {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .opening-card,
    .contact-card {
        min-height: auto;
    }
}


/* ==========================================================
   MOBILE
   600px AND SMALLER
========================================================== */

@media (max-width: 600px) {

    /* NAVBAR */

    .navbar {
        min-height: auto;

        padding: 14px 18px;
    }

    .navbar .logo span {
        font-size: 1.2rem;
    }

    .navbar .logo small {
        font-size: 0.7rem;
    }

    .contact-btn {
        padding: 9px 13px;

        font-size: 0.78rem;
    }

    .navbar nav {
        gap: 22px;

        justify-content: center;

        overflow-x: auto;
    }

    .navbar nav a {
        font-size: 0.85rem;

        white-space: nowrap;
    }


    /* MAIN */

    main {
        padding: 18px 15px 45px;
    }


    /* HERO */

    .hero-container {
        margin-bottom: 55px;
    }

    .hero-content {
        height: 460px;

        border-radius: 16px;
    }

    /*
       Afbeelding iets naar rechts verschuiven (68%) zodat het
       schildermateriaal op mobiel goed in beeld blijft.
    */
    .hero-main-img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position: 68% center;
    }

    .hero-text-card {
        left: 0;

        width: 100%;
        height: 100%;

        padding: 30px 24px 35px;
    }

    .hero-label {
        font-size: 0.7rem;

        letter-spacing: 1.4px;
    }

    .hero-text-card h1 {
        margin: 10px 0 18px;

        font-size: 2.5rem;

        line-height: 1.05;

        letter-spacing: -1.5px;
    }

    .hero-text-card > p {
        max-width: 80%;

        margin-bottom: 22px;

        font-size: 0.95rem;

        line-height: 1.6;
    }

    .hero-points {
        gap: 7px;

        margin-bottom: 25px;

        font-size: 0.95rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-btn {
        padding: 13px 20px;

        font-size: 0.9rem;
    }


    /* HOME INTRO */

    .home-intro {
        margin-bottom: 60px;
    }

    .home-intro h2 {
        font-size: 2rem;
    }

    .home-intro p {
        font-size: 1rem;
    }


    /* PROJECTS */

    .projects {
        margin-bottom: 60px;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .project-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .project-card img {
        height: 250px;
    }


    /* INFO */

    .info-section {
        gap: 18px;

        margin-bottom: 30px;
    }

    .contact-card {
        padding: 28px 24px;

        border-radius: 16px;
    }

    .contact-card h2 {
        font-size: 1.6rem;
    }



    /* FOOTER */

    footer {
        padding: 30px 15px;
    }
}


/* ==========================================================
   SMALL MOBILE
   420px AND SMALLER
========================================================== */

@media (max-width: 420px) {

    /* NAVBAR */

    .navbar {
        justify-content: center;
    }

    .navbar .logo-container {
        justify-content: center;
    }

    .logo-text {
        text-align: left;
    }

    .contact-btn {
        display: none;
    }

    .navbar nav {
        width: 100%;

        gap: 20px;

        justify-content: center;
    }


    /* HERO */

    .hero-content {
        height: 420px;
    }

    .hero-main-img {
        width: 100%;
        height: 100%;

        object-position: 70% center;
    }

    .hero-text-card {
        padding: 26px 20px 30px;
    }

    .hero-text-card h1 {
        font-size: 2.2rem;
    }

    .hero-text-card > p {
        max-width: 88%;

        font-size: 0.88rem;

        line-height: 1.5;
    }

    .hero-points {
        font-size: 0.88rem;

        gap: 5px;

        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 12px 18px;

        font-size: 0.85rem;
    }


    /* PROJECTS */

    .project-card img {
        height: 220px;
    }


    /* OPENING HOURS */

    .opening-card,
    .contact-card {
        padding: 25px 20px;
    }

    .opening-row {
        align-items: flex-start;

        gap: 10px;
    }

    .opening-row strong {
        text-align: right;

        white-space: nowrap;
    }
}


/* ==========================================================
   VERY SMALL MOBILE
   340px AND SMALLER
========================================================== */

@media (max-width: 340px) {

    main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 0.8rem;
    }


    /* HERO */

    .hero-content {
        height: 410px;
    }

    .hero-main-img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: 72% center;
    }

    .hero-text-card {
        padding: 22px 17px 25px;
    }

    .hero-label {
        font-size: 0.62rem;
    }

    .hero-text-card h1 {
        font-size: 2rem;

        margin-bottom: 14px;
    }

    .hero-text-card > p {
        font-size: 0.82rem;

        margin-bottom: 16px;
    }

    .hero-points {
        font-size: 0.82rem;

        margin-bottom: 18px;
    }

    .hero-btn {
        padding: 11px 16px;

        font-size: 0.8rem;
    }
}


/* ==========================================================
   DIENSTEN PAGINA SPECIFIEK
========================================================== */

.services-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content span {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-content h2 {
    margin: 10px 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .services-gallery {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   PRIVACY PAGINA SPECIFIEK
========================================================== */

.privacy-page {
    max-width: 900px;
    margin: 40px auto 80px;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.privacy-page h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin: 10px 0 30px;
    line-height: 1.1;
}

.privacy-page h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.privacy-page p, .privacy-page ul {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.privacy-page ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-page li {
    margin-bottom: 8px;
}

.privacy-contact {
    margin: 30px 0;
    padding: 25px;
    background-color: var(--bg-color);
    border-radius: var(--radius-small);
}

.privacy-contact strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.privacy-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

.privacy-update {
    margin-top: 50px;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 35px 25px;
        margin: 20px auto 40px;
    }

    .privacy-page h1 {
        font-size: 2.2rem;
    }
}
