/* Footer.css - De Rekenmakkers Footer Styling */
/* Dit bestand bevat alle footer-specifieke styling */
/* Zorg ervoor dat de hoofdstijlen (fonts, reset) al geladen zijn in styles.css */

/* Footer component styles */
.footer {
    background-color: #0c113e;
    color: white;
    font-family: inherit; /* Neemt Poppins over van body */
    border-top: 5px solid #fbc535; /* Yellow accent line at top */
    width: 100%;
    margin: 0; /* Remove all margins */
    padding: 0; /* Remove default padding */
    clear: both;
    position: relative;
    overscroll-behavior: none; /* Prevent bounce scrolling in footer */
}

/* Container - hoofdcontainer voor footer inhoud */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Grid - hoofdgrid layout voor footer secties */
.footer .grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet specific footer adjustments (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .footer .container {
        padding: 1.5rem 1rem; /* Smaller padding for tablets */
    }
    
    .footer .grid {
        gap: 1.5rem; /* Smaller gap between sections */
    }
    
    .footer .section {
        gap: 1rem; /* Smaller gap within sections */
    }
    
    .footer .company-name {
        font-size: 1.1rem; /* Smaller company name */
    }
    
    .footer .logo {
        width: 1.75rem; /* Smaller logo */
        height: 1.75rem;
    }
    
    .footer .logo-text {
        font-size: 0.8rem; /* Smaller logo text */
    }
}

@media (min-width: 900px) {
    .footer .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Section - elke kolom in de footer grid */
.footer .section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Logo Container - container voor logo en bedrijfsnaam */
.footer .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logo - vierkante container met initialen */
.footer .logo {
    width: 2rem;
    height: 2rem;
    background-color: #39897d; /* Accent kleur */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo Text - tekst binnen logo (initialen) */
.footer .logo-text {
    color: white;
    font-weight: 600; /* Poppins medium weight */
    font-size: 0.875rem;
}

/* Company Name - bedrijfsnaam naast logo */
.footer .company-name {
    font-size: 1.25rem;
    font-weight: 600; /* Poppins medium weight */
    margin: 0;
    color: white;
}

/* Description - beschrijvende tekst onder bedrijfsnaam */
.footer .description {
    color: #94a3b8; /* Zachte grijstint */
    line-height: 1.625;
    font-weight: 400; /* Poppins regular */
}

/* Social Links - container voor social media iconen */
.footer .social-links {
    display: flex;
    gap: 1rem;
}

/* Social Link - individuele social media link */
.footer .social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1e293b; /* Donkerdere grijstint */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Social Link Icons - ensure icons inside social links are white */
.footer .social-link i {
    color: white !important;
    font-size: 1.25rem;
}

.footer .social-link:hover {
    background-color: #39897d; /* Accent kleur bij hover */
    transform: translateY(-2px); /* Subtiele lift effect */
}

/* Section Title - titels van footer secties (Services, Quick Links, etc.) */
.footer .section-title {
    font-size: 1.125rem;
    font-weight: 600; /* Poppins medium weight */
    margin: 0 0 0.05rem 0;
    color: white;
}

/* Link List - unordered list voor navigatie links */
.footer .link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

/* Link List Items - links binnen de lijsten */
.footer .link-list a {
    color: #94a3b8; /* Zachte grijstint */
    text-decoration: none;
    font-weight: 400; /* Poppins regular */
    transition: color 0.3s ease;
}

.footer .link-list a:hover {
    color: #39897d; /* Accent kleur bij hover */
}

/* Contact Info - container voor contact informatie */
.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #94a3b8;
}

/* Contact item text styling */
.footer .contact-item span,
.footer .contact-item .address span {
    color: #94a3b8; /* Ensure text is visible */
    font-weight: 400;
    font-size: 14px !important; /* Consistent font size - force override */
}

/* Contact item clickable links styling */
.footer .contact-item a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px; /* Consistent font size */
    transition: color 0.3s ease;
}

.footer .contact-item a:hover {
    color: #39897d; /* Accent color on hover */
    cursor: pointer;
}

/* Contact Item - individueel contact item (adres, telefoon, email) */
.footer .contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.1rem;
}

