/* =====================================================
   Footer Styling - Hillegom Online
   ===================================================== */

.site-footer {
    background-color: #e8f0f7;
    color: #1f2937;
    padding: 3rem 0 0;
    margin-top: 4rem;
    border-top: 3px solid var(--blue-text);
}

/* Footer Main Content - 2 Column Layout */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0 2rem;
    align-items: start;
}

/* Left Section: Logo, Contact, Social, Menus */
.footer-left-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Logo Section */
.footer-logo-section {
    margin-bottom: 0.5rem;
}

.footer-logo img {
    display: block;
}

/* Contact & Social Wrapper - Side by Side */
.footer-contact-social-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
}

.footer-contact-item a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover {
    color: var(--blue-text);
}

.footer-contact-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    color: var(--blue-text);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 2px solid var(--blue-text);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.footer-contact-btn:hover {
    background: var(--blue-text);
    color: #fff;
    transform: translateY(-2px);
}

/* Social Media Section */
.footer-social-section {
    display: flex;
    flex-direction: column;
}

.footer-social-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--blue-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid var(--blue-text);
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social-icon:hover {
    background: var(--blue-text);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Navigation Menus */
.footer-menus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-menu h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.6rem;
}

.footer-menu a {
    color: #1f2937;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--blue-text);
    text-decoration: underline;
}

/* Right Section - Fotoreportages */
.footer-right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Fotoreportages Gallery Section - Speelse Polaroid Layout */
.footer-fotoreportages-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-foto-title {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
}

.footer-fotoreportages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0;
    max-width: 400px;
    width: 100%;
}

/* Speelse Polaroid Styling */
.footer-foto-item {
    position: relative;
    display: block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Elk foto-item krijgt een unieke lichte rotatie */
.footer-foto-item.foto-0 {
    transform: rotate(-2deg);
}

.footer-foto-item.foto-1 {
    transform: rotate(1.5deg);
}

.footer-foto-item.foto-2 {
    transform: rotate(-1deg);
}

.footer-foto-item.foto-3 {
    transform: rotate(2deg);
}

.footer-foto-item:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.05);
    z-index: 10;
}

.foto-polaroid {
    background: #fff;
    padding: 0.5rem;
    padding-bottom: 2rem;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.footer-foto-item:hover .foto-polaroid {
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.2);
}

.foto-polaroid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 1px;
}

.foto-caption {
    padding: 0.6rem 0.4rem 0;
    text-align: center;
}

.foto-caption span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Permanent Marker', cursive, -apple-system, sans-serif;
}

.foto-hover-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--blue-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) rotate(-15deg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-foto-item:hover .foto-hover-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.foto-hover-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Maak eerste en laatste foto iets groter voor asymmetrie */
.footer-foto-item.foto-0,
.footer-foto-item.foto-3 {
    transform-origin: center center;
}

.footer-foto-item.foto-0 {
    transform: rotate(-3deg) scale(1.08);
    margin-top: -0.5rem;
}

.footer-foto-item.foto-3 {
    transform: rotate(2.5deg) scale(1.08);
    margin-top: -0.5rem;
}

.footer-foto-item.foto-0:hover,
.footer-foto-item.foto-3:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.12);
}

.footer-social-title {
    margin: 1.5rem 0 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Bottom */
.footer-bottom {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.footer-privacy-link {
    color: var(--blue-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-privacy-link:hover {
    text-decoration: underline;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 0 1.5rem;
    }
    
    .footer-left-section {
        gap: 2rem;
    }
    
    .footer-contact-social-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-menus {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-fotoreportages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 0;
        margin-top: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0 1rem;
    }
    
    .footer-left-section {
        gap: 2rem;
    }
    
    .footer-contact-social-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-menus {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-contact-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-fotoreportages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
    
    /* Reset rotatie op kleinere schermen voor betere lay-out */
    .footer-foto-item.foto-0,
    .footer-foto-item.foto-1,
    .footer-foto-item.foto-2,
    .footer-foto-item.foto-3 {
        transform: rotate(0deg) scale(1);
        margin-top: 0;
    }
    
    .footer-foto-item.foto-0,
    .footer-foto-item.foto-3 {
        transform: rotate(0deg) scale(1);
    }
    
    .footer-foto-item:hover {
        transform: translateY(-8px) scale(1.03);
    }
    
    .footer-foto-item.foto-0:hover,
    .footer-foto-item.foto-3:hover {
        transform: translateY(-8px) scale(1.03);
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 0;
        margin-top: 2rem;
    }
    
    .footer-main {
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .footer-left-section {
        gap: 1.5rem;
    }
    
    .footer-logo img {
        max-height: 60px;
    }
    
    .footer-menu h3,
    .footer-social-section h3 {
        font-size: 0.95rem;
    }
    
    .footer-social-icons {
        gap: 0.5rem;
    }
    
    .footer-social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-fotoreportages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-foto-title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .foto-polaroid {
        padding: 0.4rem;
        padding-bottom: 2rem;
    }
    
    .foto-caption span {
        font-size: 0.75rem;
    }
}
