/* ==========================================================================
   CSS Variables & Base Reset
   ========================================================================== */
:root {
    /* Color Palette derived from logo */
    --primary: #2b3d4f;       /* Dark Slate Blue */
    --primary-light: #3a526a; 
    --primary-dark: #1e2b38;
    
    --secondary: #576d82;     /* Medium Slate */
    
    --accent: #c47c51;        /* Copper/Zinc accent for CTAs */
    --accent-hover: #a8653e;

    --bg-light: #f7f9fa;      /* Off-white */
    --bg-dark: #111820;       /* Deep dark */
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Rounded corners & Shadows */
    --radius: 8px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    scroll-margin-top: 110px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin: 1rem auto;
    border-radius: 2px;
}

.divider.left {
    margin-left: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: #ffffff;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background-color: #1fb95a;
    border-color: #1fb95a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-size: 1.15rem;
}

.btn-instagram span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.btn-instagram:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
}

.logo-van {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-baardwijk {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    padding: 2px 0;
    margin: 2px 0;
}

.logo-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 1.5px;
    line-height: 1;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for better text readability */
    background: linear-gradient(to right, rgba(17, 24, 32, 0.85) 0%, rgba(43, 61, 79, 0.5) 100%);
}

.hero-content {
    color: var(--text-light);
    z-index: 1;
}

.hero-text {
    max-width: 650px;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero .btn-outline {
    color: var(--text-light);
    border-color: var(--text-light);
}

.hero .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: var(--space-xl) 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: var(--space-md);
}

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    transform: scale(1.1);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: var(--space-xl) 0;
    background-color: #f7f9fa;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio {
    padding: var(--space-xl) 0;
    background-color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
    margin-bottom: var(--space-md);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 320px;
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item-wide {
    grid-column: span 2;
}

.portfolio-item-tall {
    grid-row: span 2;
    min-height: 658px;
}

.portfolio-overlay {
    display: none;
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ==========================================================================
   Instagram Section
   ========================================================================== */
.instagram-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
}

.instagram-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.instagram-copy {
    max-width: 520px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.instagram-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
}

.instagram-copy .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.instagram-live-card {
    overflow: hidden;
    border: 1px solid rgba(43, 61, 79, 0.14);
    border-radius: var(--radius);
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
}

.instagram-live-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(43, 61, 79, 0.1);
}

.instagram-live-header > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    font-size: 1.25rem;
}

.instagram-live-header strong,
.instagram-live-header span {
    display: block;
}

.instagram-live-header strong {
    color: var(--primary);
    font-family: var(--font-heading);
}

.instagram-live-header span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.instagram-embed {
    display: block;
    width: 100%;
    min-height: 540px;
    border: 0;
    background-color: var(--bg-light);
}

.instagram-live-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background-color: var(--primary);
    z-index: 1;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.instagram-live-link:hover {
    background-color: var(--primary-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: var(--space-xl) 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    list-style: none;
    margin-top: var(--space-md);
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-details span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-details strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.35;
}

.contact-details a {
    overflow-wrap: anywhere;
}

.contact-details strong a {
    color: var(--primary);
    font-weight: 700;
}

.email-link span {
    display: inline;
}

.contact-details .email-link {
    font-size: 1rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 61, 79, 0.1);
}

.form-status {
    min-height: 1.4em;
    margin-bottom: 16px;
    font-weight: 600;
}

.form-status.success {
    color: #237a38;
}

.form-status.error {
    color: #b00020;
}