/* Contact Item Center - gecentreerde contact items (telefoon/email) */
.footer .contact-item.center {
    align-items: center;
}

/* Contact Icon - iconen bij contact informatie */
.footer .contact-icon {
    color: #ffffff !important; /* White color for better visibility - force override */
    flex-shrink: 0;
    width: 20px; /* Ensure consistent icon size */
    height: 20px;
    font-size: 18px; /* Slightly smaller for better proportion */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important; /* Remove any background */
    border: none !important; /* Remove any borders */
    outline: none !important; /* Remove any outlines */
}

/* Contact Icon Center - gecentreerde contact iconen */
.footer .contact-icon.center {
    margin-top: 0;
}

/* Address - container voor adres informatie */
.footer .address {
    display: flex;
    flex-direction: column;
    font-weight: 400; /* Poppins regular */
}

/* Address spans - individuele adres regels */
.footer .address span {
    line-height: 1.4;
    font-size: 1rem !important; /* Consistent font size - force override */
}

/* Klikbare contact elementen styling */
.footer .contact-item span[style*="cursor"] {
    transition: color 0.3s ease;
}

.footer .contact-item span[style*="cursor"]:hover {
    color: #39897d;
}

.footer .address[style*="cursor"]:hover {
    color: #39897d;
    cursor: pointer;
}

/* Icon - algemene icoon styling voor Font Awesome */
.footer .icon,
.footer i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important; /* Remove any background */
    border: none !important; /* Remove any borders */
    outline: none !important; /* Remove any outlines */
    text-decoration: none !important; /* Remove any text decoration */
}

/* Specific Font Awesome icon styling */
.footer .fas:not(.contact-icon),
.footer .fab:not(.contact-icon),
.footer .far:not(.contact-icon) {
    background: transparent !important;
    color: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1 !important;
}

/* Separator - horizontale scheidingslijn */
.footer .separator {
    height: 1px;
    background-color: #1e293b;
    margin: 1.5rem 0;
    border: none;
    width: 100%;
}

/* Bottom Section - onderste gedeelte met copyright en links */
.footer .bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem; /* Ensure proper spacing */
}

@media (min-width: 768px) {
    .footer .bottom-section {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Copyright - copyright tekst */
.footer .copyright {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 400; /* Poppins regular */
    margin: 0;
    display: block; /* Ensure it's visible */
}

/* Bottom Links - container voor footer bottom links */
.footer .bottom-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

/* Bottom Links Items - individuele bottom links */
.footer .bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 400; /* Poppins regular */
    transition: color 0.3s ease;
}

.footer .bottom-links a:hover {
    color: #39897d; /* Accent kleur bij hover */
}

/* Footer Links - container voor algemene voorwaarden etc */
.footer .footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 12px;
}

.footer .footer-links a {
    color: #94a3b8; /* Zachte grijstint - exact als copyright */
    text-decoration: none;
    font-weight: 400; /* Poppins regular - exact als copyright */
    font-size: 12px; /* Smaller, subtle size */
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    color: #39897d; /* Accent kleur bij hover - exact als andere links */
}

/* Responsive aanpassingen voor kleinere schermen */
@media (max-width: 767px) {
    .footer .container {
        padding: 2rem 1rem; /* Reduced from 3rem to 2rem */
    }
    
    .footer .grid {
        gap: 2.5rem;
    }
    
    .footer .social-links {
        justify-content: flex-start;
    }
    
    .footer .bottom-section {
        text-align: center;
    }
    
    .footer .bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Hide Diensten section on mobile */
    .footer .section:nth-child(2) {
        display: none;
    }
}

/* Focus states voor toegankelijkheid */
.footer .social-link:focus,
.footer .link-list a:focus,
.footer .bottom-links a:focus {
    outline: 2px solid #39897d;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Hover effects voor betere gebruikerservaring */
.footer .link-list li:hover {
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

/* Print styling - verberg decoratieve elementen bij printen */
@media print {
    .footer .social-links,
    .footer .separator {
        display: none;
    }
    
    .footer {
        background-color: transparent !important;
        color: black !important;
    }
    
    .footer .description,
    .footer .contact-info,
    .footer .copyright {
        color: black !important;
    }
}