
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F9F8F2;
}
@font-face {
    font-family: 'Shadows Into Light'; 
    src: url('../fonts/ShadowsIntoLight-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'Epilogue'; 
    src: url('../fonts/Epilogue-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }



body {
    font-family: "Epilogue", Sans-serif;
    line-height: 1.0;
    scroll-behavior: smooth;
}

/* Menu Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f9f8f289;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    background-color: transparent;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    background-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    background-color: transparent;
}

.nav-links a {
    text-decoration: none;
    color: #0E5388;
    font-weight: 500;
    transition: color 0.3s ease;
    background-color: transparent;
}

.nav-links a:hover {
    color: #00345d;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    background-color: #25d366;
}

/* Sections positioning to match background image */
.section {
    min-height: 100vh; /* Cada sección ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background-attachment: fixed; /* Mantiene la imagen fija para efecto parallax */
}

#inicio {
    min-height: 100vh;
}

#leche-viva {
    min-height: 100vh;

}

#nuestra-diferencia {
    min-height: 100vh;
}

#contactanos {
    min-height: 100vh;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 3rem;
    /* background: #F9F8F2; */
    background-color: transparent;
    /* backdrop-filter: blur(2px); */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

/* Main Background Image - Removed from body */
body {
    /* Background removed to allow individual section backgrounds */
}

/* Hero Section */
#inicio {
    background: url('../images/1.png') no-repeat center center;
    background-size: cover;
    color: #333;
    position: relative;
}

.hero-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 2vw;
    padding: 2vw 2vw;
    background: none;
    white-space: nowrap;
    flex-wrap: nowrap;
    z-index: 2;
}

.hero-logo {
    background: none !important;
    display: flex;
    align-items: center;
}

.hero-logo img {
    height: clamp(30px, 8vw, 80px);
    width: auto;
    max-width: 30vw;
    min-width: 30px;
    background: none !important;
    margin: 0;
    padding: 0;
}

.hero-text {
    background: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2vw;
    color: #00345d;
    font-family: 'Shadows Into Light', sans-serif;
    line-height: 1.6;

}

.hero-text p {
    font-size: clamp(0.8rem, 3vw, 2rem);
    color: #477090;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    margin: 0;
    background: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .hero-bottom-content {
        padding: 2vw 1vw;
        gap: 1vw;
    }
    .hero-logo img {
        height: clamp(20px, 10vw, 40px);
        max-width: 40vw;
    }
    .hero-text p {
        font-size: clamp(0.7rem, 4vw, 1.2rem);
    }
    
    /* Nuestra Diferencia responsive para móviles */
    .nuestra-diferencia-bottom-content {
        padding: 2rem 1rem 1rem 1rem;
        align-items: flex-end;
    }
    
    .nuestra-diferencia-logo-top {
        margin-bottom: 2rem;
        justify-content: flex-end;
    }
    
    .nuestra-diferencia-logo-top img {
        width: clamp(120px, 40vw, 200px);
        max-width: 200px;
    }
    
    .nuestra-diferencia-comparison {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
        align-items: flex-end;
    }
    
    .comparison-item {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .comparison-item h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .comparison-item ul {
        font-size: clamp(0.75rem, 3vw, 0.9rem);
    }
}

/* Breakpoint para tablets */
@media (max-width: 768px) and (min-width: 601px) {
    .nuestra-diferencia-bottom-content {
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        align-items: flex-end;
    }
    
    .nuestra-diferencia-logo-top img {
        width: clamp(150px, 35vw, 250px);
        max-width: 250px;
    }
    
    .nuestra-diferencia-comparison {
        gap: 1.5rem;
        max-width: 90%;
        align-items: flex-end;
    }
    
    .comparison-item {
        padding: 1.8rem;
    }
}

/* Breakpoint adicional para móviles muy pequeños */
@media (max-width: 480px) {
    .nuestra-diferencia-bottom-content {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
        align-items: flex-end;
    }
    
    .nuestra-diferencia-logo-top img {
        width: clamp(100px, 35vw, 150px);
        max-width: 150px;
    }
    
    .nuestra-diferencia-comparison {
        gap: 1rem;
        align-items: flex-end;
    }
    
    .comparison-item {
        padding: 1rem;
        width: 100%;
    }
    
    .comparison-item h3 {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }
    
    .comparison-item ul {
        font-size: clamp(0.7rem, 4vw, 0.85rem);
    }
}

/* Product Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: #F9F8F2;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature h3 {
    color: #4a7c59;
    margin-bottom: 1rem;
}

/* Leche Viva Section */
#leche-viva {
    background: url('../images/2.png') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
}

.leche-viva-bottom-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(74, 124, 89, 0.9));
    z-index: 2;
}

.leche-viva-title {
    text-align: center;
    margin-bottom: 2rem;
}

.leche-viva-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.leche-viva-title p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-style: italic;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.leche-viva-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    background-color: transparent;
}

.leche-viva-feature {
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;

}

.leche-viva-feature:hover {
    transform: translateY(-5px);
    background: #0E5388;
    box-shadow: 0 8px 25px rgba(14, 83, 136, 0.3);
}

