/* Enhanced Footer Styles */

.footer {
    background: var(--footer-bg, #111111);
    color: var(--footer-text, #ffffff);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-hover));
}

.footer-main {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-text);
    font-family: 'Montserrat', sans-serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-col h6 {
    color: var(--footer-text);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact-info {
    flex: 1;
}

.footer-contact-label {
    font-size: 0.7rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    display: block;
}

.footer-contact-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
}

.footer-contact-value a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-value a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.footer-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-newsletter-input:focus {
    outline: none;
}

.footer-newsletter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    background: var(--primary-color-hover);
    transform: translateY(0);
}

/* Dark mode override */
:root[data-theme="dark"] .footer-newsletter-btn {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

:root[data-theme="dark"] .footer-newsletter-btn:hover {
    background: var(--primary-color-hover) !important;
    color: #ffffff !important;
}

.footer-hours {
    margin-top: 1.5rem;
}

.footer-hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-hours-item:last-child {
    border-bottom: none;
}

.footer-hours-day {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-hours-time {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.developer-link {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.developer-link:hover {
    color: #ffffff !important;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--primary-color-hover);
}

/* Map Section */
.footer-map-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-title {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-map-title h6 {
    display: inline-block;
    padding-bottom: 0.75rem;
}

.footer-map-title h6::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-col {
        margin-bottom: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-btn {
        width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-icon {
        margin: 0 auto;
    }
}