/* Common CSS for AIDIX Gevelwerken */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152a45;
    --accent-color: #00b4d8;
    --accent-light: #48cae4;
    --success-color: #2ecc71;
    --success-dark: #27ae60;
    --warning-color: #f39c12;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #00b4d8 100%);
    --gradient-accent: linear-gradient(135deg, #00b4d8 0%, #48cae4 100%);
    --gradient-success: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #f8f9fa;
}

/* Navbar */
.navbar {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 58, 95, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: white;
    color: var(--primary-color);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 184, 216, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(5deg); }
}

.hero-section .lead {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 400;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.1;
}

/* Buttons */
.btn-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 45px;
    font-size: 1.15rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.25);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.35);
    background: var(--gradient-accent);
    color: white;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::after {
    width: 300px;
    height: 300px;
}

.btn-secondary-cta {
    background: var(--success-color);
    color: white;
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.btn-secondary-cta:hover {
    background: var(--success-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid white;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

/* Cards */
.service-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    margin-bottom: 30px;
    background: white;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-card .card-body {
    transition: all 0.3s ease;
    padding: 2rem;
}

.service-card:hover .card-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat Box */
.stat-box {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(45deg);
}

.stat-box:hover::before {
    opacity: 0.05;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(30, 58, 95, 0.03);
    transform: translateX(10px);
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Calculator Preview */
.calculator-preview {
    background: var(--gradient-success);
    color: white;
    border-radius: 25px;
    padding: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.calculator-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite;
}

.calculator-preview:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(46, 204, 113, 0.3);
}

.quick-calc-btn {
    background: white;
    color: var(--success-dark);
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin: 15px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.quick-calc-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Feature Images */
.feature-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    min-height: 450px;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-image:hover::after {
    opacity: 1;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-image:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.feature-image:hover img {
    transform: scale(1.1);
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.feature-content h3 {
    font-size: 2.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.feature-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

/* Image Gallery */
.image-gallery {
    padding: 100px 0;
}

.gallery-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 35px;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-image:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.gallery-image:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.stars {
    color: var(--warning-color);
    font-size: 1.2rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 50px 35px;
    position: relative;
}

.process-number {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 auto 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
    position: relative;
    z-index: 1;
}

.process-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-step:hover .process-number {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(30, 58, 95, 0.4);
}

.process-step:hover .process-number::before {
    opacity: 0.3;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.form-control, .form-select {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    .feature-image {
        min-height: 300px;
        margin-bottom: 20px;
    }
    .feature-content {
        padding: 20px;
    }
    .feature-content h3 {
        font-size: 1.5rem;
    }
    .feature-content p {
        font-size: 1rem;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .hero-section .lead {
        font-size: 1rem;
        color: #555;
    }
    .calculator-preview {
        margin-top: 30px;
    }
    .btn-cta {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 10px;
    }
    .btn-outline-light {
        width: 100%;
    }
    .service-card {
        margin-bottom: 25px;
    }
    .service-icon {
        font-size: 3rem;
    }
    .stat-box {
        padding: 20px;
        margin-bottom: 15px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .benefit-item {
        margin-bottom: 25px;
    }
    .process-step {
        padding: 30px 15px;
    }
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .location-section .card {
        margin-bottom: 15px;
    }
    .location-section .col-md-4 {
        margin-bottom: 15px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .quick-calc-btn {
        width: 100%;
        margin: 5px 0;
    }
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    section {
        padding: 50px 0;
    }
    .card-body {
        padding: 20px;
    }
    .why-choose-section .card {
        margin-top: 20px;
    }
    .why-choose-section .form-control,
    .why-choose-section .form-select {
        padding: 12px;
        font-size: 0.95rem;
    }
    .why-choose-section .form-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-section .lead {
        font-size: 0.95rem;
    }
    .service-card .card-body {
        padding: 25px 15px;
    }
    .service-icon {
        font-size: 2.5rem;
    }
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .btn-cta {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}
