/* Footer Styles */
.site-footer {
    background-color: #333;
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 3rem 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-section {
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.copyright a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    text-decoration: none;
}

.footer-section h4 {
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: white;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.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.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 0.95rem;
    width: 16px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: white;
}

.weather-widget {
    margin-top: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.weather-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.weather-title i {
    color: var(--accent);
}

.weather-link {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.weather-link:hover {
    background-color: var(--accent);
}

.back-to-top {
    position: absolute;
    right: 2rem;
    bottom: 3rem;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top a:hover {
    transform: translateY(-5px);
    background-color: var(--accent-light);
}

/* Footer Responsive Styles */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 3rem;
    }
}

@media (max-width: 900px) {
    .site-footer {
        padding-bottom: calc(2rem + var(--bottom-nav-height, 70px));
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        right: 1rem;
        bottom: 3rem;
    }
}
