/* ============================================
   SIMPLE FOOTER STYLES - URCAO-RECOMSWA
   File: css/footer.css
============================================ */

/* FORCE ALL FOOTER CONTENT TO BE VISIBLE */
.simple-footer,
.simple-footer *,
.simple-footer *::before,
.simple-footer *::after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure footer container is visible */
#footer-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

.simple-footer {
    display: block !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    padding: 0;
    margin-top: auto;
    position: relative;
    width: 100%;
}

.simple-footer .footer-container {
    display: block !important;
    visibility: visible !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 1.5rem;
}

/* Main Footer Grid */
.simple-footer .footer-main {
    display: grid !important;
    visibility: visible !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 200px !important;
    opacity: 1 !important;
}

/* Ensure all direct children are visible */
.simple-footer .footer-main > * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50px !important;
}

/* Footer Sections */
.simple-footer .footer-section {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 100px !important;
}

.simple-footer .footer-section * {
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-section h4 {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    position: relative;
    padding-bottom: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.simple-footer .footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #1b5e3a;
    border-radius: 1px;
}

/* Brand Section */
.simple-footer .footer-brand {
    padding-right: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .brand-logo {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .brand-logo img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    opacity: 1 !important;
    display: block !important;
}

.simple-footer .brand-logo h3 {
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.simple-footer .brand-tagline {
    color: #b0b0b0 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Force all p tags to be visible */
.simple-footer p {
    color: #b0b0b0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Social Links */
.simple-footer .social-links {
    display: flex !important;
    gap: 0.75rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .social-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .social-links a:hover {
    background: #1b5e3a;
    transform: translateY(-2px);
}

/* Footer Links */
.simple-footer .footer-links {
    display: flex !important;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-links a {
    color: #b0b0b0 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-links a:hover {
    color: #fff;
}

/* Contact Info */
.simple-footer .contact-info {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .contact-item {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    color: #b0b0b0 !important;
    font-size: 0.9rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .contact-item svg {
    flex-shrink: 0;
    color: #1b5e3a;
}

.simple-footer .contact-item a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.simple-footer .contact-item a:hover {
    color: #fff;
}

/* Newsletter */
.simple-footer .footer-newsletter p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.simple-footer .newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.simple-footer .newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.simple-footer .newsletter-form input::placeholder {
    color: #808080;
}

.simple-footer .newsletter-form input:focus {
    border-color: #1b5e3a;
}

.simple-footer .newsletter-form button {
    padding: 0.7rem 1.25rem;
    background: #1b5e3a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.simple-footer .newsletter-form button:hover {
    background: #2a7d4f;
}

.simple-footer .newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer Bottom */
.simple-footer .footer-bottom {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .copyright {
    color: #808080 !important;
    font-size: 0.85rem;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-legal {
    display: flex !important;
    gap: 1.5rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-legal a {
    color: #808080 !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-footer .footer-legal a:hover {
    color: #fff;
}

/* Back to Top Button */
.simple-footer .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: #1b5e3a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.simple-footer .back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.simple-footer .back-to-top:hover {
    background: #2a7d4f;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .simple-footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .simple-footer .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .simple-footer .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .simple-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .simple-footer .footer-brand {
        text-align: center;
    }
    
    .simple-footer .brand-logo {
        justify-content: center;
    }
    
    .simple-footer .social-links {
        justify-content: center;
    }
    
    .simple-footer .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .simple-footer .footer-links,
    .simple-footer .contact-info {
        align-items: center;
        text-align: center;
    }
    
    .simple-footer .newsletter-form {
        flex-direction: column;
    }
    
    .simple-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .simple-footer .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}
