/* =========================
   Fuentes
========================= */
@import url("https://fonts.googleapis.com/css?family=Sacramento&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

/* =========================
   Reset y estilos globales
========================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-size: medium;
    color: black;
    background:
        radial-gradient(35.36% 35.36% at 100% 25%,#0000 66%,#deb887 68% 70%,#0000 72%) 14px 14px/calc(2*14px) calc(2*14px),
        radial-gradient(35.36% 35.36% at 0    75%,#0000 66%,#deb887 68% 70%,#0000 72%) 14px 14px/calc(2*14px) calc(2*14px),
        radial-gradient(35.36% 35.36% at 100% 25%,#0000 66%,#deb887 68% 70%,#0000 72%) 0 0/calc(2*14px) calc(2*14px),
        radial-gradient(35.36% 35.36% at 0    75%,#0000 66%,#deb887 68% 70%,#0000 72%) 0 0/calc(2*14px) calc(2*14px),
        repeating-conic-gradient(#fdf5e6 0 25%,#0000 0 50%) 0 0/calc(2*14px) calc(2*14px),
        radial-gradient(#0000 66%,#deb887 68% 70%,#0000 72%) 0 calc(14px/2)/14px 14px
        #fdf5e6;
}

.container-fluid {
    color: black;
}

/* =========================
   Header, Navbar y Breadcrumb
========================= */
.navbar, .breadcrumb {
    background-color: transparent;
    color: rgb(0, 0, 0);
}

.breadcrumb-item a {
    color: rgb(128, 64, 0);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.navbar-toggler {
    border: none;
    background-color: transparent;
    color: rgb(0,0,0);
}

.navbar-toggler-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none'%3E%3Cpath fill='%23645120' d='M5 7h20a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zM5 15h20a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1zM5 23h20a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#navbarNav .myButton {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
}

#navbarNav > .d-flex {
    justify-content: flex-end !important;
}

/* =========================
   Carrusel
========================= */
/* =========================
   Carrusel Mejorado
========================= */
#menuCarousel {
    width: 70%;           /* ancho estrecho */
    max-width: 900px;
    min-height: 500px;    /* altura mínima */
    margin: 3rem auto;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fdf5e6;
}

#menuCarousel .carousel-inner,
#menuCarousel .carousel-item {
    height: 100%;
}

#menuCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* llena todo el contenedor sin deformar */
    display: block;
    min-height: 100%;   /* asegura que siempre llene verticalmente */
}

/* Indicadores */
.carousel-indicators {
    bottom: 15px;
}
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(128, 64, 64, 0.5);
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}
.carousel-indicators .active {
    background-color: rgb(255, 128, 0);
    transform: scale(1.3);
}

/* Controles */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: rgb(128, 64, 64);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: rgb(255, 128, 0);
}

/* Captions */
.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff6a9;
    font-family: "Sacramento", cursive;
    font-size: 2rem;
    text-shadow: 0 0 10px #000;
}

/* =========================
   Media Queries
========================= */
@media (max-width: 992px) {
    #menuCarousel { width: 95%; min-height: 400px; }
}

@media (max-width: 768px) {
    #menuCarousel { min-height: 300px; }
}

@media (max-width: 576px) {
    #menuCarousel { min-height: 250px; }
}

/* =========================
   Botones
========================= */
.myButton,
.myButtonEstablecimientos,
.myButtonEliminar,
.myButtonEditar,
.myButtonInferiorEstablecimiento,
.myButtonBuscarPlato {
    margin: 1% auto;
    color: black;
    font-size: 18px;
    line-height: 16px;
    padding: 0.5rem 0.5rem;
    border-radius: 10px;
    font-family: Georgia, serif;
    text-decoration: none;
    background-image: linear-gradient(to right, rgb(251, 217, 183) 0%, rgb(205, 149, 117) 50%);
    box-shadow: rgb(0, 0, 0) 5px 5px 15px 5px;
    border: 2px solid rgb(255, 255, 255);
    display: inline-block;
}

.myButton:hover,
.myButtonEstablecimientos:hover,
.myButtonEditar:hover {
    background: rgb(251, 217, 183);
}

.myButtonEliminar:hover {
    background: rgb(255, 0, 0);
    color: aliceblue;
}

/* =========================
   Formularios
========================= */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    background: rgb(253, 245, 230);
}

.form-container label,
.form-label {
    color: #000000;
    font-size: 22pt;
}

.form-control {
    background: rgb(253, 245, 230);
    color: #000000;
    border: 2px solid #ddd;
    font-size: 22px;
}

.form-control:focus {
    background-color: bisque;
    border-color: rgb(128, 64, 64);
}

/* =========================
   Footer
========================= */
.footer {
    background: rgb(253, 245, 230);
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    color: black;
    width: 100%;
}

.social-icons i {
    font-size: 1.5rem;
}
.social-icons a {
    transition: transform 0.2s ease-in-out;
}
.social-icons a:hover {
    transform: scale(1.2);
}

/* =========================
   Cards
========================= */
.card {
    max-height: 700px;
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5% auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 26px;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.card-body {
    flex-grow: 1;
    background-color: burlywood;
    color: black;
}

/* =========================
   Texto Principal
========================= */
.comerMenu {
    font-size: 7rem;
    line-height: calc(10px + 10vh);
    font-family: "Sacramento", cursive;
    color: rgb(128, 64, 64);
    text-align: center;
    text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500,
                 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00,
                 0 0 98px #ff0000;
    animation: blink 12s infinite;
}

@keyframes blink {
    20%, 24%, 55% {
        color: #111;
        text-shadow: none;
    }
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500,
                     0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00,
                     0 0 98px #ff0000;
        color: #fff6a9;
    }
}
.text-responsive {
  font-size: clamp(1rem, 2vw + 0.5rem, 2rem);
  line-height: 1.3;
}

/* =========================
   Media Queries
========================= */
@media (max-width: 992px) {
    .comerMenu { font-size: calc(10px + 6vh); line-height: calc(10px + 8vh); }
    
  
}

@media (max-width: 768px) {
    .comerMenu { font-size: calc(10px + 4vh); line-height: calc(10px + 6vh); }
    
}

@media (max-width: 576px) {
    .comerMenu { font-size: calc(12px + 2vh); line-height: calc(12px + 3vh); }
   
    .navbar-brand img { width: 150px; height: auto; }
    .footer { padding: 15px 10px; }
}
