/* --- Reset básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Estilos generales del Body --- */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Navbar base */
#navbar {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Links de navegación */
#navbar .nav-link, #navbar .navbar-brand {
    color: white;
    transition: color 0.3s ease;
}

/* Cambiar cuando scrollean */
#navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Links en scroll */
#navbar.scrolled .nav-link, #navbar.scrolled .navbar-brand {
    color: #b22222 !important; /* Rojo oscuro para destacar */
}

/* Hover para enlaces */
#navbar .nav-link:hover {
    color: #ff6347;
}


/* --- Hero principal (Header) --- */
header {
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.hero-principal {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1606787366850-de6330128bfc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    position: relative;
}

.hero-principal::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece un poco el fondo */
    z-index: 1;
}

.hero-principal > div {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #b22222; /* Rojo oscuro */
}

header p {
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 25px;
}

/* --- Botones --- */
.boton {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #b22222;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.boton:hover {
    background-color: #800000;
}

/* --- Secciones generales --- */
section {
    padding: 60px 20px;
}

h2 {
    color: #b22222;
    margin-bottom: 15px;
}

h3 {
    color: #b22222;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

/* --- Especialidades --- */
#especialidades .plato {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

#especialidades .plato:hover {
    transform: translateY(-10px);
}

/* --- Testimonios --- */
#testimonios blockquote {
    font-style: italic;
    margin: 20px auto;
    max-width: 600px;
    background-color: #ffe4e1;
    padding: 20px;
    border-radius: 10px;
}

#testimonios cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* --- Footer --- */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

footer a {
    color: #ff6347;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Responsive (móvil) --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 40px;
    }
    header p {
        font-size: 18px;
    }
    #especialidades .plato {
        width: 80%;
    }
}

/* --- Header / Hero principal --- */
header h1 {
    font-size: 60px; /* Sigue grande en pantallas normales */
    font-weight: bold;
}

/* --- Responsive (móvil) --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 28px; /* Solo en móviles será más pequeño */
    }
}

.menu-imagen {
    width: 100%; /* que ocupe el ancho del contenedor */
    height: 200px; /* o el alto que quieras */
    object-fit: cover; /* recorta sin deformar */
    border-radius: 10px; /* opcional, para esquinas redondeadas */
}

.card-img-top {
    width: 100%;
    height: 200px; /* o la altura que tú prefieras */
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  