/* LAMPA'S FIRST APART HOTEL */
/* Identidad visual corporativa */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f1e9;
    color: #292929;
    line-height: 1.7;
}

/* MENU PRINCIPAL */

header {
    background: #171b17;
    padding: 25px 6%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

nav h2 {
    color: #c9ad7d;
    font-family: Georgia, serif;
    font-size: 24px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c9ad7d;
}

/* PORTADA PRINCIPAL */

#inicio {
    min-height: 85vh;
    background: linear-gradient(
        135deg, #171b17, #454b3b
    );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 25px;
}

#inicio h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 6vw, 76px);
    font-weight: normal;
    color: #e6d2ad;
    margin-bottom: 20px;
}

#inicio p {
    font-size: 22px;
    margin-bottom: 30px;
}

#inicio h2 {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9ad7d;
}

#inicio a {
    display: inline-block;
    margin-top: 35px;
    padding: 15px 30px;
    border: 1px solid #c9ad7d;
    color: #e6d2ad;
    text-decoration: none;
    transition: 0.3s;
}

#inicio a:hover {
    background: #c9ad7d;
    color: #171b17;
}

/* SECCIONES DEL HOTEL */

main section:not(#inicio) {
    padding: 90px 10%;
    text-align: center;
}

main section h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    margin-bottom: 20px;
}

#habitaciones,
#contacto {
    background-color: #e8e0d2;
}

footer {
    background: #171b17;
    color: #c9ad7d;
    text-align: center;
    padding: 35px 20px;
}

/* ADAPTACION PARA CELULARES */

@media (max-width: 768px) {
    nav {
        justify-content: center;
        text-align: center;
    }

    nav h2 {
        width: 100%;
    }

    #inicio p {
        font-size: 18px;
    }

    main section h2 {
        font-size: 28px;
    }
}
/* REDES SOCIALES CORPORATIVAS */

.redes-sociales {
    padding: 70px 20px;
    text-align: center;
    background: #f5f1e9;
}

.redes-sociales h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.social {
    padding: 14px 25px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.social:hover {
    transform: translateY(-4px);
}

.facebook {
    background: #1877f2;
}

.instagram {
    background: linear-gradient(
        45deg, #f09433, #dc2743, #bc1888
    );
}

.tiktok {
    background: #111111;
}

.whatsapp {
    background: #128c4e;
}

.pendiente {
    opacity: 0.6;
    cursor: default;
}

/* WHATSAPP FLOTANTE */

.whatsapp-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #128c4e;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px #00000040;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-flotante:hover {
    transform: scale(1.05);
}
/* SISTEMA DE RESERVAS */

.reservas {
    background: #f5f1e9;
    padding: 60px 20px;
    text-align: center;
}

.reservas h2 {
    font-size: 36px;
    color: #1c211c;
    margin-bottom: 15px;
}

#form-reserva {
    max-width: 650px;
    margin: 35px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    border-top: 5px solid #b99b62;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    text-align: left;
}

#form-reserva label {
    display: block;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #252525;
}

#form-reserva input:not([type="checkbox"]),
#form-reserva select,
#form-reserva textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 16px;
    background: #fafafa;
    box-sizing: border-box;
}

#form-reserva input:focus,
#form-reserva select:focus,
#form-reserva textarea:focus {
    outline: 2px solid #b99b62;
    border-color: #b99b62;
}

#form-reserva [hidden] {
    display: none !important;
}

#resumen-reserva {
    background: #171b17;
    color: #e6d2ad;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
}

#total-reserva {
    font-size: 24px;
    font-weight: bold;
    color: #e6d2ad;
}

#form-reserva .condiciones {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.6;
}

#form-reserva button {
    width: 100%;
    background: #171b17;
    color: #e6d2ad;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

#form-reserva button:hover {
    background: #b99b62;
    color: #171b17;
}

#form-reserva button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aviso-reserva {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 600px) {
    #form-reserva {
        padding: 20px;
    }

    .reservas h2 {
        font-size: 28px;
    }
}

/* Identidad corporativa del hotel */

.marca-hotel {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #d4b47c;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
}

.logo-hotel {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .marca-hotel {
        flex-direction: column;
        width: 100%;
        text-align: center;
        font-size: 20px;
        gap: 8px;
    }

    .logo-hotel {
        width: 110px;
        height: 110px;
    }
}

/* Ajuste de cabecera corporativa */

header nav .marca-hotel {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    margin-right: auto;
    color: #d4b47c;
    font-family: Georgia, serif;
    font-size: 18px;
}

header nav .logo-hotel {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    header nav .marca-hotel {
        width: 100%;
        font-size: 16px;
    }

    header nav .logo-hotel {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Logo corporativo del pie de página */

footer .logo-footer {
    display: block;
    width: 60px;
    height: 60px;
    max-width: 60px;
    object-fit: contain;
    margin: 0 auto 15px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    footer .logo-footer {
        width: 50px;
        height: 50px;
    }
}

/* Portada principal corporativa */

#inicio {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(
        rgba(15, 20, 12, 0.45),
        rgba(15, 20, 12, 0.65)
    ), url("../images/fachada-hotel.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 60px 25px;
}

.portada-contenido {
    max-width: 900px;
}

#inicio h1 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 5vw, 65px);
    color: #e4c58e;
    text-shadow: 0 2px 8px #000;
}

#inicio p {
    color: #ffffff;
    font-size: 20px;
}

#inicio h2 {
    color: #e4c58e;
    letter-spacing: 4px;
}

.imagen-referencial {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 11px;
    color: #ffffff;
}

@media (max-width: 768px) {
    #inicio {
        min-height: 75vh;
        background-position: center;
    }

    #inicio p {
        font-size: 16px;
    }

    #inicio h2 {
        font-size: 18px;
        letter-spacing: 2px;
    }
}


/* ========================================
   CONTADOR REGRESIVO - GRAN APERTURA 2027
   ======================================== */

/* BLOQUE 1: Contenedor principal */

.contador-apertura {
    margin: 30px auto;
    text-align: center;
    max-width: 600px;
}

/* BLOQUE 2: Título del contador */

#inicio .contador-titulo {
    color: #d4b575;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* BLOQUE 3: Distribución de los recuadros */

.contador {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* BLOQUE 4: Diseño de cada recuadro */

.tiempo {
    background: rgba(15, 20, 12, 0.85);
    border: 1px solid #d4b575;
    border-radius: 10px;
    padding: 20px 15px;
    min-width: 100px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* BLOQUE 5: Diseño de los números */

.tiempo span {
    display: block;
    color: #d4b575;
    font-size: 42px;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
}

/* BLOQUE 6: Texto debajo de los números */

.tiempo small {
    display: block;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* BLOQUE 7: Mensaje del día de apertura */

#inicio #mensaje-apertura {
    color: #d4b575;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

/* BLOQUE 8: Adaptación para celulares */

@media (max-width: 600px) {

    .contador {
        gap: 6px;
    }

    .tiempo {
        min-width: 0;
        flex: 1;
        padding: 12px 5px;
    }

    .tiempo span {
        font-size: 28px;
    }

    .tiempo small {
        font-size: 9px;
        letter-spacing: 0;
    }

    #inicio .contador-titulo {
        font-size: 15px;
    }

}

/* FIN DEL CONTADOR REGRESIVO */
