/* =================================================================
   VAMPIRES INDUSTRY - FOOTER STYLES
   Professional footer design with comprehensive sections
   ================================================================= */

/* =================================================================
   FOOTER STYLES
   ================================================================= */

.main-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px; /* Match header container */
    margin: 0 auto;
    padding: 0 3rem; /* Match header padding */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr) 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.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.7);
    transition: var(--transition);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

/* Brand Section */
.brand-section .footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

.brand-section .footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-site-logo {
    max-height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.newsletter-input {
    display: flex;
    gap: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.875rem;
    outline: none;
}

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

.newsletter-input input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--primary);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.newsletter-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
}

/* Footer Contact Info */
.footer-contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.contact-info-item i {
    width: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Newsletter Message Styles */
.newsletter-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-size: 0.875rem;
    animation: slideInUp 0.3s ease-out;
}

.newsletter-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.newsletter-message i {
    flex-shrink: 0;
    font-size: 1rem;
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

@media (max-width: 1200px) {
    .footer-container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .footer-content {
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .brand-section {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .newsletter-section {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brand-section,
    .newsletter-section {
        grid-column: 1;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .newsletter-input {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input input,
    .newsletter-btn {
        border-radius: var(--border-radius);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-description,
    .newsletter-section p,
    .contact-info-item {
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
    
    .cert-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
    .footer-site-logo {
        filter: brightness(0) invert(1);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .main-footer {
        border-top: 2px solid currentColor;
    }
    
    .footer-bottom {
        border-top: 2px solid currentColor;
    }
    
    .social-link,
    .cert-badge {
        border: 2px solid currentColor;
    }
}