/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Fondo gris */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Panel flotante */
.floating-panel {
    background-color: #fff;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.5); /* Sombra azul rey */
    overflow: hidden;
}

/* Header */
header {
    background-color: #003366;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Estilos para la sección de inicio */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al contenedor */
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.1); /* Efecto de zoom */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background-color: #FFF;
    color: #000;
    padding-top: 1%;
  
  
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Sección de Productos */
.products {
    padding: 50px 20px;
    text-align: center;
}

.product-grid {
    padding: 2%;
   
}

.product-item {
    background-color: #fff;
     padding: 10%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width:75%;
    text-align: justify;
    line-height: 2;
}

.product-item img {
    width: 200px;
    height: 105px;
    border-radius: 10px;
    padding: 3%;
}

.product-item2 {
    background-color: #fff;
     padding: 5%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width:90%;
    text-align: justify;
    line-height: 2;
}

/* Sección de Clientes */
.clients {
    padding: 50px 20px;
    text-align: center;
}

.client-logos {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex: 0 0 auto;
    margin: 0 20px;
}

.client-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
}

/* Formulario de Contacto */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
}

/* Estilos para el formulario de contacto */
.contact {
    padding: 50px 20px; /* Margen interno superior e inferior */
    text-align: center;
    background-color: #fff; /* Fondo blanco */
    border-radius: 10px; /* Bordes redondeados */
    margin: 20px; /* Margen externo para separar del borde del panel */
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    padding: 0 20px; /* Margen interno izquierdo y derecho */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #003366; /* Color azul rey */
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #ff6600; /* Borde naranja al enfocar */
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.5); /* Sombra naranja al enfocar */
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
}

.btn {
    background-color: #ff6600; /* Fondo naranja */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e65c00; /* Naranja más oscuro al pasar el mouse */
}

.form-status {
    margin-top: 20px;
    font-size: 1rem;
    color: #003366; /* Color azul rey */
}