@charset "utf-8";
/* CSS Document */

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header / Menú Compacto: Fondo Blanco y Texto Azul */
.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 200px;
    height: 200px;
    max-height: 50px;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 20px;
}

.nav-menu ul li a {
    color: #1a365d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #4db6ac;
}

/* Banner */
.banner {
    background: url('images/Banner.jpg') no-repeat center center/cover;
    position: relative;
    height: 380px;
}

.banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content h1 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-content p {
    color: #e2e8f0;
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.btn-banner {
    display: inline-block;
    background-color: #4db6ac;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-banner:hover {
    background-color: #3b9088;
}

/* Secciones Generales */
.section {
    padding: 50px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #1a365d;
}

/* Sobre Nosotros */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-size: 1.05rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff;
    padding: 25px 22px;
    border-radius: 8px;
    border-top: 4px solid #1a365d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.card-icon {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 12px;
}

.card h3 {
    margin-bottom: 12px;
    color: #1a365d;
    font-size: 1.3rem;
}

.card p {
    text-align: center;
}

.card ul {
    text-align: left;
    list-style-position: inside;
}

.card ul li {
    margin-bottom: 8px;
}

/* --- SECCIONES GRIS OSCURO CON TEXTOS EN BLANCO --- */
.clientes-section,
.galeria-section {
    background-color: #3d4043; /* Fondo gris oscuro corporativo */
    color: #ffffff; /* Texto blanco para toda la sección */
}

.clientes-section h2,
.galeria-section h2 {
    color: #ffffff; /* Títulos de sección en blanco */
}

.galeria-section .sub-text {
    color: #e2e8f0; /* Subtítulo aclarado en blanco/gris claro */
}

/* Carrusel de Clientes */
.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.client-box {
    background-color: #2b2d2f; /* Caja interna oscura */
    padding: 35px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #4d5154;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.client-box h3 {
    font-size: 1.8rem;
    color: #ffffff; /* Texto del cliente en blanco */
    margin-bottom: 8px;
}

.client-box p {
    color: #e2e8f0;
}

.carousel-btn {
    background-color: #ffffff;
    color: #1a365d;
    border: none;
    font-size: 1.3rem;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #4db6ac;
    color: #ffffff;
}

/* Galería */
.galeria-categories {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.category-card {
    position: relative;
    width: 320px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    background-color: #2b2d2f;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 54, 93, 0.9);
    color: #ffffff; /* Texto de tarjeta en blanco */
    padding: 12px;
    text-align: center;
}

.category-overlay h3 {
    color: #ffffff;
}

/* Ventana Flotante / Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    color: #333333;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.modal-gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

/* Contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.contacto-info h2 {
    text-align: left;
    color: #1a365d;
}

.contacto-info p {
    margin-bottom: 12px;
    color: #333333;
}

.contacto-info a {
    color: #1a365d;
    font-weight: 600;
    text-decoration: none;
}

.contacto-mapa iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: #ffffff;
    text-align: center;
    padding: 18px 0;
    font-size: 0.88rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}