/* =========================================
   Globale Variabelen & Basis Styling
   ========================================= */
   :root { 
    --primary-red: #ed1c24; 
    --dark-slate: #1e293b; 
    --light-bg: #f8fafc; 
}

body { 
    font-family: 'Inter', sans-serif; 
    color: #334155; 
    padding-top: 70px; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* =========================================
   Navigatie (Navbar)
   ========================================= */
.navbar { background-color: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 15px 0; }
.navbar-brand img { height: 40px; }
.nav-link { font-weight: 600; color: var(--dark-slate) !important; padding: 8px 16px !important; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary-red) !important; }

/* =========================================
   Hero Banners (Bovenaan pagina's)
   ========================================= */
.hero-container { position: relative; margin-bottom: 60px; overflow: hidden; }
.hero-container.home-hero { height: 70vh; min-height: 450px; }
.hero-container.page-hero { height: 60vh; min-height: 400px; }

.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item { height: 100%; width: 100%; }
.hero-carousel .carousel-item img, .hero-bg-img { object-fit: cover; height: 100%; width: 100%; }

.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 41, 59, 0.75); 
    display: flex; align-items: center; justify-content: center; text-align: center; z-index: 10; padding: 20px;
}
.hero-content { max-width: 900px; color: white; animation: fadeIn 1.5s ease-out; }

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =========================================
   Kaarten & Knoppen (Diensten / Projecten)
   ========================================= */
.service-card { border: none; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; height: 100%; padding: 40px 30px; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(237, 28, 36, 0.1); border-top: 4px solid var(--primary-red); }
.service-icon { font-size: 3rem; color: var(--primary-red); margin-bottom: 20px; }

.cta-section { background-color: var(--dark-slate); border-radius: 16px; padding: 50px; color: white; margin-bottom: 50px; }
.btn-brand { background-color: var(--primary-red); color: white; font-weight: 600; padding: 12px 30px; border-radius: 8px; transition: 0.3s; border: 2px solid var(--primary-red); }
.btn-brand:hover { background-color: transparent; color: white; border: 2px solid white; }

/* =========================================
   Tabbladen (Automatisatie & Electro)
   ========================================= */
.nav-pills .nav-link { color: var(--dark-slate); font-weight: 600; padding: 12px 24px; border-radius: 50px; margin: 5px; background: #fff; border: 1px solid #e2e8f0; }
.nav-pills .nav-link.active { background-color: var(--primary-red) !important; color: #ffffff !important; border-color: var(--primary-red) !important; }
.tab-image { height: 300px; width: 100%; object-fit: cover; border-radius: 16px; transition: transform 0.3s, box-shadow 0.3s; }

.gallery-trigger img { border-radius: 12px; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.gallery-trigger img:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* =========================================
   Projecten Pagina
   ========================================= */
.page-header { background-color: var(--light-bg); padding: 60px 0; margin-bottom: 50px; }
.project-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 40px; border: 1px solid #f1f5f9; }
.project-img-main { object-fit: cover; height: 100%; width: 100%; cursor: pointer; transition: 0.3s; }
.project-img-main:hover { opacity: 0.9; }
.project-grid img { width: 100%; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: 0.3s; }
.project-grid img:hover { transform: scale(1.03); }
.project-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.project-title { color: var(--dark-slate); font-weight: 700; }
.project-subtitle { color: var(--primary-red); font-weight: 600; margin-bottom: 15px; }

/* =========================================
   Contact Pagina
   ========================================= */
.contact-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 40px; height: 100%; border-top: 5px solid var(--primary-red); }
.contact-icon { font-size: 1.5rem; color: var(--primary-red); margin-right: 15px; }
.map-container { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: 100%; min-height: 400px; }

/* =========================================
   Uitgebreide Footer
   ========================================= */
.main-footer { background-color: var(--light-bg); padding: 50px 0 20px; margin-top: auto; border-top: 1px solid #e2e8f0; }
.footer-title { color: var(--dark-slate); font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #64748b; text-decoration: none; transition: 0.3s; font-weight: 500;}
.footer-links a:hover { color: var(--primary-red); }
.footer-text { color: #64748b; margin-bottom: 8px; display: flex; align-items: center;}
.footer-text i { color: var(--primary-red); margin-right: 10px; width: 20px; text-align: center; font-size: 1.1rem;}
.footer-bottom { border-top: 1px solid #e2e8f0; margin-top: 40px; padding-top: 20px; text-align: center; }
.main-footer { font-size: 0.85rem; }