/* =========================
   FUENTE PROFESIONAL
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f4f6f9;
    color:#222;
    line-height:1.7;
}

/* =========================
   HEADER
========================= */

header{
    background:#0d1b2a;
    color: #ffffff;
    padding:18px 40px;
    position:fixed;
    width:100%;
    top:0;
    left: 0;
    z-index:1000;
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
    font-family:"Times New Roman", Georgia, serif;
}

.header-centro{
    text-align:center;

}

header h1{
    font-family:"Times New Roman", Georgia, serif;
    font-size:18px;
    letter-spacing:1px;
    font-weight:500;
    text-align: center;

}

.menu-btn{
    position:absolute;
    left:30px;
    top: 20px;
    background:none;
    border:none;
    font-size:24px;
    color:white;
    cursor:pointer;
}

.menu-btn:hover{
    color:#c9a227;
}

.side-menu{
    position:fixed;
    top:0;
    left:-260px;
    width:250px;
    height:100%;
    background:#0d1b2a;
    padding-top:80px;
    transition:0.4s ease;
    z-index:1200;
    font-family:"Times New Roman", Georgia, serif;
}

.side-menu.active{
    left:0;
}

.side-menu ul{
    list-style:none;
    padding:0 20px;
}

.side-menu ul li{
    margin:20px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.side-menu ul li a{
    color:#fff;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
}

.side-menu ul li a:hover{
    color:#c9a646;
}

.close-btn{
    position:absolute;
    top:15px;
    right:20px;
    background:none;
    border:none;
    color:#fff;
    font-size:26px;
    cursor:pointer;
}

.close-btn:hover {
    color: gold;
}

.menu-header{
    margin-top:5px;   /* separación debajo del nombre */
}

.menu-header ul{
    display:flex;
    justify-content: center;
    gap:40px;
    list-style:none;
    padding: 0;
}

.menu-header ul li a{
    text-decoration:none;
    color:white;
    font-size:15px;
    letter-spacing:1px;
    transition:color 0.3s ease;
}

/* 🔥 HOVER GOLD */
.menu-header ul li a:hover{
    color:#c9a227;
}


/* =========================
   ESPACIO GENERAL
========================= */

main{
    margin-top:120px;
}

section{
    padding:80px 8%;
}


/* =========================
   PRESENTACIÓN
========================= */

.presentacion{
    background-image:url("img/fondo.png"); /* tu imagen */
    background-size: cover;               /* se adapta a la pantalla */
    background-position: center;          /* centrada */
    background-repeat: no-repeat;         /* no se repite */
    height: 500px;                    /* ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color:white;
    position: relative;
    font-family: "Times New Roman", Georgia, serif; /* 🔑 fuente más formal */
}

.presentacion h2{
    color: #c9a227;
    font-size: 70px;
    margin-left: 400px;
}

.presentacion h1{
    color: #ffffff;
    font-size: 35px;
    margin-left: 400px;
}

.btn-agendar{
    display:inline-block;
    margin-top:25px;
    padding:15px 35px;
    background:#c9a227;
    color:white;
    text-decoration:none;
    border-radius:40px;
    font-weight:600;
    transition:0.3s;
}

.btn-agendar:hover{
    background:#b48a1f;
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.testimonio{
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 350px;
    flex: 1 1 300px;
    position: relative;
    text-align: center;

    opacity: 0;                 /* empieza invisible */
    transform: translateY(40px);/* empieza un poco abajo */
    animation: aparecer 1s ease forwards;
}

.testimonios h2 {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

/* Línea dorada debajo del título */
.testimonios h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #c9a227;
    margin: 10px auto 0;
    border-radius: 2px;
}

.contenedor-testimonios {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* para que se acomode en móviles */
}

.testimonio {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 350px;
    flex: 1 1 300px;
    position: relative;
    text-align: center;
}

.texto-testimonio {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
}

.autor {
    font-weight: bold;
    font-size: 14px;
    color: #2c3e50;
    text-align: right;
}

.testimonio:nth-child(1){ animation-delay: 0.2s; }
.testimonio:nth-child(2){ animation-delay: 0.4s; }
.testimonio:nth-child(3){ animation-delay: 0.6s; }
.testimonio:nth-child(4){ animation-delay: 0.8s; }
.testimonio:nth-child(5){ animation-delay: 1s; }




/* ============================= */
/*           FORMULARIO         */
/* ============================= */

#formComentario {
    max-width: 600px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#formComentario input,
#formComentario textarea {
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: "Georgia", serif;
    transition: all 0.3s ease;
    background: #fff;
}

#formComentario input:focus,
#formComentario textarea:focus {
    border-color: #a67c00;
    outline: none;
    box-shadow: 0 0 8px rgba(166, 124, 0, 0.3);
}

