/* ================================================= */
/* === Paleta de Colores y Variables Actualizada === */
/* ================================================= */
:root {
  /* Paleta: Inspirada en la tierra, la pasión y la sofisticación culinaria */
  --primary-color: #8B0000; /* Rojo Borgoña Profundo (Pasión, Platos Principales) */
  --secondary-color: #DAA520; /* Dorado Mostaza Oscuro (Elegancia, Acentos) */
  --accent-color: #A9A9A9; /* Gris Oscuro Suave (Para bordes sutiles y texto secundario) */

  --text-dark: #363636; /* Texto Oscuro Más Sofisticado */
  --text-light: #ffffff;
  --bg-light: #FBF7F1; /* Fondo muy claro, casi crema (Papel) */
  --bg-dark: #1C1C1C; /* Negro carbón para el Footer */

  --font-family-primary: 'Georgia', serif;
  --font-family-secondary: 'Arial', sans-serif;
}

/* ================================================= */
/* === Reseteo Básico y Estilos Generales === */
/* ================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  /* Suavizado de fuente para mejor lectura */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

/* ================================================= */
/* === Botones y CTAs (Añadiendo movimiento) === */
/* ================================================= */
.btn-cta {
  display: inline-block;
  padding: 12px 30px; 
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  font-weight: bold;
  border-radius: 30px; 
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; 
  text-transform: uppercase;
  letter-spacing: 1.5px; 
  border: 2px solid var(--primary-color); 
}

.btn-cta:hover {
  background-color: #6a0000; 
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4); 
}

.btn-cta.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color); 
  color: var(--secondary-color) !important;
  padding: 10px 28px;
}

.btn-cta.secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-dark) !important; 
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

/* ================================================= */
/* === Header (Añadiendo Sombra y Efecto Sticky) === */
/* ================================================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: var(--text-light);
  border-bottom: 1px solid var(--accent-color); 
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.logo a {
  font-size: 2em; 
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  letter-spacing: -1px;
}

.logo a span {
  color: var(--secondary-color);
}

.nav-links ul {
  display: flex;
  gap: 30px; 
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600; 
  padding: 5px 0;
  display: block;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 3px;
}

.cta-header {
  padding: 8px 20px;
  background-color: var(--secondary-color);
  color: var(--text-dark) !important; 
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.cta-header:hover {
  background-color: #c9981e; 
}

/* ================================================= */
/* === ESTILOS PARA DROPDOWN (MENÚ DESPLEGABLE) === */
/* ================================================= */
.dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px); 
  z-index: 1010;
  background-color: var(--text-light);
  min-width: 180px;
  padding: 0; 
  border: 1px solid var(--accent-color);
  border-top: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  opacity: 0; 
  pointer-events: none; 
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.active {
  display: block !important;
  opacity: 1; 
  transform: translateX(-50%) translateY(0); 
  pointer-events: auto; 
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 0.95em;
  font-weight: normal;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.dropdown.active > .dropdown-toggle {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 3px;
}

/* ================================================= */
/* === SECCIÓN HERO (Añadiendo Parallax Sutil) === */
/* ================================================= */
.hero-section {
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=800');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  min-height: 90vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.55); 
  padding: 60px 5%;
  width: 100%;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 900px;
  color: var(--text-light);
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: 4.5em; 
  margin-bottom: 20px;
  font-family: var(--font-family-primary);
  line-height: 1.1;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.6em;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
}

/* ================================================= */
/* === Sección Servicios (Mejorando la Interacción) === */
/* ================================================= */
.services-section {
  padding: 100px 5%; 
  background-color: var(--bg-light);
}

.services-section h2 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 60px;
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  font-weight: 700;
  position: relative;
}

.services-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.service-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 80px; 
  background-color: var(--text-light);
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* CORRECCIÓN: Altura fija para que todas las filas sean iguales */
  height: 450px;
}

.service-row:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-col.text-content {
  flex: 1;
  padding: 50px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Asegura que el logo no se deforme dentro del contenedor */
  align-items: flex-start;
}

.service-col.text-content h3 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: var(--font-family-primary);
}

.service-col.text-content p {
  margin-bottom: 30px;
  font-size: 1.15em;
  color: var(--text-dark);
}

