/* =========================================
   1. VARIABLES Y CONFIGURACIÓN BÁSICA
   ========================================= */
:root {
    --negro-profundo: #050505;
    --negro-suave: #141414;
    --texto-blanco: #ffffff;
    --texto-gris: #b3b3b3;
    --cian: #00AEEF;    /* Color de tu logo */
    --verde: #39B54A;   /* Color de tu logo */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--negro-profundo);
    color: var(--texto-blanco);
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   2. BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================= */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo y Texto del Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo img { height: 50px; }

.logo-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Enlaces del Menú */
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--texto-blanco); font-size: 0.9rem; transition: 0.3s; text-transform: uppercase; }
.nav-links a:hover { color: var(--cian); }

/* Botón del Menú */
.btn-reserva {
    background: transparent;
    border: 2px solid var(--verde);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--verde) !important;
    font-weight: bold;
    transition: 0.3s;
}
.btn-reserva:hover { background: var(--verde); color: white !important; }

/* =========================================
   3. SECCIONES GENERALES Y PORTADA
   ========================================= */
section { padding: 100px 0; }

.hero {
    height: 90vh;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4)), 
                url('img/portada.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content { max-width: 700px; margin-left: 10%; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--texto-gris); margin-bottom: 30px; max-width: 500px; }

/* Textos con degradado */
.text-gradient {
    background: linear-gradient(to right, var(--cian), var(--verde));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Botones Principales */
.btn-primary {
    background: linear-gradient(45deg, var(--cian), var(--verde));
    color: white; padding: 15px 40px; border-radius: 50px; font-weight: bold; display: inline-block; margin-right: 15px; 
    box-shadow: 0 5px 20px rgba(0, 174, 239, 0.3);
    transition: 0.3s;
}
.btn-primary:hover { transform: scale(1.05); }

.btn-outline {
    border: 2px solid white; color: white; padding: 15px 40px; border-radius: 50px; font-weight: bold; display: inline-block; transition: 0.3s;
}
.btn-outline:hover { background: white; color: black; }

/* =========================================
   4. SECCIÓN NOSOTROS
   ========================================= */
.section-dark { background-color: var(--negro-suave); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.subtitle { color: var(--cian); letter-spacing: 2px; margin-bottom: 10px; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { color: var(--texto-gris); line-height: 1.8; margin-bottom: 20px; }

.dark-list { list-style: none; }
.dark-list li { margin-bottom: 15px; font-size: 1.1rem; }
.dark-list i { color: var(--verde); margin-right: 10px; }

.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); filter: grayscale(30%); }

/* =========================================
   5. SECCIÓN SERVICIOS / PROMOCIONES
   ========================================= */
.section-black { background-color: var(--negro-profundo); text-align: center; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--texto-gris); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* Estilo de la Tarjeta */
.card {
    background: var(--negro-suave);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #222;
    transition: 0.3s;
    cursor: pointer; /* Indica que se puede hacer clic */
}
.card:hover { 
    transform: translateY(-10px) scale(1.02); 
    border-color: var(--cian); 
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.1);
}

.icon-card { font-size: 3rem; color: var(--cian); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: var(--texto-gris); font-size: 0.9rem; }
.icon-arrow { color: var(--texto-gris); margin-top: 15px; font-size: 0.8rem; }

/* IMPORTANTE: Esto oculta la imagen dentro de la tarjeta para que no moleste,
   pero el JavaScript la puede leer para mostrarla en el Lightbox */
.card-details { display: none; }

/* =========================================
   6. LIGHTBOX (VENTANA EMERGENTE)
   ========================================= */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; 
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.95);
    justify-content: center; align-items: center; flex-direction: column;
    animation: fadeIn 0.3s;
}

.modal-content {
    display: block;
    max-width: 90%; max-height: 85vh; /* Ajustado para pantallas grandes */
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 174, 239, 0.3);
    object-fit: contain;
}

#caption {
    margin-top: 15px;
    text-align: center; color: #ccc; font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.close-btn {
    position: absolute; top: 20px; right: 35px;
    color: #fff; font-size: 50px; font-weight: bold;
    cursor: pointer; transition: 0.3s; line-height: 1;
}
.close-btn:hover { color: var(--cian); }

@keyframes fadeIn { from {opacity: 0} to {opacity: 1} }

/* =========================================
   7. FOOTER
   ========================================= */
.footer-section { background-color: #000; border-top: 1px solid #222; padding: 60px 0 20px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 30px; margin-bottom: 40px; align-items: center;
}

.footer-info i { color: var(--verde); width: 25px; }

/* Imagen central del footer */
.footer-img-center img {
    width: 100%; height: 250px;
    object-fit: cover; border-radius: 10px;
    border: 1px solid #333; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: 0.3s;
    cursor: pointer; /* Clickeable para el lightbox */
}
.footer-img-center img:hover { border-color: var(--verde); opacity: 0.9; }

.copyright { text-align: center; color: #555; font-size: 0.8rem; border-top: 1px solid #111; padding-top: 20px; }

/* =========================================
   8. WHATSAPP FLOTANTE
   ========================================= */
.btn-wsp {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; background: #25d366; color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 30px; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); z-index: 2000;
    transition: 0.3s;
}
.btn-wsp:hover { transform: scale(1.1); box-shadow: 0 5px 25px rgba(37, 211, 102, 0.6); }

/* =========================================
   9. RESPONSIVE (CELULARES)
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .hero-content { margin-left: 0; text-align: center; }
    .btn-primary, .btn-outline { width: 100%; margin-bottom: 10px; }
    .footer-img-center img { height: auto; margin-bottom: 20px; }
    .logo-text { font-size: 0.9rem; } /* Logo texto más pequeño en móvil */
}

/* Estilo para destacar el número de teléfono en el pie de página */
.phone-large {
    font-size: 1.4rem;  /* Letra mucho más grande (antes era 1rem aprox) */
    font-weight: bold;  /* Negrita */
    margin-top: 15px;   /* Un poco de espacio arriba */
    margin-bottom: 5px; /* Un poco de espacio abajo */
    color: var(--verde); /* Usamos tu color verde corporativo */
}