/* 
=======================================
   CSS reset en variabelen
======================================= 
*/
:root {
    /* Kleuren gebaseerd op logo */
    --primary: #f15a24; /* Oranje */
    --primary-dark: #d6491a;
    --secondary: #2a3b4c; /* Donkerblauw */
    --secondary-light: #3a4f63;
    
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    /* Typografie */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Vormgeving */
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary); color: white; }
.bg-dark h2, .bg-dark p { color: white; }

/* 
=======================================
   Knoppen
======================================= 
*/
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 
=======================================
   Regen Animatie (Canvas)
======================================= 
*/
#rainCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Klikken gaan erdoorheen */
    z-index: 15; /* Boven de achtergrond, onder de easter egg tekst */
    opacity: 0;
    transition: opacity 1s ease;
}

#rainCanvas.active {
    opacity: 1;
}

/* 
=======================================
   Header & Navigatie
======================================= 
*/
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Zodat de klik altijd werkt, zelfs met regen */
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-logo {
    height: 55px;
    width: auto;
    display: block;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 14px; /* Uitlijning onderkant met monogram */
}

.logo-title {
    font-size: 1.5rem;
    color: var(--secondary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1;
}

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

.main-nav a {
    color: var(--secondary);
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.main-nav a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
    transition: var(--transition);
}

/* 
=======================================
   Hero Sectie
======================================= 
*/
.hero-section {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Zorgt voor een parallax effect */
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: white;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
    transition: opacity 1s ease-in-out;
}

.hero-inner.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(241, 90, 36, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-section .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    max-width: 500px;
}

.text-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roof-illustration {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background-color: var(--secondary);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow);
}

.hero-project-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 5px solid white;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.white-logo {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    transition: filter 0.5s ease;
}

.white-logo.color-mode {
    filter: none;
}

.hero-project-link {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-project-link:hover {
    color: var(--primary);
}

/* Rain Easter Egg */
.rain-easter-egg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.rain-easter-egg.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.easter-egg-logo {
    max-width: 400px;
    margin-bottom: 5px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
    .easter-egg-logo {
        max-width: 250px;
    }
}

.easter-egg-text {
    color: white;
    font-size: 1.8rem;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    font-family: var(--font-heading);
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.easter-egg-buttons {
    display: flex;
    gap: 20px;
    pointer-events: auto; /* Zodat er op geklikt kan worden */
}

.btn-close-easter-egg {
    position: absolute;
    top: -70px;
    left: 0;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    pointer-events: auto;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-easter-egg:hover {
    background: #d94b15;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 90, 36, 0.4);
}

/* Verwijderd oude hero-bottom-logo en spoed-text styling */

.bg-white-hover {
    color: white;
    border-color: white;
}

.bg-white-hover:hover {
    background: white;
    color: var(--primary);
}

/* 
=======================================
   Diensten Sectie
======================================= 
*/
.services-section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
}

.section-heading p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 
=======================================
   Projecten Sectie
======================================= 
*/
.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-img {
    height: 250px;
    background-color: #dee2e6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-info {
    padding: 25px;
}

/* 
=======================================
   Recensies Sectie
======================================= 
*/
.reviews-section {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    justify-content: center;
}

.review-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}

.review-card::before {
    content: '"';
    font-size: 6rem;
    color: rgba(241, 90, 36, 0.1);
    font-family: serif;
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.reviewer {
    margin-top: 20px;
    font-weight: bold;
    color: var(--secondary);
}

/* 
=======================================
   Contact Sectie
======================================= 
*/
.contact-section {
    padding: 100px 0;
}

.contact-inner {
    display: flex;
    gap: 60px;
}

.contact-info, .contact-form-container {
    flex: 1;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--text-main);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.2);
}

/* 
=======================================
   Footer
======================================= 
*/
.site-footer {
    background-color: var(--secondary-light);
    color: white;
    padding: 60px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #ced4da;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #adb5bd;
}