.service-col.image-content {
  flex: 1;
  /* CORRECCIÓN: Forzamos altura completa del contenedor padre */
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--accent-color);
  transition: transform 0.5s ease;
}

/* CORRECCIÓN: Aseguramos que la imagen cubra todo el espacio sin deformarse */
.service-col.image-content img, 
.service-col.image-content {
  background-size: cover;
  background-position: center;
}

.service-row:hover .service-col.image-content {
    transform: scale(1.03);
}

/* ASIGNACIÓN DE IMÁGENES POR ID */
#service-steaks .image-content {
  background-image: url('brazzeiro1.png');
}

#service-pizza .image-content {
  background-image: url('pizzeiro1.png');
}

#service-cafe .image-content {
  background-image: url('cafeiro1.png');
}

/* ================================================= */
/* === Sección Refuerzo (Invertir para Contraste) === */
/* ================================================= */
.reinforce-section {
  background-color: var(--bg-dark); 
  color: var(--text-light);
  padding: 100px 5%; 
  text-align: center;
}

.reinforce-content h2 {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-family: var(--font-family-primary);
  color: var(--secondary-color); 
}

.reinforce-content p {
  font-size: 1.4em;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================= */
/* === Footer (Diseño oscuro, elegante) === */
/* ================================================= */
.main-footer {
  display: flex;
  justify-content: space-between;
  padding: 60px 5%; 
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 5px solid var(--primary-color); 
}

.footer-column {
  flex: 1;
  min-width: 200px; 
  padding: 0 20px;
}

.footer-column h4 {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-family: var(--font-family-primary);
  border-bottom: 1px solid rgba(218, 165, 32, 0.3); 
  padding-bottom: 5px;
}

.footer-column li,
.footer-column p {
  margin-bottom: 12px;
  font-size: 0.95em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column a {
  color: var(--text-light);
  opacity: 0.8;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-copy {
    width: 100%;
    text-align: center;
    padding: 15px 5%;
    background-color: #111;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
    margin-top: 20px;
}

/* ================================================= */
/* === Media Queries para Responsive Design (Ajustado) === */
/* ================================================= */

@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 4em;
  }
}

@media (max-width: 1024px) {
  .service-row {
      height: 400px; /* Reducimos altura para tablets */
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 15px 4%;
  }
  
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
      display: block;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .nav-links li {
      width: 100%;
      text-align: center;
  }
  
  .nav-links a {
      padding: 15px 0;
      border-bottom: 1px solid var(--bg-light);
  }

  .nav-links a:hover {
      border-bottom: none;
  }

  .cta-header {
      margin-top: 10px;
      margin-bottom: 10px;
      display: inline-block;
  }

  .dropdown-menu {
    left: 0;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border-left: none;
    border-right: none;
    top: 100%; 
    border-radius: 0;
    position: static; 
  }
  
  .dropdown-menu.active {
    transform: none; 
  }

  .hero-section {
    background-attachment: scroll;
    min-height: 60vh;
  }

  .hero-overlay {
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 2.8em;
  }

  .hero-content p {
      font-size: 1.3em;
  }

  .services-section {
      padding: 60px 4%;
  }

  .service-row {
    flex-direction: column;
    margin-bottom: 50px;
    height: auto; /* CORRECCIÓN: En móvil dejamos que la altura sea fluida */
  }

  .service-col.text-content {
    order: 2;
    padding: 30px;
  }

  .service-col.image-content {
    order: 1;
    min-height: 280px; 
    flex: none;
  }

  .reinforce-content h2 {
      font-size: 2.5em;
  }

  .main-footer {
    flex-direction: column;
    gap: 40px;
    padding: 50px 4%;
  }

  .footer-column {
    padding: 0;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .main-header {
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 15px 4%;
  }

  .logo a {
      font-size: 1.8em;
  }
  
  .nav-links ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
  }

  .hero-content h1 {
      font-size: 2.2em;
  }

  .hero-content p {
      font-size: 1.1em;
  }

  .service-col.image-content {
    min-height: 200px;
  }
}

/* ================================================= */
/* === BRAZZEIRO MENU — ESTILOS ESPECÍFICOS === */
/* ================================================= */

.menu-banner {
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.menu-banner-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.menu-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); 
}

