:root {
  --bg-color: #f8f4ed;
  --text-dark: #322621;
  --white: #ffffff;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.4;
  text-transform: uppercase;
}

/* Helpers */
.section-padding {
  padding: 60px 20px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
}

.logo-stroke {
  /* Esto simula un stroke blanco de 2px alrededor del PNG */
  filter: drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white)
    drop-shadow(0 2px 0 white) drop-shadow(0 -2px 0 white);
}

.content-block p,
.drinks-header p,
.eventos-page p {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn {
  display: inline-block;
  background-color: var(--text-dark);
  color: var(--bg-color);
  padding: 15px 30px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 40px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-image: url(./assets/cover.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
}

.hero-logo img {
  height: 200px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 100px);
  font-weight: 900;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .hero {
    align-items: flex-end;
    text-align: right;
    padding: 60px 80px;
  }

  .hero h1 {
    max-width: 70%;
  }
}

/* Generic Section Styling */
.content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content-block h2 {
  font-size: 50px;
}

/* Menu Page */
.menu-hero {
  height: 60vh;
  background-image: url(./assets/menu-comida.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
}

.menu-hero h1 {
  font-size: 60px;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.menu-content {
  max-width: 700px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 50px;
}

.menu-category h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(50, 38, 33, 0.15);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
}

.menu-note {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.7;
  text-align: center;
  margin-top: 10px;
}

.menu-back {
  display: block;
  text-align: center;
  margin: 0 auto 60px;
  width: fit-content;
}

/* Eventos Page */
.eventos-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.eventos-page h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.eventos-page p {
  max-width: 500px;
  margin-bottom: 40px;
}

/* Acerca Image */
.acerca-img {
  width: 100%;
  max-width: 600px;
  height: 450px;
  object-fit: cover;
}

/* Dishes Grid */
.dishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

@media (min-width: 768px) {
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
  }
}

.dish-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.dish-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 0;
  margin: 0;
  max-width: 100%;
  text-align: center;
}

/* Drinks Section */
.drinks-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .drinks-section {
    flex-direction: row;
    align-items: start;
    gap: 40px;
    text-align: left;
  }

  .drinks-header {
    flex: 0 0 250px;
    position: sticky;
    top: 60px;
  }

  .drinks-header p {
    text-align: left;
    margin-left: 0;
  }
}

.drinks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex: 1;
}

@media (min-width: 768px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.drink-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.drink-card img {
  width: 80%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.drink-card .dish-name {
  width: 80%;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--bg-color);
  padding: 60px 20px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 150px;
}

.footer-logo-img {
  width: auto;
  height: 120px;
  object-fit: contain;
}

.footer-copy {
  opacity: 0.5;
  font-size: 10px;
  margin: 0;
  text-align: left;
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-section {
  margin-bottom: 0;
}
.footer-section h4 {
  font-size: 12px;
  margin-bottom: 15px;
  opacity: 0.6;
}
.footer-section p,
.footer-section a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  margin: 5px 0;
  text-align: left;
  max-width: 100%;
}
