/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #333;
}

/* Slideshow de fondo */
.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Overlay para mejorar legibilidad */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.85) 100%
    );
    z-index: -1;
}

/* Contenedor principal */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Contenido principal */
.content {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Sección "En construcción" */
.coming-soon {
    margin-bottom: 3rem;
}

.coming-soon h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #077B8A;
    margin-bottom: 1rem;
}

.coming-soon p {
    font-size: 1.1rem;
    color: #5d6d7e;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Cuenta regresiva */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    min-width: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #077B8A;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #077B8A;
    line-height: 1;
}

.countdown-item .label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Vista previa de servicios */
.services-preview {
    margin-bottom: 2rem;
}

.services-preview h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.service-item {
    background: rgba(7, 123, 138, 0.1);
    color: #077B8A;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(7, 123, 138, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #077B8A;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.footer p {
    margin-bottom: 0.25rem;
}

.credits a {
    color: #077B8A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.credits a:hover {
    color: #055a66;
    text-decoration: underline;
}

/* Responsive Design */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1.5rem;
    }
    
    .countdown-item {
        min-width: 90px;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
    
    .logo {
        max-height: 80px;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .location {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .coming-soon {
        margin-bottom: 2rem;
    }
    
    .coming-soon h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .coming-soon p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .countdown {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .countdown-item {
        padding: 1rem 0.75rem;
        min-width: 80px;
    }
    
    .countdown-item .number {
        font-size: 2rem;
    }
    
    .countdown-item .label {
        font-size: 0.8rem;
    }
    
    .services-preview {
        margin-bottom: 1.5rem;
    }
    
    .services-preview h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .services-list {
        gap: 0.5rem;
    }
    
    .service-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .footer {
        bottom: 0.5rem;
        font-size: 0.8rem;
    }
}



/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #077B8A;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #055a66;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(7, 123, 138, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 123, 138, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(7, 123, 138, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(7, 123, 138, 0);
    }
}

/* Mobile Responsiveness - Solo para contador */
@media (max-width: 480px) {
    .countdown {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 0.5rem;
        flex: 1;
    }
    
    .countdown-item .number {
        font-size: 1.5rem;
    }
    
    .countdown-item .label {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content > * {
    animation: fadeInUp 0.8s ease-out;
}

.content > *:nth-child(1) { animation-delay: 0.1s; }
.content > *:nth-child(2) { animation-delay: 0.2s; }
.content > *:nth-child(3) { animation-delay: 0.3s; }
.content > *:nth-child(4) { animation-delay: 0.4s; }
.content > *:nth-child(5) { animation-delay: 0.5s; }
.content > *:nth-child(6) { animation-delay: 0.6s; }