/* =======================================
   Variables & Theme Config
======================================= */
:root {
    --primary: #0a4c75;
    --primary-light: #186699;
    --primary-dark: #06314d;
    --accent: #d36a3e; /* Orange accent derived from business card */
    --accent-hover: #b55730;
    
    --text-dark: #192026;
    --text-body: #4b5563;
    --text-light: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-light: #f4f7f9;
    --bg-gray: #e5e7eb;
    
    --font-main: 'Outfit', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

/* =======================================
   Reset & Base Styles
======================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* =======================================
   Typography & Shared Elements
======================================= */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title.left-align {
    text-align: left;
}

.sub-heading {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.section-title h2 span {
    color: var(--primary);
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin: 15px auto 20px;
    border-radius: 2px;
}

.section-title.left-align .title-underline {
    margin: 15px 0 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 8px 15px rgba(10, 76, 117, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

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

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

.navbar .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary);
}

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

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

/* =======================================
   Hero Section
======================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    background-color: var(--primary); /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for better text visibility */
    background: linear-gradient(135deg, rgba(10,76,117,0.9) 0%, rgba(6,49,77,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-box {
    max-width: 700px;
    animation: fadeInUp 1s ease 0.2s both;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--bg-white);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

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

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

/* =======================================
   Over Ons (About) Section
======================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid var(--bg-gray);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--accent);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.experience-badge i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.experience-badge span {
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* =======================================
   Diensten (Services) Section
======================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: -1;
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 76, 117, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

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

.service-card:hover h3,
.service-card:hover p {
    color: var(--bg-white);
}

/* =======================================
   Projecten (Slider) Section
======================================= */
.projects {
    background-color: var(--bg-white);
}

.projectSwiper {
    padding-bottom: 60px !important;
    padding-top: 20px;
}

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

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-img {
    height: 250px;
    overflow: hidden;
}

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

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.project-card:hover .project-info {
    border-bottom-color: var(--accent);
}

.project-info h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.swiper-pagination-bullet {
    background: var(--primary) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 24px !important;
    border-radius: 10px !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    background: var(--bg-white) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 800;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary) !important;
    color: var(--bg-white) !important;
}

/* =======================================
   Footer Styles (Gradient UI)
======================================= */
.footer {
    /* Deep blue gradient #0a4c75 to #031724 */
    background: linear-gradient(180deg, #0a4c75 0%, #031724 100%);
    color: var(--bg-white);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-list div {
    display: flex;
    flex-direction: column;
}

.contact-list strong {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer a {
    color: var(--accent);
    font-weight: 600;
}

.developer a:hover {
    color: var(--bg-white);
}

/* =======================================
   Responsive Design
======================================= */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Menu */
    .mobile-toggle {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        padding: 80px 30px 40px;
        display: flex;
        flex-direction: column;
        z-index: 999;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }

    /* Sections */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        margin-bottom: 40px;
    }
    
    .experience-badge {
        left: 50%;
        bottom: -25px;
        transform: translateX(-50%);
        padding: 12px 20px;
        flex-direction: row;
        gap: 12px;
        width: 90%;
        justify-content: center;
        border-radius: 8px;
    }
    
    .experience-badge i {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
    
    .experience-badge span {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-col {
        grid-column: span 1;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
}

/* =======================================
   WhatsApp Float
======================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; /* Positioned on the left side as requested */
    background-color: #25d366; /* Official WhatsApp Color */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebd5c;
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.25);
}

/* Position adjustment for mobile view so it doesn't overlap excessively */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

/* =======================================
   Back to Top Button
======================================= */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px; /* Positioned on the right side */
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
