@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #FAB919;
    /* --primary-color: #ff8a00; */
    --secondary-color: #c89414;
    /* --secondary-color: #cc6e00; */
    --dark-color: #333333;
    --black: #000;
    --light-gray: #f8f9fa;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-sc: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

#about {
    background: url(/assets/images/background.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.black {
    color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
}

h2.display-5 {
    color: var(--primary-color) !important;
}

a.btn.btn-outline-light.btn-lg:hover {
    border: none;
    color: #fff;
    background: var(--secondary-color);
}

.btn-success {
    border: none;
    background: var(--primary-color) !important;
}

.btn-group-vertical>.btn, .btn-group>.btn {
    background: var(--primary-color);
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success:visited, .btn-success:visited:hover {
    border: none;
    background: var(--secondary-color);
}

.dropdown-menu {
    border: none;
    color: #fff;
    background: var(--primary-color);
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item:active, .dropdown-item:visited, .dropdown-item:visited:hover {
    color: #fff;
    background: var(--secondary-color);
}

.contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

/* Bootstrap Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

/* Navigation */
.navbar {
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://sitebij.nl/assets/images/background.webp');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
}

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

.hero-image {
    font-size: 200px;
    text-shadow: 8px 8px 21px rgba(0, 0, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-40px);
    }
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary-color);
    /* background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-sc);
}

.service-icon {
    background-color: var(--primary-color);
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    /* width: 80px; */
    height: 80px;
    /* border-radius: 50%; */
    aspect-ratio: 1/cos(30deg);
    clip-path: polygon(50% -50%,100% 50%,50% 150%,0 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    /* color: var(--white); */
}

/* Projects */

.project-1 {
    background: url("https://sitebij.nl/assets/images/verandabouwholland.nl.gif") !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.project-2 {
    background: url("https://sitebij.nl/assets/images/klussen-renovaties.nl.gif") !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary-color);
    /* background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); */
}

.project-card:hover {
    box-shadow: var(--shadow-sc);
}

.project-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.project-card p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.visit:hover {
    transform: translateY(-10px);
}

/* Statistics */
.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e9ecef;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(250, 185, 25, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info-item {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-info-item i {
    margin-bottom: 1rem;
}

.contact-info-item h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Modal Customizations */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    border: none;
    border-radius: 0;
}

.modal-footer {
    border: none;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }

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

    .service-card {
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .stat-item {
        margin-bottom: 2rem;
    }

}

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

    .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-image {
        animation: none;
    }
}

/* Focus Styles for Better Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--dark-color);
    }

    .contact-form-wrapper {
        border: 2px solid var(--dark-color);
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #f8f9fa;
        --light-gray: #212529;
        --white: #343a40;
        --text-muted: #adb5bd;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .hero-section,
    #contact,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}