/* Header and Footer CSS - Reusable across pages */

/* Header Styles - Mobile First */
header {
    width: 100%;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    display: inline-block;
    max-width: 120px;
    width: 120px;
    height: 72px;
}

/* Footer - layout */
footer {
    background: var(--text-color);
    color: var(--primary-bg);
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-bg);
    margin-bottom: 10px;
}

.footer-section .hours-title {
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 0.95rem;
    color: rgba(255, 253, 244, 0.8);
    line-height: 1.4;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section ul li a {
    color: rgba(255, 253, 244, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.phone-link, .email-link {
    color: var(--accent-color) !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.phone-link:hover, .email-link:hover {
    text-decoration: underline;
    transform: scale(1.02);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-socials a:hover .social-icon {
    filter: brightness(0) invert(1) sepia(1) saturate(1) hue-rotate(35deg);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 244, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 253, 244, 0.6);
    margin: 0;
}

/* Desktop Responsive Styles */
@media (min-width: 769px) {
    /* Logo */
    .logo {
        max-width: 150px;
        width: 150px;
        height: 90px;
    }

    /* Footer Desktop Layout */
    .footer-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 60px;
    }

    .footer-logo {
        flex-shrink: 0;
    }

    .footer-logo img {
        max-width: 150px;
    }

    .footer-sections {
        flex-direction: row;
        gap: 60px;
        text-align: left;
        flex: 1;
        justify-content: space-between;
    }

    .footer-section {
        align-items: flex-start;
        flex: 1;
        min-width: 160px;
    }
}

/* Tablet-specific fixes */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Footer tablet layout */
    .footer-sections {
        gap: 40px;
    }
    
    .footer-section {
        min-width: 140px;
    }
}