.form-privacy {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

.form-privacy a,
.footer-links a,
.privacy-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Privacy Page
   ========================================================================== */
.privacy-page {
    background-color: #ffffff;
    padding-top: 104px;
}

.privacy-hero {
    padding: var(--space-lg) 0;
    background-color: var(--bg-light);
}

.privacy-hero h1 {
    margin-bottom: 0.5rem;
}

.privacy-hero p {
    color: var(--text-muted);
}

.privacy-content {
    padding: var(--space-lg) 0 var(--space-xl);
}

.privacy-container {
    max-width: 820px;
}

.privacy-content h2 {
    margin-top: var(--space-md);
    font-size: 1.35rem;
}

.privacy-content p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.privacy-back {
    margin-top: var(--space-md);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background-color: #25d366;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.35);
}

.whatsapp-float i {
    font-size: 1.35rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo .logo-van,
.footer-logo .logo-baardwijk {
    color: #ffffff;
    border-color: #ffffff;
}

.footer-logo .logo-sub {
    color: var(--accent);
}

.footer-links {
    text-align: right;
}

.socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.socials a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container {
        width: 94%;
    }

    .main-nav ul {
        gap: 22px;
    }

    .nav-contact .btn-primary {
        padding: 12px 18px;
        font-size: 0.8rem;
    }

    .logo-baardwijk {
        font-size: 1.7rem;
    }

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

    .portfolio-item-tall {
        min-height: 520px;
    }

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

    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .instagram-copy {
        max-width: 720px;
        text-align: center;
        margin: 0 auto;
    }

    .instagram-copy .divider.left {
        margin-left: auto;
        margin-right: auto;
    }

    .instagram-embed {
        min-height: 500px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .divider.left {
        margin: 1rem auto;
    }
    
    .contact-details li {
        justify-content: center;
        text-align: left;
    }
    
    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }

    .container {
        width: min(92%, 680px);
    }

    header,
    header.scrolled {
        padding: 10px 0;
    }

    section {
        scroll-margin-top: 88px;
    }

    h2 {
        font-size: 2rem;
    }

    .logo-van {
        font-size: 0.75rem;
    }

    .logo-baardwijk {
        font-size: 1.35rem;
        letter-spacing: 0;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .nav-contact {
        margin-left: auto;
        margin-right: 14px;
    }

    .nav-contact .btn-primary {
        display: none;
    }

    .btn-instagram {
        width: 42px;
        height: 42px;
    }

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

    .portfolio-item,
    .portfolio-item-tall {
        min-height: 300px;
    }

    .portfolio-item-wide,
    .portfolio-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        min-height: auto;
        height: auto;
        background-color: #ffffff;
        border-top: 1px solid rgba(43, 61, 79, 0.12);
        box-shadow: var(--shadow-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 34px 0 38px;
        transition: 0.4s ease;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }
    
    .main-nav a {
        font-size: 1.08rem;
    }

    .mobile-only {
        display: list-item;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .instagram-embed {
        min-height: 480px;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .contact-details strong {
        overflow-wrap: anywhere;
    }

    .contact-details strong a {
        display: inline-block;
        max-width: min(100%, 310px);
    }

    .contact-details a[href^="mailto:"] {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .email-link span {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 91%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    .logo-baardwijk {
        font-size: 1.08rem;
    }

    .logo-sub {
        font-size: 0.55rem;
    }

    .hero {
        min-height: 560px;
        height: auto;
        padding: 120px 0 64px;
    }

    .hero-text p,
    .section-header p,
    .about-text p,
    .instagram-copy p {
        font-size: 1rem;
    }

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

    .service-card {
        padding: 30px 22px;
    }

    .portfolio-item,
    .portfolio-item-tall {
        min-height: 260px;
    }

    .portfolio-overlay {
        padding: 22px;
    }

    .instagram-live-header {
        padding: 16px;
    }

    .instagram-embed {
        min-height: 430px;
    }

    .contact-details li {
        margin-bottom: 24px;
    }

    .contact-details i {
        margin-right: 14px;
    }

    .contact-details a[href^="mailto:"] {
        font-size: 0.76rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .logo-baardwijk {
        font-size: 0.95rem;
    }

    .btn-instagram {
        width: 38px;
        height: 38px;
    }

    .nav-contact {
        margin-right: 10px;
    }

    .contact-form {
        padding: 24px 16px;
    }
}
