/* ========================================
   HUISJE PLUS BEZORG DIENSTEN - PROFESSIONAL CONSTRUCTION CSS
   ======================================== */

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

:root {
    /* Brand Colors */
    --primary-color: #579a9f;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.phone-btn {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-btn:hover {
    background: #4a8487;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Page Sections */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page-section.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: var(--section-padding);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(87, 154, 159, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(87, 154, 159, 0.05) 0%, rgba(44, 62, 80, 0.02) 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(87, 154, 159, 0.05), transparent);
    animation: heroFloat 15s ease-in-out infinite;
    transform-origin: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(87, 154, 159, 0.08) 0%, transparent 70%);
    animation: heroPulse 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(87, 154, 159, 0.2);
    transition: all 0.3s ease;
}

.hero-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-badges .badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: badgeFloat 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.badge:nth-child(1) { --delay: 0s; }
.badge:nth-child(2) { --delay: 0.5s; }

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: titleSlideIn 1s ease-out;
    text-align: center;
}

.hero h1 .highlight {
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    animation: underlineGrow 1.5s ease-out 0.5s both;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    animation: statsSlideIn 1s ease-out;
    animation-delay: calc(var(--index, 0) * 0.2s);
    animation-fill-mode: both;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #4a8487;
    transform: translateY(-2px);
}

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

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Services Overview */
.services-overview {
    padding: var(--section-padding);
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    animation: serviceCardHover 0.3s ease forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    animation: iconSpin 1s ease-in-out;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    text-decoration: underline;
}

/* Why Choose Us */
.why-choose {
    padding: var(--section-padding);
    background: var(--light-bg);
}

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

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: calc(var(--feature-index, 0) * 0.1s);
    animation-fill-mode: both;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Page Hero */
.page-hero {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Detail */
.services-detail {
    padding: var(--section-padding);
    background: var(--white);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    align-items: center;
}

.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
}

