*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.hero{
    height:100vh;
    background-image:url("images/restaurante.jpg");
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    font-size:1.3rem;
    margin-bottom:30px;
}

.btn{
    padding:12px 30px;
    background:#c59d5f;
    color:white;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
}

/* RESPONSIVE */

@media (max-width:768px){

.hero h1{
    font-size:2.5rem;
}

.hero p{
    font-size:1rem;
}

}

.nav-links a.active{
color:#c59d5f;
border-bottom:2px solid #c59d5f;
padding-bottom:3px;
}

section{
scroll-margin-top:100px;
}

/* NAVBAR */

.navbar{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:rgba(0,0,0,0.6);
backdrop-filter: blur(5px);
z-index:1000;
}

.logo{
color:white;
font-size:1.5rem;
font-weight:bold;
letter-spacing:2px;
}
.logo img{
height:50px;
width:auto;
}

.nav-links{
display:flex;
list-style:none;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:white;
font-weight:500;
transition:0.3s;
}

.nav-links a:hover{
color:#c59d5f;
}

.menu-toggle{
display:none;
font-size:2rem;
color:white;
cursor:pointer;
}

@media (max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:black;
flex-direction:column;
align-items:center;
display:none;
padding:20px 0;
}

.nav-links li{
margin:10px 0;
}

.menu-toggle{
display:block;
}

.nav-links.active{
display:flex;
}

}

.navbar.scrolled{
background:black;
padding:15px 10%;
transition:0.3s;
box-shadow:0 4px 10px rgba(0,0,0,0.3);
}

/* ABOUT */

.about{
  padding:100px 10%;
  background:#f4f4f4; /* gris suave */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin:40px 0; /* separa de otras secciones */
}

.about-container{
display:flex;
align-items:center;
gap:60px;
max-width:1200px;
margin:auto;
}

.about-text{
flex:1;
}

.about-text h2{
font-size:2.5rem;
margin-bottom:20px;
color:#222;
}

.about-text p{
margin-bottom:20px;
line-height:1.6;
color:#555;
}

.about-image{
flex:1;
}

.about-image img{
width:100%;
border-radius:10px;
object-fit:cover;
}

@media (max-width:768px){

.about-container{
flex-direction:column;
text-align:center;
}

.about-text h2{
font-size:2rem;
}

}

section{
margin:40px 0;
padding:80px 10%;
border-radius:15px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}


/* MENU */

.menu{
  padding:100px 10%;
  background:#fff8f0; /* crema suave */
  border-radius:10px;
  box-shadow:0 6px 15px rgba(0,0,0,0.05);
  margin:40px 0;
}

.menu-container{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap; /* para que en móvil se apilen */
  max-width: 1200px;
  margin: auto;
}

.menu h2{
text-align:center;
font-size:2.5rem;
margin-bottom:60px;
}

.menu-category{
margin-bottom:50px;
}

.menu-category h3{
font-size:1.6rem;
margin-bottom:20px;
color:#c59d5f;
}

.menu-item{
display:flex;
justify-content:space-between;
padding:12px 0;
border-bottom:1px solid #eee;
font-size:1.1rem;
}

@media (max-width:768px){

.menu h2{
font-size:2rem;
}

.menu-item{
font-size:1rem;
}

}

/* NUEVO: Carta con fotos a la izquierda */
.menu-content{
display:flex;
gap:40px;
align-items:flex-start;
flex-wrap : wrap;
}

.menu-images{
  flex: 1 1 35%; /* ancho aproximado */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.menu-images img{
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.menu-list{
  flex: 1 1 60%; /* ancho aproximado */
}

@media (max-width:768px){

.menu-content{
flex-direction:column;
}

.menu-images{
flex-direction:row;
overflow-x:auto;
}

.menu-images img{
width:200px;
flex-shrink:0;
}
}

.menu-img{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.menu-img img{
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.menu-img:hover img{
  transform: scale(1.05); /* zoom suave */
}

.overlay-text{
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: bold;
  font-size: 1rem;
}

.menu-img:hover .overlay-text{
  opacity: 1;
}

/* RESERVAS */

.reservas{
padding:100px 10%;
background:#f9f9f9;
margin:40px 0;
border-radius:10px;
}

.reservas-container{
max-width:800px;
margin:auto;
text-align:center;
}

.reservas h2{
font-size:2.5rem;
margin-bottom:10px;
}

.reservas-subtitle{
margin-bottom:40px;
color:#666;
}

.reservas-form{
display:flex;
flex-direction:column;
gap:20px;
}

.form-group input,
.form-group textarea,
.form-group select{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:5px;
font-size:1rem;
}

.form-group textarea{
resize:none;
height:120px;
}

.form-row{
display:flex;
gap:20px;
}

.btn-reserva{
background:#c59d5f;
color:white;
padding:14px;
border:none;
border-radius:5px;
font-size:1rem;
cursor:pointer;
transition:0.3s;
}

.btn-reserva:hover{
background:#a8844e;
}

@media (max-width:768px){

.form-row{
flex-direction:column;
}

.reservas h2{
font-size:2rem;
}

}

/* CONTACTO */

.contacto{
padding:100px 10%;
background:white;
margin:40px 0;
}

.contacto-container{
max-width:1000px;
margin:auto;
text-align:center;
}

.contacto h2{
font-size:2.5rem;
margin-bottom:50px;
}

.contacto-info{
display:flex;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
}

.contacto-item{
flex:1 1 200px;
}

.contacto-item h3{
color:#c59d5f;
margin-bottom:10px;
}

.contacto-item p{
color:#555;
line-height:1.6;
}

@media (max-width:768px){

.contacto h2{
font-size:2rem;
}

.contacto-info{
flex-direction:column;
gap:30px;
}

}

/* MAPA */

.mapa{
margin:40px 0;
}

.mapa-container{
max-width:1200px;
margin:auto;
border-radius:10px;
overflow:hidden;
box-shadow:0 6px 15px rgba(0,0,0,0.1);
}

/* FOOTER */

.footer{
background:#222;
color:white;
padding:60px 10% 20px 10%;
}

.footer-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
}

.footer-logo h3{
color:#c59d5f;
margin-bottom:10px;
}

.footer-links ul{
list-style:none;
}

.footer-links li{
margin-bottom:8px;
}

.footer-links a{
color:white;
text-decoration:none;
transition:0.3s;
}

.footer-links a:hover{
color:#c59d5f;
}

.footer-contact p{
margin-bottom:6px;
}

.footer-bottom{
text-align:center;
margin-top:40px;
border-top:1px solid #444;
padding-top:20px;
font-size:0.9rem;
color:#aaa;
}

@media (max-width:768px){

.footer-container{
flex-direction:column;
text-align:center;
}

}