#formComentario textarea {
    min-height: 140px;
    resize: vertical;
}

/* Botón */
#formComentario button {
    background: #a67c00;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#formComentario button:hover {
    background: #8c6900;
    transform: translateY(-2px);
}

/* BLOQUE PRINCIPAL */
.comentarios {
    padding: 60px 8%;
    background-color: #0d1b2a; /* fondo completo del bloque */
    color: #fff;
}

/* Título */
.comentarios h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    font-family: "Times New Roman", Georgia, serif;
}

/* Contenedor de comentarios y formulario */
.contenedor-comentarios {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap; /* para que se acomode en pantallas pequeñas */
    background-color: #0d1b2a;
    padding: 40px 20px;
    width: 100%;
}

/* Texto introductorio */
.texto-comentario {
    flex: 1 1 100%;
    margin-bottom: 20px;
    text-align: center;

}

/* Formulario */
.caja-formulario {
    flex: 1 1 400px;
    max-width: 500px;
}

.caja-formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.caja-formulario input,
.caja-formulario textarea {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    width: 100%;
}

.caja-formulario button {
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: #c9a227;
    color: #0d1b2a;
    font-weight: bold;
    cursor: pointer;
}

.caja-formulario button:hover {
    background-color: #d4b42e;
}

/* Lista de comentarios */
#listaComentarios {
    flex: 1 1 400px;
    max-width: 600px;
    background-color: #1a2838;
    padding: 20px;
    border-radius: 10px;
    min-height: 200px; /* asegura altura mínima */
}

/* =========================
   CONTACTO
========================= */

.contacto{
    background:#111;
    color:#fff;
    padding:80px 20px;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
}

.contacto h2 {
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
}

.rojo {
    color: #c0392b;   /* rojo elegante */
}

.verde {
    color: #27ae60;   /* verde sobrio */
}

.btn-whatsapp a{
    display:inline-block;
    margin:20px 0;
    padding:12px 25px;
    background:#25d366;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
    transition:0.3s;
}

.btn-whatsapp a:hover{
    background:#1ebe5d;
}

.direccion{
    margin:20px 0;
    list-style:none;
}

.contacto-contenedor{
    display:flex;
    justify-content:left;
    margin:30px 0;
}


.mapa{
    width:100%;
}

.mapa iframe{
    width:100%;
    height:400px;  /* 🔥 puedes subirlo más si quieres */
    border-radius:8px;
}

/* ================= HORARIO ================= */

.horario{
    margin-top:30px;
}

#btn-horario{
    margin-top:10px;
    padding:8px 20px;
    background:#c9a646;
    border:none;
    cursor:pointer;
    font-weight:bold;
}

#lista-horario{
    margin-top:15px;
    list-style:none;
}

.oculto{
    display:none;
}

/* ================= FOOTER ================= */


footer{
    background:#0d1b2a;
    color:white;
    text-align:center;
    padding:25px;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Times New Roman", Times, serif;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .contenedor-comentarios {
        flex-direction: column;
        gap: 30px;
    }

    #listaComentarios {
        max-width: 100%;
    }

    .caja-formulario {
        max-width: 100%;
    }
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .contenedor-testimonios {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .testimonio {
        max-width: 90%;
        text-align: left;
    }
}

@keyframes aparecer{
    to{
        opacity:1;
        transform: translateY(0);
    }
}
