/* FOOTER STYLES */

.compact-footer {
    background: linear-gradient(135deg, #1C2951 0%, #2D4A7C 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle Background Pattern */
.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="%23ffffff"/><circle cx="75" cy="75" r="2" fill="%23ffffff"/><circle cx="75" cy="25" r="1" fill="%23ffffff"/><circle cx="25" cy="75" r="1" fill="%23ffffff"/></svg>') repeat;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* Main Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Company Section */
.footer-company {
    display: flex;
    flex-direction: column;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-right: 0.8rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Contact Info Boxes */
.contact-info-box {
    background: rgba(45, 74, 124, 0.4);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    background: rgba(45, 74, 124, 0.5);
    border-color: rgba(212, 175, 55, 0.2);
}

.info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #D4AF37, #E6C57F);
    border-radius: 6px;
    color: #1C2951;
    font-size: 1rem;
}

.info-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-box-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #D4AF37;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-box-text {
    margin: 0;
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 0.875rem;
}

.info-box-link {
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    line-height: 1.7;
    font-weight: 400;
    display: block;
}

.info-box-link:hover {
    color: #D4AF37;
}

/* Working Hours Box Specific */
.working-hours-box {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.15);
}

.working-hours-box:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
}

.working-hours-box .info-box-icon {
    background: linear-gradient(135deg, #D4AF37, #C9A02D);
}

.hours-day {
    color: #D4AF37;
    font-weight: 600;
    display: inline-block;
    min-width: 65px;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    text-align: center;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
}

.newsletter-subtitle {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.9rem;
}

.newsletter-form-wrapper {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.8rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.newsletter-button {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A02D 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .newsletter-form-wrapper {
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
    }
    
    .contact-info-box {
        padding: 0.85rem;
        gap: 0.75rem;
    }
    
    .info-box-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }
    
    .info-box-label {
        font-size: 0.7rem;
    }
    
    .info-box-text,
    .info-box-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .contact-info-box {
        padding: 0.75rem;
        gap: 0.7rem;
    }
    
    .info-box-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.85rem;
    }
    
    .info-box-label {
        font-size: 0.65rem;
    }
    
    .info-box-text,
    .info-box-link {
        font-size: 0.75rem;
    }
    
    .hours-day {
        min-width: 60px;
    }
}
