/* 
  FOOTER - PREMIER PRESSURE WASHING STYLE
  Clean footer with gradient background
  Requires: Font Awesome for social icons
*/

/* Variables - customize these! */
:root {
    --primary-color: #022A53;
    --primary-dark: #011C3D;
    --primary-light: #033B7A;
    --accent-color: #FECC00;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

/* Footer Container */
.footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: var(--space-6) 0 var(--space-4);
    text-align: center;
    overflow: hidden;
    margin-top: auto;
}

/* Accent Line at Top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-light));
}

/* Footer Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

/* Column Headings */
.footer-info h3,
.footer-nav h3,
.footer-social h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
    position: relative;
    padding-bottom: var(--space-2);
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Underline for Headings */
.footer-info h3::after,
.footer-nav h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Footer Info Section */
.footer-info p {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-info a:hover {
    color: var(--accent-color);
}

/* Footer Navigation */
.footer-nav {
    text-align: center;
}

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

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        padding: var(--space-5) 0 var(--space-3);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-info h3::after,
    .footer-nav h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-info h3,
    .footer-nav h3,
    .footer-social h3 {
        font-size: 1.25rem;
    }

    .footer-info p,
    .footer-links a {
        font-size: 0.95rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .social-links a,
    .footer-links a,
    .footer-info a {
        transition: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

