/* --- Global Styles & Typography --- */
body {
    font-family: 'Roboto', sans-serif; /* Cambiado a Roboto para mejor legibilidad */
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0d0d0d;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem; /* Tamaño base ligeramente mayor para mejorar la legibilidad */
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif; /* Oswald para la mayoría de los títulos */
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

/* Solo h1 del hero section usa Orbitron para un impacto especial */
.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.5);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Main Header --- */
.main-header {
    background-color: rgba(10, 10, 10, 0.95);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.main-header .container {
    padding-left: 15px;
    padding-right: 15px;
}

.header-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.contact-info-header {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 0.95rem; /* Este tamaño está bien para info secundaria */
}

.contact-info-header a {
    transition: color 0.3s ease;
}

.contact-info-header a:hover {
    color: #00FFFF !important;
}

/* --- Main Navigation --- */
.main-nav .nav-list .nav-item .nav-link {
    font-weight: 700;
    color: #e0e0e0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav .nav-list .nav-item .nav-link:hover {
    color: #00FFFF !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.whatsapp-nav-btn {
    border: 2px solid #00FFFF;
    border-radius: 5px;
    padding: 5px 15px;
    color: #00FFFF;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-nav-btn:hover {
    background-color: #00FFFF;
    color: #1A1A1A !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

/* --- Hero Section --- */
.hero-section {
    background: url('../img/fondo.jpg') no-repeat center center/cover;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.7);
    mix-blend-mode: multiply;
}

.hero-subheading-large {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.hero-subheading-small {
    font-size: 1.8rem;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    border-color: #1DA851;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(29, 168, 81, 0.6);
    color: white;
}

.btn-whatsapp i {
    margin-right: 10px;
}

/* --- Sections Common Styles --- */
.features-section,
.how-it-works-section,
.reciclaje-section,
.cta-bottom-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- Features Section --- */
.features-section {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.feature-card {
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    background-color: #2b2b2b;
}

.feature-card h5 {
    color: #00FFFF;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #b0b0b0;
    text-align: center;
    /* Los párrafos de las tarjetas usarán la fuente Roboto por herencia del body */
}

.feature-card i {
    font-size: 5rem;
    margin-bottom: 15px;
    color: #00FFFF;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 255, 255, 1), 0 0 35px rgba(0, 255, 255, 0.7);
}

/* --- How It Works Section --- */
.how-it-works-section {
    background-color: #0d0d0d;
    color: #e0e0e0;
}

.how-it-works-section h3 {
    color: #ffffff;
}

.icon-circle {
    width: 90px;
    height: 90px;
    background-color: #00FFFF;
    color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-section .col-md-3:hover .icon-circle {
    background-color: #00E0E0;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.how-it-works-section .col-md-3 p.fw-bold {
    color: #00FFFF;
    font-size: 1.2rem;
}

.how-it-works-section .col-md-3 p {
    color: #b0b0b0;
}

.how-it-works-section .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Reciclaje Section --- */
.reciclaje-section {
    background-color: #0d0d0d;
    color: #e0e0e0;
}

.reciclaje-section h3 {
    color: #ffffff;
}

.reciclaje-section p.lead {
    color: #b0b0b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reciclaje-card {
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reciclaje-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    background-color: #2b2b2b;
}

.reciclaje-card h5 {
    color: #25D366;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.reciclaje-card p {
    color: #b0b0b0;
    text-align: center;
    /* Los párrafos de las tarjetas de reciclaje usarán la fuente Roboto por herencia del body */
}

.reciclaje-card i {
    font-size: 4.5rem;
    margin-bottom: 15px;
    color: #25D366;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.reciclaje-card:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(37, 211, 102, 1);
}

/* --- CTA Bottom Section --- */
.cta-bottom-section {
    background-color: #1a1a1a;
    color: #ffffff;
}

.cta-bottom-section h3 {
    color: #ffffff;
}

.cta-bottom-section p.lead {
    color: #e0e0e0;
}

/* --- Footer --- */
footer {
    background-color: #0a0a0a;
    color: #888888;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #1a1a1a;
}

footer a {
    color: #00FFFF;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

/* --- Media Queries --- */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-subheading-large {
        font-size: 2rem;
    }

    .hero-subheading-small {
        font-size: 1.4rem;
    }

    .btn-whatsapp {
        font-size: 1.3rem;
        padding: 12px 25px;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .feature-card i {
        font-size: 4rem;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }

    .reciclaje-card {
        margin-bottom: 20px;
    }

    .reciclaje-card i {
        font-size: 3.5rem;
    }

    /* Ajuste para el tamaño base del body en móviles */
    body {
        font-size: 1rem; /* Un poco más pequeño en móvil si 1.1rem es muy grande */
    }
}

@media (max-width: 575.98px) {
    .contact-info-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-info-header a.ms-3 {
        margin-left: 0 !important;
    }
    .contact-info-header a:first-child {
        margin-bottom: 3px;
    }

    .header-left-group .contact-info-header a {
        font-size: 0.8rem;
    }

    .header-logo {
        height: 40px;
    }

    .main-nav {
        display: none !important;
    }
}