/* Footer Styles */

footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Footer decorative elements */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fun);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.1), transparent);
    border-radius: 50%;
}

/* Footer content grid */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

/* Footer sections */
.footer-section {
    position: relative;
}

.footer-section h3 {
    font-family: var(--font-primary);
    color: var(--accent-yellow);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
}

.footer-section p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

/* Footer lists */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    transition: all var(--transition-normal);
}

.footer-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    transition: all var(--transition-normal);
}

.footer-section li:hover {
    padding-left: 20px;
    color: var(--accent-yellow);
}

.footer-section li:hover::before {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* Footer links */
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-yellow);
    transition: width var(--transition-normal);
}

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

.footer-section a:hover::after {
    width: 100%;
}

/* Company info section */
.footer-section:first-child {
    padding-right: 20px;
}

.footer-section:first-child h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Contact info styling */
.footer-section p i {
    color: var(--accent-yellow);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Business hours styling */
.footer-section p strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer social links (if needed) */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    transform: translateY(-2px);
    border-color: var(--accent-yellow);
}

.footer-social a::after {
    display: none;
}

/* Company certifications/badges */
.footer-badges {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.footer-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.footer-badge i {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

/* Newsletter signup (optional) */
.footer-newsletter {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h4 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-small);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 10px 15px;
    background: var(--accent-yellow);
    color: var(--primary-navy);
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

/* Footer animations */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: footerFadeIn 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

@keyframes footerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-section:first-child {
        grid-column: auto;
        margin-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.4rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section li {
        padding-left: 0;
    }
    
    .footer-section li::before {
        display: none;
    }
    
    .footer-section li:hover {
        padding-left: 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .footer-newsletter {
        text-align: left;
    }
}

/* Print styles */
@media print {
    footer {
        background: white !important;
        color: black !important;
        page-break-inside: avoid;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-section h3 {
        color: black !important;
    }
    
    .footer-section a {
        color: black !important;
        text-decoration: underline !important;
    }
}