﻿/* Footer Styles */
.main-footer {
    background: #f8f9fa;
    font-family: 'Poppins';
}

.footer-top {
    background: #2D3348;
    color: white;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.secure-shopping,
.shipping-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


.shipping-item i {
    font-size: 25px;
    padding-right: 3px;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    max-height: 60px;
}

    .payment-methods img {
        width: 100px;
        color: white;
    }

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin: 0 auto;
    padding-inline: 3%;
    padding-top: 2%;
    padding-bottom:0.5%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    max-width: 170px;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.footer-column h4 {
    color: #000;
    font-size: 25px;
    text-transform: none;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-family: 'Poppins';
}

.social-links a {
    color: #FFF;
    font-size: 1rem;
    transition: color 0.3s ease;
    background-color: #333;
    width: 35px;
    height: 35px;
    border-radius: 50px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .social-links a:hover {
        color: #0046BE;
    }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size:20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin-bottom: 0.5rem;
        font-size:15px;
    }

        .footer-column ul li a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-column ul li a:hover {
                color: #0046BE;
            }

.newsletter-section {
    background: #f8f9fa;
    background-image: linear-gradient(rgba(238, 28, 37, 0.7), rgba(238, 28, 37, 0.7)), url('images/footer-planazos.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3.3rem;
}

.newsletter-content {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-title h2 {
    margin: 0;
    color: #FFF;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.03em;
    width: 85%;
    font-family: 'Poppins';
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}
    .newsletter-form a {
        text-decoration: none;
    }
    .newsletter-title a {
        text-decoration: none;
    }

.newsletter-form h3 {
    color: #FFF;
    font-size: 18px;
    padding-bottom: 1%;
    padding-left: 1%;
    font-weight: 600;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    background-color: #FFF;
    border-radius: 30px;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 2%;
    height: 60px;
}

    .subscribe-form input {
        text-align: center;
        border: none;
    }

    .subscribe-form button {
        background: #0046BE;
        color: white;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        font-weight: bold;
        height: 40px;
        padding-inline: 5%;
    }

.privacy-notice {
    font-size: 0.75rem;
    text-align: left;
    color: #FFFF;
}

/* Mejoras responsivas para el footer */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
        padding: 2rem;
    }

    .newsletter-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-title h2 {
        width: 100%;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .footer-brand {
        gap: 1rem;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links a {
        font-size: 1rem;
        height: 30px;
        width: 30px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .secure-shopping,
    .shipping-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .newsletter-section {
        padding: 2rem;
    }

    .subscribe-form {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        width: 70%;
    }

        .subscribe-form input {
            width: 100%;
            padding: 0.5rem;
        }

        .subscribe-form button {
            width: 100%;
        }

    .privacy-notice {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-column h4 {
        font-size: 17px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-title h2 {
        font-size: 24px;
    }

    .newsletter-form h3 {
        width: 70%;
        font-size: 15px;
        padding-bottom: 5%;
    }

    .payment-methods img {
        max-width: 50px;
    }

    .footer-logo {
        max-width: 200px;
    }

    .newsletter-section {
        max-width: 480px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .newsletter-form {
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .privacy-notice {
        padding-inline: 10%;
    }
}



.footer-column ul li a:focus,
.social-links a:focus,
.subscribe-form button:focus {
    outline: 2px solid #0046BE;
    outline-offset: 2px;
}

.subscribe-form button {
    transition: background-color 0.3s ease;
}

    .subscribe-form button:hover {
        background-color: #003399;
    }

.privacy-notice {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 3.6em;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 450px;
}

    .privacy-notice.expanded {
        max-height: 800px;
    }

.privacy-short {
    display: inline;
}

.privacy-full {
    display: none;
}

.privacy-notice.expanded .privacy-short {
    display: none;
}

.privacy-notice.expanded .privacy-full {
    display: inline;
}

.privacy-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #FFF;
    cursor: pointer;
}

    .privacy-toggle i {
        transition: transform 0.3s ease;
    }

.privacy-notice.expanded .privacy-toggle i {
    transform: rotate(180deg);
}
/* Estilos para el footer con fondo azul oscuro */
.dark-footer {
    background-image: url('/css/images/Footer.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 2%;
    padding-inline:2%;
    padding-bottom: 0.5%;
    font-family: 'Poppins', sans-serif;
}

.dark-footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.dark-footer-logo {
    max-width: 200px;
}

.dark-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Nuevos estilos para los iconos de redes sociales */
.dark-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .dark-social-link i {
        font-size: 1rem;
    }

    .dark-social-link:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

.dark-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dark-footer-heading {
    color: white;
    font-size: 20px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.dark-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .dark-footer-list li {
        margin-bottom: 0.75rem;
        font-size:14px;
    }

.dark-footer-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .dark-footer-link:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

.dark-footer-copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-footer-copyright-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .dark-footer-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .dark-footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dark-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .dark-footer-brand {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .dark-footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dark-footer {
        padding: 2rem 1rem;
    }

    .dark-footer-heading {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}