.service-image i {
    font-size: 3rem;
    color: var(--white);
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.service-content li {
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Work Gallery Sections */
.work-gallery {
    padding: 4rem 0;
    background: var(--white);
}

.work-gallery:nth-of-type(even) {
    background: var(--light-bg);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.gallery-icon i {
    font-size: 2.5rem;
    color: white;
}

.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.work-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.work-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.work-photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

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

.work-photo-item:hover img {
    transform: scale(1.1);
}

.work-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-photo-item:hover .work-photo-overlay {
    opacity: 1;
}

.work-photo-overlay h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Section specific colors */
.stucwerk-section .gallery-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.schilderwerk-section .gallery-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.tegelwerk-section .gallery-icon {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

/* Transport */
.transport-info {
    padding: var(--section-padding);
    background: var(--white);
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.transport-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.transport-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.transport-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.transport-card ul {
    list-style: none;
}

.transport-card li {
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.transport-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Transport Gallery */
.transport-gallery {
    margin-top: 4rem;
}

.transport-gallery h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.gallery-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.transport-gallery-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Featured Vehicle - Large Left Image/Video */
.featured-vehicle {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    height: 100%;
    min-height: 500px;
}

.featured-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-vehicle:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.featured-vehicle:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 3rem;
    color: white;
}

.featured-content {
    text-align: left;
}

.featured-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.featured-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
}

.featured-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Vehicle Grid - 2x2 on Right */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    height: 100%;
}

.vehicle-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.vehicle-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

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

.vehicle-item:hover img {
    transform: scale(1.1);
}

.vehicle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(87, 154, 159, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vehicle-item:hover .vehicle-overlay {
    opacity: 1;
}

.vehicle-overlay h5 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* About */
.about-content {
    padding: var(--section-padding);
    background: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact */
.contact-content {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Mobile Sticky Phone Button */
.mobile-phone-sticky {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(87, 154, 159, 0.4);
    z-index: 1000;
    text-decoration: none;
    color: white;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse-ring 2s infinite;
}

.mobile-phone-sticky:hover {
    background: #4a8487;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(87, 154, 159, 0.6);
}

.mobile-phone-sticky:active {
    transform: scale(0.95);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 4px 20px rgba(87, 154, 159, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(87, 154, 159, 0.4), 0 0 0 15px rgba(87, 154, 159, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(87, 154, 159, 0.4), 0 0 0 15px rgba(87, 154, 159, 0);
    }
}

/* Show sticky phone button on mobile only */
@media (max-width: 768px) {
    .mobile-phone-sticky {
        display: flex;
    }
    
    /* Hide the regular phone button in nav on very small screens */
    .nav-contact .phone-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-phone-sticky {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom .designed-by a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .designed-by a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1.5rem;
    }

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

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        width: 80%;
        text-align: center;
    }

    .hamburger {
        display: flex;
        gap: 3px;
        flex-direction: column;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo-img {
        height: 35px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-badges {
        gap: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .work-photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .schilderwerk-grid {
        grid-template-columns: 1fr;
    }

    .transport-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-gallery-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-vehicle {
        min-height: 350px;
    }
    
    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .company-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-badges .badge {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

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

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

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

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

/* Keyframe Animations */
@keyframes heroFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    33% { 
        transform: translate(20px, -20px) rotate(1deg); 
    }
    66% { 
        transform: translate(-15px, 15px) rotate(-1deg); 
    }
}

@keyframes heroPulse {
    0%, 100% { 
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1) translate(10px, -10px);
        opacity: 0.5;
    }
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-8px); 
    }
}

@keyframes titleSlideIn {
    0% { 
        opacity: 0;
        transform: translateY(50px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineGrow {
    0% { 
        width: 0;
        opacity: 0;
    }
    100% { 
        width: 100%;
        opacity: 1;
    }
}

@keyframes statsSlideIn {
    0% { 
        opacity: 0;
        transform: translateX(50px);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes serviceCardHover {
    0% { 
        transform: translateY(0) scale(1);
    }
    100% { 
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes iconSpin {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

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

/* Animation for smooth page transitions */
.page-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states and micro-interactions */
.btn:active {
    transform: translateY(1px);
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(87, 154, 159, 0.1);
}

/* Accessibility improvements */
.btn:focus,
.nav-link:focus,
.phone-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   PROJECT GALLERIES
   ======================================== */

/* Homepage Project Gallery Carousel */
.project-gallery {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.carousel-container {
    position: relative;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(87, 154, 159, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Add cursor pointer to carousel images */
.carousel-img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.carousel-img:hover {
    opacity: 0.9;
}

/* Afbouw Page Gallery */
.afbouw-gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.afbouw-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.afbouw-gallery .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Carousel & Gallery */
@media (max-width: 768px) {
    .carousel-container {
        margin-top: 2rem;
    }
    
    .carousel-img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-dots {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .afbouw-gallery .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-img {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
    
    .carousel-dots {
        gap: 0.5rem;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -20px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    backdrop-filter: blur(10px);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-image {
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: -40px;
        right: -10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: -35px;
        right: -5px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   TRANSPORT PAGE DYNAMIC STYLING
   ======================================== */

/* Transport Hero Section */
.transport-hero {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #ddeeff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.transport-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(87, 154, 159, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(231, 76, 60, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.transport-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Country Flags */
.country-flag {
    text-align: center;
    animation: flagWave 3s ease-in-out infinite;
}

.country-flag h3 {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.flag {
    width: 120px;
    height: 80px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Netherlands Flag */
.netherlands-flag .flag-stripe {
    flex: 1;
}

.netherlands-flag .red {
    background: #FF4B4B;
}

.netherlands-flag .white {
    background: #FFFFFF;
}

.netherlands-flag .blue {
    background: #1E40AF;
}

/* Spain Flag */
.spain-flag {
    position: relative;
}

.spain-flag .flag-stripe {
    flex: 1;
}

.spain-flag .spain-red {
    background: #C60B1E;
}

.spain-flag .spain-yellow {
    background: #FFC400;
    flex: 2; /* Yellow stripe is twice as wide */
}

/* Transport Route */
.transport-route {
    text-align: center;
    position: relative;
}

.route-line {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        #4a90a4 25%, 
        #87ceeb 50%, 
        #4a90a4 75%, 
        var(--primary-color) 100%);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.route-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: routeShimmer 3s ease-in-out infinite;
}

.truck-icon {
    position: absolute;
    top: -15px;
    left: 20%;
    background: var(--white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: truckMove 4s ease-in-out infinite;
}

.truck-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.route-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: titlePulse 2s ease-in-out infinite;
}

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

/* Destinations List */
.destinations-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.destination-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: destinationFloat 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.destination-item:nth-child(1) { --delay: 0s; }
.destination-item:nth-child(2) { --delay: 0.5s; }
.destination-item:nth-child(3) { --delay: 1s; }
.destination-item:nth-child(4) { --delay: 1.5s; }

.destination-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.destination-item i {
    color: #E74C3C;
    font-size: 1.1rem;
}

.destination-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Animations */
@keyframes flagWave {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes truckMove {
    0% { left: 10%; }
    50% { left: 85%; }
    100% { left: 10%; }
}

@keyframes routeShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes destinationFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-8px); 
    }
}

/* Responsive Transport Header */
@media (max-width: 768px) {
    .transport-header {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .flag {
        width: 100px;
        height: 65px;
    }
    
    .route-info h1 {
        font-size: 2rem;
    }
    
    .destinations-list {
        gap: 1rem;
    }
    
    .destination-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .destinations-list {
        flex-direction: column;
        align-items: center;
    }
    
    .flag {
        width: 80px;
        height: 50px;
    }
    
    .route-info h1 {
        font-size: 1.8rem;
    }
}

/* ========================================
   DYNAMIC AFBOUW PAGE STYLING
   ======================================== */

/* Afbouw Hero Section */
.afbouw-hero {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.afbouw-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(231, 115, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(87, 154, 159, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.afbouw-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Tools Animation */
.tools-animation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: toolFloat 3s ease-in-out infinite;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.tool-icon:nth-child(1) { animation-delay: 0s; color: #E67E22; }
.tool-icon:nth-child(2) { animation-delay: 0.5s; color: #9B59B6; }
.tool-icon:nth-child(3) { animation-delay: 1s; color: #1ABC9C; }
.tool-icon:nth-child(4) { animation-delay: 1.5s; color: #E74C3C; }

.tool-icon.active {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 10px currentColor);
}

.afbouw-title-area h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    animation: titleGlow 2s ease-in-out infinite;
}

.afbouw-title-area p {
    font-size: 1.3rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Expertise Stats */
.expertise-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    animation: statPulse 2s ease-in-out infinite;
}

.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
}

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

/* Construction Animation */
.construction-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.building-progress {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.building-progress::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), #E67E22);
    transform: translateX(-50%);
    z-index: 1;
}

.progress-stage {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    animation: stageSlideIn 0.8s ease-out;
    animation-fill-mode: backwards;
    transition: all 0.3s ease;
}

.progress-stage:nth-child(1) { animation-delay: 0.2s; }
.progress-stage:nth-child(2) { animation-delay: 0.4s; }
.progress-stage:nth-child(3) { animation-delay: 0.6s; }
.progress-stage:nth-child(4) { animation-delay: 0.8s; }

.progress-stage:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.progress-stage i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4a90a4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconSpin 4s ease-in-out infinite;
}

.progress-stage span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

/* Services Intro */
.services-intro {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.services-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.services-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #E67E22);
    border-radius: 2px;
}

.services-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Enhanced Service Cards */
.service-detail-card {
    animation: cardSlideIn 0.8s ease-out;
    animation-fill-mode: backwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-detail-card:nth-child(1) { animation-delay: 0.1s; }
.service-detail-card:nth-child(2) { animation-delay: 0.2s; }
.service-detail-card:nth-child(3) { animation-delay: 0.3s; }
.service-detail-card:nth-child(4) { animation-delay: 0.4s; }
.service-detail-card:nth-child(5) { animation-delay: 0.5s; }
.service-detail-card:nth-child(6) { animation-delay: 0.6s; }

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.service-detail-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card:hover .service-image i {
    transform: scale(1.2) rotate(5deg);
    color: #E67E22;
}

/* Animations */
@keyframes toolFloat {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-10px) rotateZ(5deg); }
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 0px rgba(87, 154, 159, 0); }
    50% { text-shadow: 0 0 20px rgba(87, 154, 159, 0.3); }
}

@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes stageSlideIn {
    0% { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes iconSpin {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(90deg); }
    50% { transform: rotateY(180deg); }
    75% { transform: rotateY(270deg); }
    100% { transform: rotateY(360deg); }
}

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

@keyframes cardSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(50px) rotateX(30deg); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg); 
    }
}

/* Responsive Afbouw */
@media (max-width: 768px) {
    .afbouw-header {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .afbouw-title-area h1 {
        font-size: 2.2rem;
    }
    
    .expertise-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .progress-stage {
        padding: 1rem 1.5rem;
    }
    
    .progress-stage span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tools-animation {
        gap: 0.5rem;
    }
    
    .tool-icon {
        font-size: 2rem;
    }
    
    .expertise-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .building-progress {
        gap: 1.5rem;
    }
    
    .progress-stage {
        gap: 1rem;
        padding: 1rem;
    }
    
    .progress-stage i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   DYNAMIC ABOUT PAGE STYLING
   ======================================== */

/* About Hero Section */
.about-hero {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(87, 154, 159, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 115, 62, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.about-intro {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.company-badge {
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

.company-badge i {
    font-size: 4rem;
    color: #FFD700;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.about-intro h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: titleSlideIn 1s ease-out;
}

.about-intro p {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* About Stats Hero */
.about-stats-hero {
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.about-stats-hero .stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: statCardSlideUp 0.8s ease-out;
    animation-fill-mode: backwards;
    transition: all 0.3s ease;
}

.about-stats-hero .stat-item:nth-child(1) { animation-delay: 0.2s; }
.about-stats-hero .stat-item:nth-child(2) { animation-delay: 0.4s; }
.about-stats-hero .stat-item:nth-child(3) { animation-delay: 0.6s; }

.about-stats-hero .stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-stats-hero .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Story Section */
.about-story {
    padding: var(--section-padding);
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #E67E22);
    border-radius: 2px;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.story-highlights {
    margin-top: 2rem;
    animation: fadeInLeft 1s ease-out 0.4s both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 30px;
}

.highlight-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Story Image */
.story-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.image-frame:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Values Section */
.about-values {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-values h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.about-values h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #E67E22);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: valueCardSlideUp 0.8s ease-out;
    animation-fill-mode: backwards;
    position: relative;
    overflow: hidden;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.3s; }
.value-card:nth-child(3) { animation-delay: 0.5s; }

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(87, 154, 159, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.value-icon {
    margin-bottom: 2rem;
}

.value-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    animation: iconBounce 2s ease-in-out infinite;
}

.value-card:hover .value-icon i {
    color: #E67E22;
    transform: scale(1.1) rotateY(360deg);
}

.value-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Animations */
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes titleSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(-50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes statCardSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(80px) scale(0.8); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes fadeInLeft {
    0% { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes fadeInRight {
    0% { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes valueCardSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(60px) rotateX(20deg); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg); 
    }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-stats-hero {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .about-stats-hero .stat-item {
        padding: 1.5rem 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-text h2 {
        font-size: 2.2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-intro h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-stats-hero {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats-hero .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .story-text p {
        font-size: 1.1rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .company-badge i {
        font-size: 3rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    .page-section {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
}