/* =========================================
ESTILOS GENERALES
========================================= */

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F9F9EC;
    color: #1C1D1F;
    margin: 0;
}

h1,
h2,
h3,
.logo-web {
    font-family: 'Playfair Display', serif;
}

.titulo-seccion {
    font-size: 2.2rem;
    color: #4A7C14;
    font-weight: 700;
}

#servicios {
    background-color: #F9F9EC;
}


/* =========================================
NAVBAR
========================================= */

.fondo-navbar {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    padding-top: 8px;
    padding-bottom: 8px;
    z-index: 10;
}

.navbar-transparente {
    background-color: rgba(0, 0, 0, 0.20);
}

.navbar-color {
    background-color: rgba(45, 90, 14, 0.96);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}

.logo-web {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.imagen-logo {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.35));
}

.navbar .nav-link {
    color: #ffffff;
    font-weight: 600;
    margin-left: 12px;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #FEDA05;
}


/* =========================================
CABECERA CON VIDEO
========================================= */

.cabecera-video {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.capa-oscura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.contenido-cabecera {
    position: relative;
    z-index: 3;
    color: #ffffff;
    padding-top: 120px;
    padding-bottom: 120px;
    display: flex;
    justify-content: flex-start;
}

.caja-titulo {
    background: rgba(0, 0, 0, 0.30);
    padding: 32px 42px;
    border-radius: 18px;
    backdrop-filter: blur(3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    max-width: 520px;
    text-align: left;
}

.titulo-principal {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #F5F3E7;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.55);
}

.subtitulo-principal {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #F5F3E7;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.55);
}


/* =========================================
ONDA CABECERA
========================================= */

.onda-cabecera {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
}

.onda-cabecera svg {
    display: block;
    width: 100%;
    height: 110px;
}

.onda-cabecera path {
    fill: #F9F9EC;
}


/* =========================================
SERVICIOS
========================================= */

.tarjeta-servicio {
    border: none;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: 0.3s;
}

.tarjeta-servicio:hover {
    transform: translateY(-6px);
}

.icono-servicio {
    font-size: 2.4rem;
}

.titulo-tarjeta {
    margin-top: 10px;
    color: #4A7C14;
}


/* =========================================
IMAGEN DESTACADA
========================================= */

.imagen-destacada {
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url("../img/imagen-destacada.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;

    display: flex;
    align-items: center;
}

/* Onda crema dentro de la parte superior de imagen destacada */
.onda-arriba-destacada {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.onda-arriba-destacada svg {
    display: block;
    width: 100%;
    height: 120px;
}

.onda-arriba-destacada path {
    fill: #F9F9EC;
}

.caja-texto-destacada {
    position: relative;
    z-index: 3;
    background: rgba(249, 249, 236, 0.9);
    padding: 35px;
    border-radius: 16px;
    max-width: 500px;
}

.titulo-destacado {
    color: #4A7C14;
}

.texto-destacado {
    font-size: 1.05rem;
}


/* =========================================
EQUIPO
========================================= */

#equipo{
    position:relative;
    background-color:#F9F9EC;
    padding-top:140px !important;
    padding-bottom:150px !important;
    overflow:visible;
    z-index:5;
}

.sello-organico{
    position:absolute;
    top:-220px;
    right:8%;
    width:260px;
    z-index:20;
    filter:drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.tarjeta-equipo {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.tarjeta-equipo:hover {
    transform: translateY(-6px);
}

.imagen-equipo {
    height: 300px;
    object-fit: cover;
}

.texto-puesto {
    color: #B62D06;
}

/* Onda crema dentro de la parte inferior de equipo */
.onda-abajo-equipo {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.onda-abajo-equipo svg {
    display: block;
    width: 100%;
    height: 120px;
}

.onda-abajo-equipo path {
    fill: #F9F9EC;
}


/* =========================================
MENUS
========================================= */

.seccion-menus {
    position: relative;
    background: #2D2D2D;
}

.seccion-menus .container {
    max-width: 1100px;
}

.seccion-menus .titulo-seccion {
    color: #F9F9EC;
}

.boton-menu {
    background: #5B8E13;
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.boton-menu .icono-boton {
    margin-right: 10px;
    font-size: 1.3rem;
}

.boton-menu:hover {
    background: #C96A3A;
    color: white;
    transform: translateY(-3px);
}

.filtro-menu.activo {
    background-color: #212529;
    color: #fff;
    border-color: #212529;
}

.imagen-plato {
    height: 220px;
    object-fit: cover;
}

.tarjeta-plato {
    border-radius: 16px;
    overflow: hidden;
}


/* =========================================
INFORMACION
========================================= */

.seccion-informacion {
    background: #F9F9EC;
}

.caja-informacion {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.titulo-info {
    color: #4A7C14;
}

.caja-mapa {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}


/* =========================================
FOOTER
========================================= */

.footer-web {
    background: #2D5A0E;
    color: white;
}


/* =========================================
RESPONSIVE
========================================= */

@media (max-width:991px) {

    .titulo-principal {
        font-size: 3rem;
    }

    .subtitulo-principal {
        font-size: 1.1rem;
    }

    .imagen-logo {
        height: 54px;
    }

    .navbar-collapse {
        background-color: rgba(45, 90, 14, 0.96);
        margin-top: 10px;
        border-radius: 12px;
        padding: 10px;
    }

    .onda-cabecera svg {
        height: 85px;
    }

    .onda-arriba-destacada svg,
    .onda-abajo-equipo svg {
        height: 95px;
    }

    .imagen-superpuesta-equipo {
        width: 250px;
        top: -120px;
        right: 5%;
    }
}

@media (max-width:767px) {

    .cabecera-video {
        min-height: 85vh;
    }

    .caja-titulo {
        padding: 24px 22px;
        width: 100%;
        max-width: 95%;
    }

    .titulo-principal {
        font-size: 2.3rem;
    }

    .subtitulo-principal {
        font-size: 1rem;
    }

    .imagen-logo {
        height: 46px;
    }

    .contenido-cabecera {
        padding-top: 100px;
        padding-bottom: 100px;
        justify-content: center;
    }

    .caja-titulo {
        text-align: center;
    }

    .onda-cabecera svg {
        height: 70px;
    }

    .onda-arriba-destacada svg,
    .onda-abajo-equipo svg {
        height: 75px;
    }

      #equipo{
        padding-top:100px !important;
    }

    .sello-organico{
        width:170px;
        top:-95px;
        right:30px;
    }
}

@media (max-width:480px) {

    .cabecera-video {
        min-height: 78vh;
    }

    .titulo-principal {
        font-size: 1.9rem;
    }

    .subtitulo-principal {
        font-size: 0.95rem;
    }

    .caja-titulo {
        padding: 20px 18px;
    }

    .onda-cabecera svg {
        height: 55px;
    }

    .onda-arriba-destacada svg,
    .onda-abajo-equipo svg {
        height: 55px;
    }
}



/* =========================================
PAGINAS DE MENUS
========================================= */

.body-menu{
    background-color:#F9F9EC;
    color:#1C1D1F;
}

.navbar-menu{
    background-color:#2D5A0E;
    box-shadow:0 4px 12px rgba(0,0,0,0.20);
}

.navbar-menu .imagen-logo{
    height:58px;
}

.enlace-menu{
    color:white;
    font-weight:600;
    text-decoration:none;
    margin-left:18px;
}

.enlace-menu:hover{
    color:#F5F3E7;
}

.cabecera-menu{
    padding-top:120px;
    padding-bottom:60px;
    background:
        linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),
        url("../img/imagen-destacada.jpg");
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
}

.titulo-menu{
    font-family:'Playfair Display',serif;
    font-size:3rem;
    color:#F5F3E7;
    text-shadow:2px 2px 8px rgba(0,0,0,0.6);
}

.subtitulo-menu{
    font-size:1.1rem;
    color:#F5F3E7;
}

.contenido-menu{
    padding:60px 0;
}

.tarjeta-plato{
    border:none;
    border-radius:16px;
    overflow:hidden;
    background:white;
    box-shadow:0 6px 18px rgba(0,0,0,0.10);
    transition:0.3s;
}

.tarjeta-plato:hover{
    transform:translateY(-6px);
}

.imagen-plato{
    height:220px;
    width:100%;
    object-fit:cover;
}

.nombre-plato{
    color:#4A7C14;
    font-family:'Playfair Display',serif;
    font-size:1.4rem;
}

.precio-plato{
    color:#B62D06;
    font-weight:700;
    font-size:1.1rem;
}

.boton-volver{
    background-color:#B62D06;
    color:white;
    border-radius:10px;
    padding:10px 18px;
    text-decoration:none;
    font-weight:600;
}

.boton-volver:hover{
    background-color:#5B8E13;
    color:white;
}

.footer-menu{
    background:#2D5A0E;
    color:white;
    padding:18px;
    text-align:center;
}

@media(max-width:768px){
    .titulo-menu{
        font-size:2.2rem;
    }

    .navbar-menu .imagen-logo{
        height:46px;
    }

    .cabecera-menu{
        padding-top:100px;
    }
}