/* Home page specifieke styles */

/* Hero / banner */
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.hero img {
    width: 100%;
    display: block;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(13, 27, 42, 0.45);
}

.hero-overlay h1 {
    font-size: 3.5em;
    color: #ffffff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1.4em;
    color: #dbe6f2;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 25px;
}

/* Introductie container */
.container.intro,
.container.services,
.container.featured {
    background: rgba(13, 27, 42, 0.9);
}

.container h2 {
    font-size: 2.5em;
    color: #b3c5d9;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.intro-text p {
    color: #b3c5d9;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.services-lead {
    color: #b3c5d9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Service cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(0, 122, 204, 0.15);
    border-color: rgba(0, 122, 204, 0.6);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 122, 204, 0.2);
    color: #7fc4ee;
    font-size: 30px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-card p {
    color: #b3c5d9;
    line-height: 1.6;
}

/* Featured project */
.featured-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 30px;
}

.featured-logo {
    flex: 0 0 140px;
}

.featured-logo img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.featured-info {
    flex: 1;
}

.featured-info h3 {
    font-size: 1.9em;
    color: #ffffff;
    margin-bottom: 12px;
}

.featured-info p {
    color: #b3c5d9;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

/* Contactformulier stijl */
.container.appointment {
    background: rgba(13, 27, 42, 0.9);
}

.container.appointment h2 {
    margin-bottom: 20px;
}

.container.appointment label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #b3c5d9;
}

.container.appointment input[type="text"],
.container.appointment input[type="email"],
.container.appointment input[type="tel"],
.container.appointment textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.container.appointment input:focus,
.container.appointment textarea:focus {
    border-color: #007acc;
    outline: none;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.g-recaptcha {
    margin: 20px 0;
}

/* Overlay stijl */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 41, 99, 0.9);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Responsieve stijl */
@media screen and (max-width: 992px) {
    .container h2 {
        font-size: 1.8em;
    }

    .hero-overlay h1 {
        font-size: 2.2em;
    }

    .hero-overlay p {
        font-size: 1.1em;
    }

    .featured-card {
        flex-direction: column;
        text-align: center;
    }

    .featured-info p {
        text-align: left;
    }

    .form-row {
        flex-direction: column;
    }
}