.leche-viva-feature:hover h3 {
    color: #F9F8F2 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.leche-viva-feature:hover p {
    color: #F9F8F2 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.leche-viva-feature:hover .feature-icon {
    fill: #F9F8F2;
}

.leche-viva-feature h3 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: #0E5388;
    text-shadow: 1px 1px 2px #d0dee9;
    background-color: transparent;
}

.leche-viva-feature p {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #0E5388;
    /* text-shadow: 1px 1px 2px #426b8a; */
    line-height: 1.4;
    background-color: transparent;
}

.feature-icon {
    width: clamp(20px, 1vw, 40px);
    height: clamp(20px, 1vw, 40px);
    margin: 0 auto 1rem auto;
    display: block;
    background-color: transparent;
    fill: #0E5388;
}

/* Nuestra Diferencia Section */
#nuestra-diferencia {
    background: url('../images/3.png') no-repeat center center;
    color: #0E5388;
    position: relative;
    background-size: cover;
    

}

.nuestra-diferencia-bottom-content {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 3rem 2rem 2rem 2rem;
    background: transparent;
    z-index: 2;
}

.nuestra-diferencia-logo-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: transparent;
    margin-bottom: 3rem;
    width: 100%;
}

.nuestra-diferencia-logo-top img {
    width: clamp(200px, 50vw, 300px);
    height: auto;
    max-width: 300px;
    background-color: transparent;
}

.nuestra-diferencia-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background-color: transparent;
}

.nuestra-diferencia-logo img {
    width: 10vw;
    height: auto;
    max-width: 300px;
}

.nuestra-diferencia-comparison {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    max-width: 800px;
    background-color: transparent;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(14, 83, 136, 0.3);
    flex: 1;
    max-width: 350px;
}

.comparison-item h3 {
    color: #0E5388;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    background-color: transparent;
}

.comparison-item ul {
    text-align: left;
    margin-top: 1rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #0E5388;
    line-height: 1.6;
    background-color: transparent;
}

.comparison-item li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    background-color: transparent;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Contact Section */
#contactanos {
    background: url('../images/4.png') no-repeat center center;
    color: #333;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    background-color: transparent;
}

.contact-item {
    background: rgba(14, 83, 136, 0.125);
    color: #333;
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(14, 83, 136, 0.466);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: #0E5388;
    color: #F9F8F2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 83, 136, 0.3);
}

.contact-item:hover .contact-icon {
    fill: #F9F8F2;
}

.contact-item:hover p {
    color: #F9F8F2 !important;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: transparent;
}

.contact-icon {
    width: 2.5em;
    height: 2.5em;
    fill: #0E5388;
    background-color: transparent;
}

.contact-item h3 {
    margin-bottom: 1rem;

}

.ofertas-item{
    margin-top: 2rem;
    background: rgba(14, 83, 136, 0.433); 
    backdrop-filter: blur(12px);
    padding: 1.5rem; 
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;

}

.ofertas-item:hover {
    background: #0E5388;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 83, 136, 0.3);
}

.ofertas-item:hover .oferta-icon {
    fill: #F9F8F2;
}

.ofertas-item:hover p {
    color: #F9F8F2 !important;
}

.oferta-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: transparent;
    text-align: center;
}

.oferta-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    fill: #0E5388;
    margin-top: 0.1em;
    background-color: transparent;
}

.contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    background-color: transparent;
}

.contact-button {
    display: inline-block;
    background: #4a7c59;
    color: #F9F8F2;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.contact-button:hover {
    background: #3a6b4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
    color: #F9F8F2;
}


/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .logo img {
        height: 40px; /* Logo más pequeño en móviles */
    }

    .hero-bottom-content {
        flex-direction: column;
        /* gap: 2rem; */
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-logo img {
        height: 60px;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 1rem;
        min-height: 100vh;
        padding-top: 2vh;
        padding-bottom: 50px;
        background-attachment: scroll; /* Desactiva fixed en móviles para mejor rendimiento */
    }
    
    .section-content {
        padding: 2rem 1rem;
        margin: 0 1rem;

    }

    .leche-viva-bottom-content {
        padding: 2rem 1rem 1rem 1rem;
    }

    .leche-viva-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .leche-viva-feature {
        padding: 1rem;
    }

    .nuestra-diferencia-bottom-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem 1rem 1rem;
        text-align: center;
    }

    .nuestra-diferencia-logo-top {
        margin-bottom: 1rem;
    }
    
    .nuestra-diferencia-logo-top img {
        height: clamp(50px, 18vw, 100px);
    }
    
    .nuestra-diferencia-logo img {
        height: clamp(40px, 15vw, 80px);
    }

    .nuestra-diferencia-comparison {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .comparison-item {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-right {
        text-align: center;
        background-color: transparent;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Footer */
.footer {
    background-color: #0E5388;
    color: #F9F8F2;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2rem;
    gap: 2rem;
    background-color: transparent;
}

.footer-left {
    flex: 1;
    background-color: transparent;
}

.footer-left p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    background-color: transparent;
}

.footer-right {
    flex: 1;
    text-align: center;
    background-color: transparent;
}

.footer-right p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: transparent;
}

.footer-right p:first-child {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background-color: transparent;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}
