/* =========================
   CONFIGURACIÓN GENERAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #f5f5f5;

    font-family: Arial, sans-serif;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background-color: #111 !important;

    min-height: 110px;

    padding-top: 8px;
    padding-bottom: 8px;

    z-index: 1000;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.30);
}


/* =========================
   LOGO
========================= */

.navbar-brand {
    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
}


.logo-navbar {
    width: 92px;
    height: 92px;

    object-fit: contain;

    display: block;

    transition: 0.3s ease;
}


.logo-navbar:hover {
    transform: scale(1.06);
}


/* =========================
   MENÚ
========================= */

.navbar-nav {
    align-items: center;
}


.nav-link {
    color: white !important;

    font-size: 17px;

    margin-left: 16px;

    padding-left: 10px !important;
    padding-right: 10px !important;

    transition: 0.3s ease;
}


.nav-link:hover {
    color: #d4af37 !important;

    transform: translateY(-2px);
}


.nav-link.active {
    color: #d4af37 !important;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 610px;

    display: flex;

    align-items: center;

    color: white;


    background:

        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.72)
        ),

        url("barberia.jpg");


    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;


    /*
    Espacio necesario porque
    la navbar está fija
    */

    padding-top: 110px;
}


.hero h1 {
    font-size: 52px;

    font-weight: bold;

    animation: aparecer 1s ease;
}


.hero p {
    font-size: 21px;

    line-height: 1.7;

    animation: aparecer 1.4s ease;
}


/* =========================
   BOTÓN DORADO
========================= */

.btn-barberia {
    background-color: #d4af37;

    color: #111;

    border: none;

    font-weight: bold;

    padding: 12px 27px;

    border-radius: 7px;

    transition: 0.3s;

    animation: aparecer 1.7s ease;
}


.btn-barberia:hover {
    background-color: #b8962e;

    color: white;

    transform: translateY(-3px) scale(1.03);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}


/* =========================
   TÍTULOS
========================= */

.titulo-seccion {
    font-weight: bold;

    margin-bottom: 35px;
}


.titulo-seccion::after {
    content: "";

    display: block;

    width: 65px;
    height: 3px;

    background-color: #d4af37;

    margin: 12px auto;
}


/* =========================
   INFORMACIÓN
========================= */

.informacion {
    background-color: white;
}


.caja-info {
    padding: 25px;

    border-left: 4px solid #d4af37;

    background-color: #f8f9fa;

    border-radius: 7px;

    transition: 0.3s;

    animation: subir 0.9s ease;
}


.caja-info:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================
   TARJETAS
========================= */

.tarjeta {
    border: none;

    border-radius: 15px;

    transition: 0.35s;

    animation: subir 0.9s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}


.tarjeta:hover {
    transform: translateY(-10px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}


.tarjeta h5 {
    color: #d4af37;

    font-weight: bold;
}


/* =========================
   NÚMEROS
========================= */

.numero {
    width: 60px;
    height: 60px;

    margin: 0 auto 18px;

    background-color: #d4af37;

    color: #111;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;

    font-weight: bold;

    transition: 0.3s;
}


.tarjeta:hover .numero {
    transform: scale(1.08);
}


/* =========================
   SECCIÓN FINAL
========================= */

.reserva-final {
    background-color: #111;

    color: white;
}


.reserva-final h2 {
    font-weight: bold;
}


/* =========================
   FOOTER
========================= */

footer {
    background-color: #111;

    color: white;
}


footer span {
    color: #d4af37;
}


/* =========================
   AJUSTES SOLO PARA
   SERVICIOS.HTML
========================= */

/*
Hace que la página de servicios
ocupe como mínimo toda la pantalla.
*/

.pagina-servicios {
    min-height: 100vh;

    display: flex;

    flex-direction: column;
}


/*
Baja "Nuestros servicios"
para que no quede pegado
a la navbar fija.
*/

.pagina-servicios .seccion-servicios {
    flex: 1;

    padding-top: 155px !important;

    padding-bottom: 55px !important;
}


/*
Mantiene el footer negro abajo.

Esta regla solamente afecta
a servicios.html.
*/

.pagina-servicios footer {
    margin-top: auto;

    width: 100%;
}


/* =========================
   ANIMACIONES
========================= */

@keyframes aparecer {

    from {
        opacity: 0;

        transform: translateY(30px);
    }


    to {
        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes subir {

    from {
        opacity: 0;

        transform: translateY(40px);
    }


    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .navbar {
        min-height: 95px;
    }


    .logo-navbar {
        width: 75px;
        height: 75px;
    }


    .navbar-nav {
        align-items: flex-start;

        padding-top: 15px;
        padding-bottom: 15px;
    }


    .nav-link {
        margin-left: 0;

        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }


    .hero {
        padding-top: 95px;
    }


    /*
    Ajuste para servicios
    en tablet/celular
    */

    .pagina-servicios .seccion-servicios {
        padding-top: 135px !important;
    }

}



@media (max-width: 768px) {

    .hero {
        min-height: 520px;

        text-align: center;
    }


    .hero h1 {
        font-size: 36px;
    }


    .hero p {
        font-size: 17px;
    }


    .logo-navbar {
        width: 70px;
        height: 70px;
    }


    .pagina-servicios .seccion-servicios {
        padding-top: 125px !important;
    }

}