/* ===== FOOTER STYLES ===== */
/* File: styles/footer.css */

:root {
    --primary-dark: #010718;
    --primary-light: #e5e5e7;
    --accent-orange: #fe8400;
    --text-dark: #010718;
    --text-light: #ffffff;
    --border-color: rgba(254, 132, 0, 0.2);
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
}

/* ===== CONTAINER ===== */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
}

/* ===== FOOTER ===== */
footer.footer {
    background: var(--primary-dark) !important;
    color: var(--primary-light) !important;
    padding: 60px 0 20px !important;
    border-top: 2px solid var(--border-color) !important;
    margin-top: 80px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* ===== FOOTER CONTENT GRID ===== */
.footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.footer-section h3 {
    color: var(--accent-orange) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.footer-section h3 i {
    font-size: 1.4rem !important;
    flex-shrink: 0 !important;
}

.footer-section p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    opacity: 0.9 !important;
    word-wrap: break-word !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section ul li {
    margin-bottom: 0.75rem !important;
}

.footer-section ul li a {
    color: var(--primary-light) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.footer-section ul li a:hover {
    color: var(--accent-orange) !important;
    transform: translateX(5px) !important;
}

.footer-section ul li a i {
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    flex-wrap: wrap !important;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(254, 132, 0, 0.2) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 50% !important;
    color: var(--accent-orange) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
}

.social-links a:hover {
    background: var(--accent-orange) !important;
    color: white !important;
    transform: translateY(-3px) !important;
}

.social-links a:active {
    transform: scale(0.95) !important;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: rgba(254, 132, 0, 0.1) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.newsletter-section h3 {
    margin-bottom: 0.5rem !important;
}

.newsletter-section p {
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

.newsletter-form {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.newsletter-form input {
    flex: 1 !important;
    min-width: 150px !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    background: var(--bg-lighter) !important;
    color: var(--text-dark) !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.newsletter-form input:focus {
    outline: none !important;
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 0 3px rgba(254, 132, 0, 0.1) !important;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem !important;
    background: var(--accent-orange) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
    touch-action: manipulation !important;
    font-size: 0.95rem !important;
}

.newsletter-form button:hover {
    background: #ff7600 !important;
    transform: translateY(-2px) !important;
}

.newsletter-form button:active {
    transform: translateY(0) !important;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid var(--border-color) !important;
    padding-top: 2rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-bottom p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    word-wrap: break-word !important;
}

.footer-bottom-links {
    display: flex !important;
    gap: 1.5rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.footer-bottom-links a {
    color: var(--primary-light) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange) !important;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--accent-orange) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    z-index: 99998 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(254, 132, 0, 0.3) !important;
    touch-action: manipulation !important;
}

.scroll-to-top.show {
    display: flex !important;
}

.scroll-to-top:hover {
    background: #ff7600 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(254, 132, 0, 0.4) !important;
}

.scroll-to-top:active {
    transform: translateY(-2px) !important;
}

/* ===== TABLET RESPONSIVE (768px) ===== */
@media (max-width: 768px) {
    footer.footer {
        padding: 50px 0 15px !important;
        margin-top: 60px !important;
    }

    .footer .container {
        padding: 0 1.5rem !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .footer-section h3 {
        font-size: 1.1rem !important;
    }

    .footer-section p {
        font-size: 0.9rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-bottom p {
        font-size: 0.85rem !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
        gap: 1rem !important;
    }

    .footer-bottom-links a {
        font-size: 0.85rem !important;
    }

    .newsletter-form {
        flex-direction: column !important;
    }

    .newsletter-form input {
        min-width: auto !important;
        width: 100% !important;
    }

    .newsletter-form button {
        width: 100% !important;
        justify-content: center !important;
    }

    .scroll-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
}

/* ===== MOBILE RESPONSIVE (480px) ===== */
@media (max-width: 480px) {
    footer.footer {
        padding: 40px 0 15px !important;
        margin-top: 40px !important;
    }

    .footer .container {
        padding: 0 1rem !important;
        width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .footer-section {
        padding: 0 !important;
    }

    .footer-section h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-section p {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem !important;
    }

    .footer-section ul li a {
        font-size: 0.85rem !important;
    }

    .social-links {
        gap: 0.75rem !important;
    }

    .social-links a {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .newsletter-section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .newsletter-section h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .newsletter-section p {
        font-size: 0.8rem !important;
        margin-bottom: 0.75rem !important;
    }

    .newsletter-form {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .newsletter-form input {
        padding: 0.7rem 0.9rem !important;
        font-size: 0.9rem !important;
        min-width: auto !important;
    }

    .newsletter-form button {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.9rem !important;
        gap: 0.4rem !important;
    }

    .newsletter-form button i {
        font-size: 0.95rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        padding-top: 1.5rem !important;
    }

    .footer-bottom p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .footer-bottom-links {
        gap: 0.75rem !important;
        justify-content: center !important;
    }

    .footer-bottom-links a {
        font-size: 0.75rem !important;
    }

    .scroll-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
}

/* ===== EXTRA SMALL MOBILE (360px) ===== */
@media (max-width: 360px) {
    footer.footer {
        padding: 35px 0 12px !important;
        margin-top: 30px !important;
    }

    .footer .container {
        padding: 0 0.75rem !important;
    }

    .footer-content {
        gap: 1.2rem !important;
    }

    .footer-section h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
    }

    .footer-section p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem !important;
    }

    .footer-section ul li a {
        font-size: 0.8rem !important;
        gap: 0.4rem !important;
    }

    .social-links {
        gap: 0.6rem !important;
    }

    .social-links a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    .newsletter-section {
        padding: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }

    .newsletter-section h3 {
        font-size: 0.9rem !important;
    }

    .newsletter-section p {
        font-size: 0.75rem !important;
    }

    .newsletter-form input {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
    }

    .newsletter-form button {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .footer-bottom {
        gap: 0.8rem !important;
        padding-top: 1.2rem !important;
    }

    .footer-bottom p {
        font-size: 0.7rem !important;
    }

    .footer-bottom-links {
        gap: 0.6rem !important;
    }

    .footer-bottom-links a {
        font-size: 0.7rem !important;
    }

    .scroll-to-top {
        bottom: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .footer-section ul li a,
    .social-links a,
    .newsletter-form button,
    .scroll-to-top,
    .footer-bottom-links a {
        transition: none !important;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    footer.footer {
        background: var(--primary-dark) !important;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.05) !important;
        color: var(--primary-light) !important;
    }
}