/* ========================================
   PREMIUM FOOTER - SENIOR DEVELOPER LEVEL
   Standard Across All Pages
   ======================================== */

/* Footer Container */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 165, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer Content */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Footer Sections */
.footer-section {
    animation: fadeInUp 0.6s ease backwards;
}

.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; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h3 {
    color: #FFD700;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    color: #FFD700;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    position: absolute;
    left: -20px;
}

.footer-section ul li a:hover {
    color: #FFD700;
    padding-left: 20px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.contact-info li i {
    color: #FFD700;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-icon-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-links a:hover .social-icon-img {
    transform: translateY(-5px) scale(1.1);
    border-color: #FFD700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Newsletter */
.newsletter {
    margin-top: 25px;
}

.newsletter h4 {
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 15px 0;
}

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

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 12px 28px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.newsletter-form button:active {
    transform: translateY(0);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 25px 40px;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    margin: 0;
    color: #999;
    font-size: 0.9em;
}

.footer-bottom-content a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom-content a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        padding: 60px 30px 30px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding: 50px 20px 30px;
        gap: 35px;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 15px 25px;
    }

    .footer-section h3 {
        font-size: 1.2em;
    }

    .footer-bottom {
        padding: 15px;
    }

    .footer-bottom-content p {
        font-size: 0.85em;
    }

    .social-icon-img {
        width: 40px;
        height: 40px;
    }
}

/* Accessibility */
.newsletter-form input:focus-visible,
.newsletter-form button:focus-visible,
.footer-section ul li a:focus-visible,
.social-links a:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    .footer {
        background: #fff;
        color: #000;
    }

    .footer-section h3 {
        color: #000;
    }

    .social-links,
    .newsletter {
        display: none;
    }
}
