:root {
  --primary-dark: #233731;
  --secondary-dark: #131e1b;
  --light-bg: #ffffff;
  --text-dark: #000000;
  --accent-gold: #c8a97e;
  --button-primary: #233731; /* Color solicitado para botones */
  --button-hover: #1a2c26;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

/* ===== SECCIÓN RESTAURANT - GENERAL ===== */
.restaurant-section {
  padding: 5rem 0;
  position: relative;
  padding-top: 3rem;
}

.restaurant-body{
  padding-bottom: 0rem;
}

.header-rest-izq {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  color: var(--primary-dark);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background-color: var(--accent-gold);
}

/* ===== SUBSECCIÓN 1 - BANNER ESTÁTICO ===== */
.restaurant-banner {
  position: relative;
  height: 550px; /* Entre 500-600px como solicitado */
  width: 100%;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto parallax */
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay oscuro sutil */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 3rem;
}

.restaurant-logo {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.restaurant-tagline {
  font-size: 1.3rem;
  max-width: 700px;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
}

/* ===== SUBSECCIÓN 2 - CONTENIDO 50/50 ===== */
.content-5050-section {
  width: 100%;
}

.content-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.content-text {
  padding-right: 1rem;
}

.content-title {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.content-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #555;
  text-align: justify;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botones con color #233731 y texto blanco como solicitado */
.btn-menu {
  background-color: var(--button-primary); /* #233731 */
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 5px 15px rgba(35, 55, 49, 0.2);
}

.btn-menu:hover {
  background-color: var(--button-hover);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(35, 55, 49, 0.3);
}

.btn-reserve {
  background-color: transparent;
  color: var(--button-primary);
  border: 2px solid var(--button-primary);
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-reserve:hover {
  background-color: var(--button-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(35, 55, 49, 0.2);
}

/* Carousel Styles */
.restaurant-carousel-container {
  height: 100%;
}

.restaurant-carousel {
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  height: 550px; /* Misma altura que la columna izquierda */
}

.restaurant-carousel .carousel-inner {
  height: 100%;
}

.restaurant-carousel .carousel-item {
  height: 100%;
}

.restaurant-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.restaurant-carousel:hover .carousel-control-prev,
.restaurant-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 25px;
}

.carousel-control-next {
  right: 25px;
}

.carousel-indicators {
  bottom: 25px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators button.active {
  background-color: white;
  transform: scale(1.2);
}

/* ===== SUBSECCIÓN 3 - GALERÍA DE PLATILLOS (MODIFICADA) ===== */
.gallery-section-rest {
}

.gallery-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
  gap: 1rem; /* REDUCIDO: Espacio entre imágenes reducido */
}

.dish-item {
  position: relative;
  height: 220px; /* AUMENTADO: Para formato portrait */
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-medium);
  cursor: pointer; /* Añadido para indicar que es clickable */
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* Asegura que la imagen se centre bien */
  transition: transform var(--transition-slow);
}

.dish-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 2rem;
  opacity: 0;
  transition: all var(--transition-medium);
  text-align: center;
}

.dish-name {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transform: translateY(20px);
  transition: transform var(--transition-medium);
}

.dish-description {
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-medium);
  max-width: 90%;
  line-height: 1.5;
}

/* Icono para indicar que se puede hacer clic */
.dish-item::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-medium);
  z-index: 2;
}

/* Hover Effects */
.dish-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dish-item:hover .dish-image {
  transform: scale(1.05);
}

.dish-item:hover .dish-overlay {
  opacity: 1;
}

.dish-item:hover .dish-name {
  transform: translateY(0);
}

.dish-item:hover .dish-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.dish-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Estilos para el modal de plato */
.dish-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.modal-dish-name {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.modal-dish-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #555;
}

.dish-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.dish-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.dish-detail-label {
  font-weight: 600;
  color: var(--primary-dark);
}

.dish-detail-value {
  color: #666;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-align: right;
  margin-top: 1rem;
}

.btn-order {
  background-color: var(--button-primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  transition: all var(--transition-medium);
  width: 100%;
  margin-top: 1.5rem;
}

.btn-order:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

.btn-extra-rest{
  text-decoration: none;
  max-width:245px
}
/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */
@media (max-width: 1200px) {
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets grandes */
    gap: 1rem; /* REDUCIDO */
  }

  .dish-item {
    height: 300px; /* Ajustado para mantener proporción portrait */
  }

  .btn-extra-rest{
  text-decoration: none;
  max-width:215px
}
}

@media (max-width: 992px) {
  .restaurant-section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 3rem;
  }

  .restaurant-banner {
    height: 500px;
    margin-bottom: 0rem;
  }

  .restaurant-logo {
    font-size: 4rem;
  }

  .restaurant-tagline {
    font-size: 1.2rem;
  }

  .content-5050-section {
    padding: 4rem 0;
  }

  .content-wrapper {
  }

  .content-text {
    padding-right: 0;
    text-align: center;
  }

  .content-title {
    font-size: 2.5rem;
  }

  .button-group {
    justify-content: center;
  }

  .restaurant-carousel {
    height: 450px;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    gap: 1rem; /* REDUCIDO */
  }

  .dish-item {
    height: 280px; /* Ajustado para mantener proporción portrait */
  }
}

@media (max-width: 768px) {
  .restaurant-section {
    padding: 0;
    padding-top: 0rem;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .restaurant-banner {
    height: 220px;
    margin-top: 80px;
  }

  .restaurant-logo {
    font-size: 3.2rem;
  }

  .restaurant-tagline {
    font-size: 1.1rem;
    padding: 0 1.5rem;
  }

  .content-5050-section {
    padding: 3rem 0;
  }

  .content-title {
    font-size: 2.2rem;
  }

  .content-description {
    font-size: 0.95rem;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-menu,
  .btn-reserve {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 1.1rem 2.5rem;
  }

  .restaurant-carousel {
    height: 400px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
    opacity: 0.8; /* Siempre visibles en móvil */
  }

  .carousel-control-prev {
    left: 15px;
    backdrop-filter: blur(0px);
    background-color: transparent;
    border: 0px solid transparent;
  }

  .carousel-control-next {
    right: 15px;
    backdrop-filter: blur(0px);
    background-color: transparent;
    border: 0px solid transparent;
  }


  .gallery-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .dish-item {
    height: 250px; /* Ajustado para mantener proporción portrait */
  }

  .modal-dish-name {
    font-size: 1.9rem;
  }

  .platillos-container {
    padding-bottom: 0px !important;
  }
}

@media (max-width: 576px) {
  .restaurant-body{
    padding-bottom: 0rem;
  }

  .header-rest-izq{
    margin-bottom: 0rem;
  }

  .restaurant-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .restaurant-logo {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .content-title {
    font-size: 1.9rem;
    margin-bottom: 0rem;
  }

  .restaurant-carousel {
    height: 350px;
  }

  .content-description {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }
  /* 1 columna en móviles como solicitado */
  .dishes-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    gap: 0.5rem; /* REDUCIDO */
  }

  .dish-item {
    height: 130px; /* Ajustado para mantener proporción portrait */
  }

  .dish-name {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .restaurant-banner {
    height: 200px;
  }

  .restaurant-logo {
    font-size: 2.5rem;
  }

  .restaurant-tagline {
    font-size: 1rem;
  }

  .btn-menu,
  .btn-reserve {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .dish-item {
    height: 150px; /* Ajustado para mantener proporción portrait */
  }
}

@media (max-width: 576px) {
  .button-group {
    gap: 10px;
  }
}
