/* Custom CSS for ciupanezu bouwbedrijf Website */

:root {
    --primary-color: #8B4513;
    --secondary-color: #654321;
    --accent-color: #FF8C00;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --bg-light: #F8F6F3;
    --border-color: #D4C4B7;
    --warm-gray: #8A8A8A;
    --light-brown: #D2B48C;
    --dark-brown: #5D4037;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

/* Hide hamburger menu and navigation on mobile */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: none !important;
    }
    
    /* Mobile navbar padding to keep logo centered */
    .navbar {
        padding: 1.5rem 0 1rem 0;
    }
    
    .navbar .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-brand {
        margin: 0;
        padding: 0;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-container {
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.company-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo-container:hover .company-logo {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    transform: scale(1.05);
}

/* Enhanced logo styling for the image logo */
.company-logo {
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

/* Project cards styling */
.project-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Contact cards styling */
.contact-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.whatsapp-icon {
    transition: all 0.3s ease;
}

.contact-card:hover .whatsapp-icon {
    transform: scale(1.1);
}



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

.project-card:hover .project-overlay {
    opacity: 1 !important;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-content {
    border-top: none;
}

.navbar-brand .logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

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

/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E8E0D8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--text-dark);
    line-height: 1.2;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent-color);
}



/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #2C1810 100%);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Typography */
.display-4, .display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Images */
.img-fluid {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Mobile logo adjustments */
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .logo-container {
        max-width: 80vw;
        width: 80vw;
    }
    
    .company-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }
    
    /* Additional mobile navbar centering */
    .navbar {
        padding: 2rem 0 1.5rem 0;
    }
    
    .navbar .container {
        justify-content: center;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .service-card, .review-card {
        margin-bottom: 2rem;
    }
    
    /* Small mobile logo adjustments */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-container {
        max-width: 80vw;
        width: 80vw;
    }
    
    .company-logo {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.6px;
    }
}

/* iPhone 13/14 specific adjustments */
@media (max-width: 390px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-container {
        max-width: 80vw;
        width: 80vw;
    }
    
    .company-logo {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    /* iPhone 13/14 navbar centering */
    .navbar {
        padding: 1.8rem 0 1.2rem 0;
    }
    
    .navbar .container {
        justify-content: center;
        padding: 0 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Enhanced Warm Theme Styles */
.service-card {
    border-left: 4px solid var(--accent-color);
}

.review-card {
    border-left: 4px solid var(--light-brown);
}



/* Warm accent elements */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-brown);
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: white;
}

 