/* Custom CSS voor Stop Binnenduin website */

/* Root variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 64px;
}

/* Navbar styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link.active {
    font-weight: bold;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0 15px;
}

.flash-messages .alert {
    margin-bottom: 0;
    border-radius: 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    font-weight: bold;
    margin-bottom: 1rem;
}

.card.border-primary {
    border: 2px solid var(--primary-color) !important;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Forms */
.form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Section spacing */
section {
    padding: 3rem 0;
}

/* Text styling */
.text-primary {
    color: var(--primary-color) !important;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Lists */
.list-group-item {
    border: 1px solid #dee2e6;
    border-radius: 6px !important;
    margin-bottom: 0.5rem;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item-action {
    transition: background-color 0.3s ease;
}

/* Contact info styling */
.contact-info p {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    margin-top: auto;
}

footer h5 {
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
    color: #adb5bd;
}

footer i {
    color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .display-1 {
        font-size: 3rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .flash-messages {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

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