.borde1 {
    box-sizing: border-box;
    color: solid blue;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.lobster {
    font-family: "Lobster", sans-serif;
    font-weight: 50;
    font-style: normal;
}

body {
    padding-top: 95px;
}

#barranavegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: white;
}

.titulores {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.nombre {
    font-family: "Lobster";
    font-size: 40px;
    color: #C8553D;
    margin-bottom: 0;
    font-weight: bold;
}

.tipo {
    font-family: "Lobster", sans-serif;
    font-size: 20px;
    color: #93A060;
    margin-top: 0;
}

.enlaces * {
    font-size: 18px;
    font-weight: 600;
    color: #93A060;
}

.enlaces *:hover {
    color: #C8553D;
    transition: color 0.3s ease;
}

.bc {
    font-size: 18px;
    font-weight: bold;
    box-sizing: border-box;
    background-color: #c8543dc0;
    border-radius: 20px;
    color: white !important;
    margin-left: 30px;
}

#btn-contacto:hover {
    background-color: #bf2c0fc5;
    color: white;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.dropdown-item {
    font-size: 15px;
    font-weight: 600;
    color: #93A060;
    padding: 8px 20px;
}

.dropdown-item:hover {
    background-color: #f7f0e0;
    color: #C8553D;
}

#encabezado {
    background-color: #999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video centrado */
#encabezado video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 80%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    border-radius: 10px;
}

/* Capa oscura del MISMO tamaño que el video */
#encabezado::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.211);
    z-index: 2;
    pointer-events: none;
    border-radius: 10px;
}

/* Contenido por encima de la capa */
#encabezado .contenido {
    position: relative;
    z-index: 3;
    width: 100%;
    color: white;
    font-size: 70px;
}

#encabezado .contenido-p {
    position: relative;
    z-index: 3;
    width: 100%;
    color: white;
    font-size: 20px;
}

.vermenus {
    position: relative;
    z-index: 3;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #c8543dc0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
}

.vermenus:hover {
    background-color: #bf2c0fdf;
    color: white;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.separador {
    width: 100%;
    color: #8B956D;
}

.separador2 {
    width: 100%;
    color: #C8553D;
}

.servicios {
    background-color: #f7f0e0;
    color: white;
    padding: 60px 0;
}

.titser {
    font-family: "Lobster", sans-serif;
    font-size: 50px;
    color: #93A060;
    margin-bottom: 40px;
}

/* Contenedor: fila con espacio entre tarjetas */
#tarjeser {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Tarjeta */
.card {
    flex: 1;
    min-width: 250px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

/* Imagen */
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Cuerpo */
.card-body {
    padding: 12px 16px;
}

/* Seccion imagen destacada */
#imgdes {
    height: 580px;
}

/* Imagen destacada */
#imagen-destacada {
    position: relative;
    height: 500px;
    width: 840px;
    max-width: 100%;
    overflow: hidden;
    background-image: url('../img/pastas/carbonara.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 auto;
    border-radius: 12px;
}

#imagen-destacada::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Texto superpuesto */
#overlay-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    z-index: 2;
}

#overlay-texto h2 {
    font-size: 52px;
    color: white;
    margin-bottom: 10px;
}

#overlay-texto p {
    font-size: 20px;
    color: white;
}

/* Sección equipo */
#equipo {
    background-color: #f7f0e0;
    padding: 60px 0;
}

/* Tarjetas del equipo */
#tarjeequipo {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Nombre */
#tarjeequipo .card-body h3 {
    color: #C8553D;
}

/* Título / cargo */
#tarjeequipo .card-body h4 {
    color: #93A060;
}

/* Descripción */
#tarjeequipo .card-body p {
    color: #555555;
}

/* La imagen necesita que el contenedor corte el zoom */
#tarjeequipo .card {
    overflow: hidden;
}

/* Efecto zoom al pasar el cursor */
#tarjeequipo .card img {
    transition: transform 1s ease;
}

#tarjeequipo .card img:hover {
    transform: scale(1.08);
}

/* Sección menú */
#seccion-menu {
    background-color: #F7F0E0;
    padding: 60px 0;
}

/* Botonera Menús */
#botonera-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-menu {
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #C8553D;
    border-radius: 20px;
    background-color: transparent;
    color: #C8553D;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-menu:hover,
