:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --max-width: 1200px;
    --section-padding: 4rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    height: 100%;
}
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
}

/* Header */
.header {
    background: /*linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(52, 73, 94, 0.9) 100%), */
    url('../assets/graphics/keys.avif') center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
    padding-bottom: 10px;
    color: var(--text-dark);
    text-align: center;
}

.header-content {
    margin-top: 5vh;
    position: relative;
    z-index: 1;
}
.header .container{ backdrop-filter: blur(2px);}
.logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: var(--shadow);
}

.header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.header .subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
.nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--background-light);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #ecf0f1 100%);
    text-align: center;
}

.hero-content {
    margin: 0 auto;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    cursor: pointer;
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-width: 0px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */

.feedback {
    display: table;
    margin-bottom: 20px;
    min-height: 40px;
    text-align: center;
    width: 100%;
}

.feedback-text {
    display: flex;
    align-items: center;
    font-size: .9rem;
    justify-content: center;
    gap: 20px;
}

.feedback-text-error {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    color: var(--white);
    padding: 5px;
}
.feedback-text-success {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--white);
    background-color: rgb(101, 210, 103);
    padding: 5px;
}
.verwerken {
    font-size: 1.1rem;
    height: 250px;
    animation: divFadeInAndOut 2000ms ease-in-out infinite;
    text-align: center;
}

.contact {
    background: var(--background-light);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.phone-link:hover {
    text-decoration: underline;
}
.phone-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}
.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contactFormulier .inputFieldRow {
    margin-bottom: 17px;
    display: flex;
    align-items: flex-start;
    position: relative;

    & div {
        width: 100%;
    }
}

.inputFieldRow input, .inputFieldRow textarea {
    border-style: solid;
    border-color: #eee;
    /*border-width: 2px;*/
    font-size: 1rem;
    min-height: 50px;
    padding: 10px;
    width: 100%;
}

.inputFieldRow textarea {
    height: 150px;
}

.surname {
    display: none;
}

/* cookie banner */
.cookie-info-banner {
    position: fixed;
    background-color: #ffffff;
    bottom: 0;
    color: #222222;
    font-size: .8rem;
    left: 0;
    padding: 12px;
    text-align: center;
    width: 100%;
    z-index: 300;

    box-shadow: -1px -8px 6px 1px rgba(141, 141, 141, 0.3);
    -webkit-box-shadow: -1px -8px 6px 1px rgba(141, 141, 141, 0.3);
    -moz-box-shadow: -1px -8px 6px 1px rgba(141, 141, 141, 0.3);
}
.cookie-info-banner p {
    margin: 5px 0;
}

.cookie-info-banner-tekst {
    max-height: 75vh;
    overflow: auto;
}

.cookie-info-banner .btn {
    background: var(--accent-color);
    cursor: pointer;
    margin: 5px;
    max-width: 200px;
    padding: 15px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-width: 0px;
}

.cookie-info-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cookie-info-banner-buttons {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .cookie-info-banner {
        padding: 12px 12px 24px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .cookie-info-banner .btn {
        margin: 5px;
        width: 100%;
    }
}

/* Map */
.gmap iframe {
    min-height: 350px;
    width: calc(100% - 0.5px);
}

/* Algemene Voorwwarden */
ol li h3 {
    text-align: left;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;

    & a {
        color: var(--white);
    }
}

.footer p {
    opacity: 0.8;
}
/*********************/
/* Responsive Design */
@media (max-width: 1085px) {
  .header {
        background-size: 100vh;
    }
}
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        background-size: 130vh;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animaties formulier */
/*************************
/* Animations
/*************************/
@-webkit-keyframes divFadeInAndOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
    }
}

@-moz-keyframes divFadeInAndOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
    }
}

@keyframes divFadeInAndOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
    }
}