* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* HEADER STYLES */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura fija para el header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background:transparent; /* Fondo transparente por defecto */
    transition: background 0.3s ease-in-out;
    z-index: 1000;
}

header.header-hidden {
    transform: translateY(-100%); /* Move the header out of view */
}

/* Solid background when scrolling */
header.scrolled {
    background: #071D1B;
    opacity: 0.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo img {
    height: 50px;
}

/* Navigation menu */
nav {
    justify-content: flex-end;
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links li a.active {
    color: white; /* Cambia el color del texto */
    font-weight: 400; /* Hazlo más destacado */
    border: 2px solid #BDD600; /* Subrayado */
    padding: 5px;
    border-radius: 5px;
}

/* Change text color when header gets solid */
header.scrolled .nav-links a {
    color:  white;
    font-size: 1rem;
    font-weight: 400;
}

.nav-links a:hover {
    color: #BDD600;
}

header.scrolled .nav-links a:hover{
    color:#BDD600;

}

/* CTA BUTTON (Different style from the menu links) */
.hero-cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #071D1B;
    background: #BDD600;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-cta-button:hover {
    background: #819900;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: url('/images/img_hero.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
    margin-left: 30px;
    
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    
}

.hero a {
    margin-left: 30;
    padding: 10px 20px;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 200px;
        text-align: left;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        padding: 15px;
        margin-left: 0;
    }

    .nav-links a {
        color:  #071D1B;
    }

    .menu-toggle {
        display: block;
    }

    .nav-active {
        display: flex;
    }
}

/* SERVICES SECTION */
.services {
    background-color: white;
    padding: 60px 50px;
    text-align: center;
}

.services-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #071D1B;
}

.services-subtitle {
    font-size: 1.3rem;
    font-weight: medium;
    text-transform: uppercase;
    color:#FFAA33; 
    margin-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}


.service-description {
    font-size: 0.9rem;
    color: #555;
    max-width: 300px;
    text-align: center;
}

.cta-servicios p {
    font-size: 1.2rem;
    margin: 30px 0px 40px 0px;
}

.solicitar-demo-btn {
    padding: 10px 20px;
    background-color: #BDD600; /* Color vibrante */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.solicitar-demo-btn:hover {
    background-color: #2E6B22; /* Hover: verde oscuro */
}

/* Responsividad */
@media (max-width: 768px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Sección Productos */
.productos {
    background-color: white;
    padding: 60px 50px;
    text-align: center;
}

/* Título y subtítulo */
.productos-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #071D1B;
}

.productos-subtitle {
    color: #FFAA33;
    font-size: 1.3rem;
    font-weight: medium;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Lista de productos */
.productos-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tarjetas de productos */
.producto-item {
    perspective: 1000px;
}

.producto-inner {
    position: relative;
    width: 100%;
    height: 300px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Hover: Rotar tarjeta */
.producto-item:hover .producto-inner {
    transform: rotateY(180deg);
}

/* Front y Back */
.producto-front, .producto-back {
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Front */
.producto-front {
    position: relative;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.producto-front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 29, 27, 0.9), rgba(7, 29, 27, 0)); /* Ajusta la opacidad aquí */
    z-index: 1;
}


.producto-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-front h3 {
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
}

/* Back */
.producto-back {
    background: #3B892D;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Call to Action (CTA) */
.productos-cta {
    margin-top: 50px;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    color: #071D1B;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFAA33;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #D98E2B;
}

/* Responsive */
@media (max-width: 768px) {
    .productos-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .productos-list {
        grid-template-columns: 1fr;
    }
}
/* Sección Nuestros Clientes */
.nuestros-clientes {
    background-color: #F4F4F4;
    padding: 60px 50px;
    text-align: center;
}

/* Título y subtítulo */
.clientes-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #071D1B;
}

.clientes-subtitle {
    color: #FFAA33;
    font-size: 1.3rem;
    font-weight: medium;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Lista de clientes */
.clientes-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Item de cliente */
.cliente-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Logotipo de cliente */
.cliente-logo {
    max-width: 100%;
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover sobre los logotipos */
.cliente-item:hover .cliente-logo {
    transform: scale(1.1);
}

/* CTA para solicitar un demo */
.cta-clientes {
    text-align: center;
    padding: 20px;
}



/* Responsive */
@media (max-width: 768px) {
    .clientes-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .clientes-list {
        grid-template-columns: 1fr;
    }
}

.contacto {
    background: radial-gradient(circle at top, #BDD600, #071D1B);
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
}



.contacto-title {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    padding-top: 60px;
}

.contacto-subtitle {
    font-size: 1.3rem;
    font-weight: medium;
    color:white;
    margin-bottom: 30px;
}
.contacto-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.contacto-form {
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid white;
    font-size: 1rem;
    color: white;
    padding: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #071D1B; /* Resalta el borde en un color oscuro */
}

.contacto-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    color: #071D1B;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.contacto-btn:hover {
    background-color: #071D1B;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto {
        padding: 40px 20px;
    }

    .contacto-form {
        width: 100%;
    }
}
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #071D1B; /* Color oscuro que combina con tu página */
    color: white;
    flex-direction: column;
    padding: 20px 0;
}


.footer-logo{
    margin-top: 40px;
    display: flex;
    max-width: 200px;
    max-height: 180px;
    margin-bottom: 0px;
}

.footer-contacto{
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: space-between;
    flex-direction: row;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-contacto img{
    height: 24px;
    margin-right: 10px;
    transition: opacity 0.3s;
}

.footer p{
    font-size: 0.8rem;
}
.footer-social img {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 0.7;
}

.footer-contacto img:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .footer{
        flex-direction: column;
        text-align: center;
    }

    .footer-contacto {
        margin-top: 10px;
    }
}