.btn-menu.activo {
    background-color: #C8553D;
    color: white;
}

/* Tarjetas del menú */
#tarjetas-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    min-height: 300px;
}

.card-plato {
    width: 220px;
    flex: 0 0 220px;
}

.card-plato img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-plato .card-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #C8553D;
    margin-bottom: 6px;
}

.card-plato .card-body p {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.precio {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #93A060;
}

/* Sección Visítanos */
#visitanos {
    background-color: #f7f0e0;
    padding: 60px 0;
}

.visitanos-sub {
    color: #888;
    font-size: 15px;
    margin-bottom: 40px;
}

.visitanos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Tarjeta info */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icono {
    background-color: #C8553D;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Mapa */
.visitanos-mapa {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 12px;
}

/* Tarjeta reserva */
.reserva-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
}

.reserva-titulo {
    font-size: 22px;
    font-weight: 600;
    color: #93A060;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #C8553D;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row:last-of-type {
    grid-template-columns: 1fr 1fr 1fr;
}

.btn-reserva {
    width: 100%;
    padding: 14px;
    background-color: #C8553D;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 6px;
}

.btn-reserva:hover {
    background-color: #a8402a;
}

/* Footer inferior */
#footer {
    background-color: #2c2c2c;
    color: #888;
    text-align: center;
    padding: 16px 0;
    font-size: 13px;
}


/* =============================
   RESPONSIVE
   ============================= */

/* Tablet (max 992px) */
@media (max-width: 992px) {

    .nombre {
        font-size: 32px;
    }

    .tipo {
        font-size: 16px;
    }

    #encabezado .contenido {
        font-size: 50px;
    }

    .titser {
        font-size: 38px;
    }

    #overlay-texto h2 {
        font-size: 38px;
    }

    #overlay-texto p {
        font-size: 16px;
    }

    .visitanos-grid {
        grid-template-columns: 1fr;
    }

    .form-row:last-of-type {
        grid-template-columns: 1fr 1fr;
    }
}

/* Móvil (max 768px) */
@media (max-width: 768px) {

    body {
        padding-top: 70px;
    }

    /* Navbar */
    .nombre {
        font-size: 26px;
    }

    .tipo {
        font-size: 14px;
    }

    .bc {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Header / video */
    #encabezado {
        height: 60vh;
    }

    #encabezado video,
    #encabezado::before {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    #encabezado .contenido {
        font-size: 36px;
        text-align: center;
    }

    #encabezado .contenido-p {
        font-size: 15px;
        text-align: center;
        padding: 0 16px;
    }

    /* Tarjetas especialidades y equipo */
    #tarjeser,
    #tarjeequipo {
        flex-direction: column;
    }

    .card {
        min-width: unset;
        width: 100%;
    }

    .card img {
        height: 200px;
    }

    /* Imagen destacada */
    #imgdes {
        height: auto;
        padding: 20px 0;
    }

    #imagen-destacada {
        height: 250px;
        border-radius: 8px;
    }

    #overlay-texto h2 {
        font-size: 28px;
    }

    #overlay-texto p {
        font-size: 14px;
    }

    /* Botonera menú */
    .btn-menu {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Tarjetas menú */
    .card-plato {
        width: 100%;
        flex: 0 0 100%;
    }

    /* Visítanos */
    .visitanos-grid {
        grid-template-columns: 1fr;
    }

    .reserva-card {
        padding: 20px 16px;
    }

    .form-row,
    .form-row:last-of-type {
        grid-template-columns: 1fr;
    }

    .visitanos-mapa {
        height: 180px;
    }

    /* Títulos */
    .titser {
        font-size: 30px;
        margin-bottom: 24px;
    }
}

/* Móvil pequeño (max 480px) */
@media (max-width: 480px) {

    #encabezado .contenido {
        font-size: 28px;
    }

    #encabezado .contenido-p {
        font-size: 13px;
    }

    .vermenus {
        font-size: 14px;
        padding: 8px 16px;
    }

    #imagen-destacada {
        height: 200px;
    }

    #overlay-texto h2 {
        font-size: 22px;
    }

    #overlay-texto p {
        font-size: 12px;
    }

    .titser {
        font-size: 26px;
    }

    .btn-menu {
        padding: 6px 12px;
        font-size: 12px;
    }
}