/* 
=======================================
   Responsive
======================================= 
*/
@media (max-width: 992px) {
    .hero-inner, .contact-inner {
        flex-direction: column;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 80px; /* Onder de header */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: none;
        padding: 40px 20px;
        z-index: 999;
        flex-direction: column;
        border-top: 1px solid #f0f0f0;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
        animation: slideDownFade 0.3s ease forwards;
    }

    @keyframes slideDownFade {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 10px;
        font-size: 1.2rem;
        color: var(--secondary);
        font-weight: 500;
        text-decoration: none;
        width: 100%;
    }

    .main-nav ul li a.btn {
        background: none;
        border: none;
        box-shadow: none;
        padding: 20px 10px;
        border-radius: 0;
        font-size: 1.2rem;
        color: var(--secondary);
        height: auto;
        text-transform: none;
        letter-spacing: normal;
        margin: 0;
    }

    .main-nav ul li a.btn:hover {
        background: none;
        color: var(--primary);
    }

    #mobileRainTrigger {
        background: var(--primary) !important;
        color: white !important;
        border-radius: 50px !important;
        padding: 12px 24px !important;
        margin-top: 20px !important;
        justify-content: center !important;
        text-transform: none !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        border: none !important;
        display: inline-flex !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    #mobileRainTrigger::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
   Portfolio / Projecten Pagina
======================================= 
*/
.sub-hero-section {
    padding: 120px 0 60px;
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -80px; /* Onder de header */
    padding-top: 180px;
}

.sub-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.portfolio-section {
    padding: 80px 0;
}

.portfolio-filters {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.portfolio-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 59, 76, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: white;
    font-weight: 600;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay span {
    transform: translateY(0);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.portfolio-info h3 {
    margin: 0;
    font-size: 1.25rem;
}

/* Verbergen tijdens filteren */
.portfolio-card.hidden {
    display: none;
}

/* 
=======================================
   Project Detail Pagina
======================================= 
*/
.project-hero {
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -80px;
}

.project-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.project-date {
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.project-hero h1 {
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.project-details-section {
    padding: 80px 0;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.project-content h2, .project-content h3 {
    color: var(--secondary);
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-content ul {
    margin-bottom: 40px;
    padding-left: 20px;
}

.project-content ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.project-gallery img {
    width: 100%;
    border-radius: var(--radius);
    height: 250px;
    object-fit: cover;
}

.sidebar-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.sidebar-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 15px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: var(--secondary);
    margin-bottom: 5px;
}

.cta-box {
    color: white;
}

.cta-box h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.related-projects {
    padding: 80px 0;
}

.view-all-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
}

.view-all-card:hover {
    background: #d94b15;
}

.view-all-card h3 {
    color: white;
}

.view-all-card .arrow {
    display: inline-block;
    font-size: 2rem;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.view-all-card:hover .arrow {
    transform: translateX(10px);
}

@media (max-width: 992px) {
    .project-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }
    .project-hero h1 {
        font-size: 2.5rem;
    }
}

/* Floating Spoed Button (Desktop Only) */
.floating-spoed-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(241, 90, 36, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-spoed-btn:hover {
    transform: scale(1.1);
    background: #d94b15;
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(241, 90, 36, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(241, 90, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 90, 36, 0); }
}

.floating-spoed-btn .white-logo {
    width: 35px;
    height: auto;
    filter: brightness(0) invert(1);
}

.floating-spoed-btn .spoed-text {
    color: white;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .floating-spoed-btn.desktop-only {
        display: none !important;
    }
}

.mobile-only { display: none !important; }
@media (max-width: 768px) {
    .mobile-only { display: block !important; }
}

/* Mobile Actions & Phone Popup */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 15px;
}
.mobile-phone-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.phone-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.phone-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.phone-popup-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.phone-popup-overlay.active .phone-popup-card {
    transform: translateY(0) scale(1);
}
.phone-popup-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: #999;
    transition: color 0.3s ease;
}
.phone-popup-close:hover {
    color: var(--secondary);
}
.phone-popup-icon {
    font-size: 3rem; margin-bottom: 15px;
    animation: phonePulse 2s infinite;
}
@keyframes phonePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Offerte Modal */
.offerte-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.offerte-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.offerte-modal-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.offerte-modal-overlay.active .offerte-modal-card {
    transform: translateY(0) scale(1);
}
.offerte-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: #f1f5f9; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.offerte-modal-close:hover {
    background: #e2e8f0;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .mobile-actions { display: flex; }
    /* Hide the original mobile-menu-btn block as it's now inside mobile-actions */
    header .mobile-menu-btn { display: flex; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: var(--font-body);
    font-size: 0.95rem;
    animation: slideUpCookie 0.5s ease-out forwards;
}

@media (min-width: 768px) {
    .cookie-banner {
        max-width: 450px;
        left: 20px;
        right: auto;
    }
}

.cookie-banner-content p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 
=======================================
   Lightbox
======================================= 
*/
#dtg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#dtg-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.dtg-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.dtg-lightbox-content {
    position: relative;
    z-index: 100000;
    max-width: 90%;
    max-height: 90%;
}

.dtg-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: block;
}

.dtg-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.dtg-lightbox-close:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .dtg-lightbox-close {
        top: -40px;
        right: 0;
    }
}

/* Mobile spacing & logo tweaks */
@media (max-width: 768px) {
    .sub-hero-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .sub-hero-section h1 {
        font-size: 2.2rem;
    }
    .sub-hero-section .hero-subtitle {
        font-size: 1.1rem;
    }
    .custom-logo {
        height: 40px;
    }
    .logo-title {
        font-size: 1.2rem;
    }
    .logo-subtitle {
        font-size: 0.8rem;
    }
    .logo-text {
        margin-top: 8px;
    }
}
