﻿/* Establece el padding para evitar que el contenido toque los bordes */
.body-content {
    margin-top: 15px;
    padding-left: 5%;
    padding-right: 5%;
}

:root {
    --naranja: #F7941E;
    --gris: #4D4D4D;
    --pastel: #FFE593;
    --blanco: #FFFFFF;
}

@font-face {
    font-family: 'Days One';
    src: url('/Content/fonts/DaysOne-Regular.woff2') format('woff2'),
        url('/Content/fonts/DaysOne-Regular.woff') format('woff'),
        url('/Content/fonts/DaysOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    padding-left: 5%;
    padding-right: 5%;
    font-family: 'Poppins', Inter;
    background-color: var(--blanco);
    color: var(--gris);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Estilos de botones - Unificados */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--naranja) !important; /* Forzamos el color naranja */
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Days One', Inter;
    font-weight: normal;
    cursor: pointer;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        background-color: var(--naranja); /* Mantenemos el color */
        color: white;
    }

/* Hero Section - Unificado */
.hero {
    padding: 80px 0;
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
}

    .hero .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    font-weight: 800;
    font-family: 'Days One', Inter;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    font-family: Inter;
    opacity: 0.9;
}

/* Sección de Misión/Visión */
.section {
    padding: 60px 0;
    padding-left: 5%;
    padding-right: 5%;
}

.section-title {
    padding-left: 5%;
    padding-right: 5%;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Days One', Inter;
    color: var(--gris);
}

.section-dark {
    background-color: var(--gris);
}

    .section-dark .section-title {
        color: white;
    }

.section-subtitle {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    font-size: 18px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .mission-card h3 {
        font-family: 'Days One', Inter;
        color: var(--gris);
        margin-bottom: 15px;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;

}

.feature-item h4 {
    font-family: 'Days One', Inter;
    color: var(--gris);
    margin-bottom: 10px;
}

/* Benefits Grid - Tus estilos originales se mantienen, están bien */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 48px 0;
    padding: 0 20px;
}

.benefit-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .benefit-card:hover {
        background-size: 110%;
        transform: translateY(-1px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    }

.benefit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.benefit-card:hover .benefit-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.benefit-overlay h3 {
    color: #FFFFFF;
    font-family: 'Days One', Inter;
    font-size: 22px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    font-weight: normal;
    line-height: 1.3;
}

.benefit-overlay p {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
    position: relative;
    z-index: 2;
    margin: 0;
    overflow: hidden;
    font-family: Inter;
}

.benefit-card:hover .benefit-overlay p {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-top: 10px;
    font-family: Inter;
}

/* Contact Section */
.contact-section {
    padding: 60px 5%;
    background-color: #f9f9f9;
    padding-left: 5%;
    padding-right: 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Days One', Inter;
    color: var(--gris);
}

.contact-form {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: var(--gris);
    }

    .form-group input,
    .form-group textarea {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-family: Inter;
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

.contact-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* Footer */
.footer {
    padding-left: 5%;
    padding-right: 5%;
    background-color: var(--naranja);
    padding: 40px 0 20px;
}

.footer-grid {
    padding-left: 5%;
    padding-right: 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Days One', Inter;
    color: white;
}

.footer-brand p {
    color: white;
    opacity: 0.9;
    line-height: 1.6;
    font-family: Inter;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-weight: normal;
    transition: font-weight 0.2s ease, transform 0.2s ease;
    opacity: 0.9;
    font-family: Inter;
}

    .footer-col a:hover {
        font-weight: bold;
        color: #ffffff;
        transform: translateX(5px);
        opacity: 1;
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Navbar */
.navbar {
    background: #f0f0f0;
    padding: 1rem 0;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .navbar-links a {
        text-decoration: none;
        transition: opacity 0.3s;
    }

        .navbar-links a:hover {
            opacity: 0.8;
        }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-overlay h3 {
        font-size: 20px;
    }

    .benefit-overlay p {
        font-size: 14px;
        font-family: Inter;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .navbar-links {
        display: none; /* Ocultamos los enlaces, necesitarás JS para el menú hamburguesa */
    }

    .navbar-toggle {
        display: block; /* Mostramos el botón hamburguesa */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ESTILOS PARA MENÚ MÓVIL (HAMBURGUESA)
   ============================================ */

/* Ocultar el toggle en desktop */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gris, #4D4D4D);
    padding: 10px;
    z-index: 1000;
}

/* Mostrar toggle solo en móvil */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    /* Configuración del contenedor de navegación en móvil */
    .navbar .container {
        position: relative;
    }

    /* Estilos para los enlaces de navegación en móvil */
    .navbar-links {
        display: none; /* Oculto por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #f0f0f0;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
        border-radius: 0 0 8px 8px;
    }

        /* Cuando el menú está activo (toggle clic) */
        .navbar-links.active {
            display: flex;
        }

        /* Estilos para los enlaces individuales en móvil */
        .navbar-links a {
            width: 100%;
            text-align: center;
            padding: 12px;
            color: var(--gris, #4D4D4D) !important;
            font-size: 16px !important;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

            .navbar-links a:hover {
                background-color: rgba(0,0,0,0.05);
            }

            /* Estilo especial para el botón "Solicita demo" en móvil */
            .navbar-links a.btn-primary {
                background: var(--naranja, #F7941E) !important;
                color: white !important;
                margin-top: 10px;
            }

                .navbar-links a.btn-primary:hover {
                    background: var(--naranja, #F7941E) !important;
                    opacity: 0.9;
                }
}

/* Ajuste para que el navbar maneje correctamente el posicionamiento */
.navbar {
    position: relative;
    background: #f0f0f0;
    padding: 1rem 0;
    z-index: 1000;
}

/* Animación suave para el menú */
@media (max-width: 768px) {
    .navbar-links {
        animation: slideDown 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}