/* Modern Footer Styles */
.site-footer {
    background-color: #E5E1DC;
    color: #000000;
    margin-top: auto;
}

.footer-main {
    padding: 60px 0 40px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Separator line before footer */
.footer-separator {
    width: 1410px;
    margin: 20px auto 0 auto;
    height: 2px;
    background: #333333;
    padding: 1px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 2fr; /* company, nav, categories, contact */
    gap: 60px; /* increased gap between columns */
    align-items: start;
}

/* Company Info Section */
.company-info {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
}

.company-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

.social-links h4 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: inherit;
    text-decoration: none;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.social-link:hover { background: transparent; color: inherit; transform: none; box-shadow: none; }

/* Footer Sections */
.footer-section h4 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after { content: none; }

.nav-section h4 {
    font-family: 'Collingar';
    font-size: 22px;
}

.categories-section h4,
.contact-section h4 {
    font-family: 'Collingar';
    font-size: 22px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #000000;
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: #000000;
    font-size: 16px;
    margin-top: 2px;
    min-width: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details span {
    color: #666666;
    font-size: 14px;
    line-height: 1.4;
}

/* Newsletter Section */
.newsletter {
    max-width: 300px;
}

.newsletter p {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 25px;
    border: 1px solid #dee2e6;
    position: relative;
}

.newsletter-icon {
    position: absolute;
    left: 16px;
    color: #000000;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 16px 12px 45px;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 14px;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: #999999;
}

/* Footer Copyright */
.footer-copyright {
    position: absolute;
    bottom: 20px;
    right: 30px;
    text-align: right;
}

.footer-copyright p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .newsletter {
        grid-column: 1 / -1;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .company-info {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    
    .newsletter {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    
    .footer-copyright {
        position: static;
        text-align: center;
        margin-top: 30px;
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-copyright {
        position: static;
        text-align: center;
        margin-top: 25px;
        right: auto;
        bottom: auto;
    }
    
    .newsletter-input-group {
        border-radius: 8px;
    }
}