.menu-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(139, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.menu-banner-text {
  font-family: var(--font-family-primary);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.menu-section {
  padding: 0 2rem var(--spacing-xl) 2rem;
  background-color: var(--bg-light);
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  border-bottom: 2px solid var(--accent-color); 
  padding-bottom: 1rem;
}

.menu-btn {
  font-family: var(--font-family-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--primary-color);
  border: none; 
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  border-bottom: 3px solid transparent;
}

.menu-btn:hover {
  color: var(--secondary-color);
  border-bottom: 3px solid var(--secondary-color);
}

.menu-btn.active {
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 700;
  border-bottom: 3px solid var(--primary-color); 
}

.menu-category-title {
  font-family: var(--font-family-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--accent-color);
}

.menu-section-description {
  text-align: center;
  font-family: var(--font-family-secondary);
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: var(--spacing-lg);
}

.menu-section-subtitle {
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: var(--spacing-md);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
  padding-bottom: 0.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.menu-item {
  margin-bottom: var(--spacing-md);
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--accent-color);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.25rem;
}

.menu-item-name {
  font-family: var(--font-family-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.menu-item-price {
  font-family: var(--font-family-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.menu-item-description {
  font-family: var(--font-family-secondary);
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.6;
}

/* ==================================== */
/* ESTILOS ESPECÍFICOS PARA EVENTOS.HTML */
/* ==================================== */

.events-hero-section {
  background-image: url('URL_DE_IMAGEN_DE_EVENTO_AQUÍ.jpg'); 
  background-size: cover;
  background-position: center;
  height: 90vh; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  text-align: center;
  color: white; 
}

.events-hero-overlay {
  background-color: rgba(0, 0, 0, 0.6); 
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.events-hero-content {
  max-width: 800px; 
  padding: 20px;
}

.events-hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.events-hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
}

.events-cta {
  background-color: #A00000; 
  color: white;
  padding: 15px 30px;
  font-size: 1.1em;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid #A00000;
  display: inline-block;
}

.events-cta:hover {
  background-color: #B81515; 
  border-color: #B81515;
}

/* ======================================= */
/* ESTILOS DE CONTACTO */
/* ======================================= */

.contact-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.contact-info,
.contact-map {
  flex: 1;
  min-width: 300px; 
}

.contact-info {
  padding-right: 20px;
}

.contact-title {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 3px solid #A00000; 
  display: inline-block;
  padding-bottom: 5px;
}

.contact-intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.contact-detail {
  margin-bottom: 25px;
}

.contact-label {
  font-size: 1.2em;
  color: #A00000; 
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-text {
  font-size: 1em;
  color: #666;
  line-height: 1.6;
}

.contact-text a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-text a:hover {
  color: #A00000;
}

.contact-send-mail {
  margin-top: 15px;
  background-color: #A00000;
  color: white;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.contact-send-mail:hover {
  background-color: #B81515;
}

.contact-map {
  height: 450px; 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  border-radius: 8px;
}

/* ======================================= */
/* SECCIÓN DE COTIZACIÓN DE EVENTOS */
/* ======================================= */

.event-quotation-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.quotation-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quotation-title {
  font-size: 2em;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.quotation-subtitle {
  text-align: center;
  font-size: 1.1em;
  color: #777;
  margin-bottom: 40px;
}

.quotation-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  width: 100%;
  margin-bottom: 10px;
}

.form-group.half-width {
  width: calc(50% - 10px); 
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

.quotation-form input[type="text"],
.quotation-form input[type="email"],
.quotation-form input[type="tel"],
.quotation-form input[type="date"],
.quotation-form input[type="number"],
.quotation-form select,
.quotation-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box; 
}

.quotation-form textarea {
  resize: vertical;
}

.quotation-submit {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #A00000; 
  color: white;
  font-size: 1.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quotation-submit:hover {
  background-color: #B81515;
}

/* ======================================= */
/* LOGOS Y AJUSTES FINALES */
/* ======================================= */

.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; 
  margin-top: 50px; 
  flex-wrap: wrap;
}

.hero-logos a {
  display: inline-block;
  text-decoration: none;
}

.logo-hero {
  height: 100px; 
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-hero:hover {
  opacity: 1;
  transform: scale(1.1); 
}