:root {
  --background: #eff5e3;
  --red: #b24b3e;
  --green: #317f71;
}

body {
  background-color: var(--background);
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
  padding: 0px;
  margin: 0px;
}

p {
  font-size: 18px;
  line-height: 35px;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0px;
  left: 0px;
  padding: 5px 20px;
  margin: 0px;
  background-color: var(--background);
  z-index: 100;
}

header .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
}

header img {
  height: 40px;
  height: 40px;
  margin-right: 5px;
}

header ul {
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding: 0px;
  margin: 0px;
  font-size: 18px;
}

header li {
  font-size: 16px;
  list-style: none;
}

header a,
header a:active,
header a:focus,
header a:visited {
  color: black;
  text-decoration: none;
}

header a:hover {
  color: var(--red);
}

header h1 {
  font-size: 20px;
}

section {
  padding: 40px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer {
  min-height: 200px;
  background-color: var(--red);
  color: var(--background);
}

footer {
  background-color: var(--red);
  color: var(--background);
  padding: 40px 20px 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: auto;
}

footer p {
  font-size: 14px;
}

footer .logo {
  flex: 1 1 100px;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .logo img {
  height: 40px;
  height: 40px;
  margin-right: 5px;
}

footer .logo h4 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

footer h5 {
  font-size: 16px;
}

footer .info,
footer .hours,
footer .location {
  flex: 1;
}

footer .info a,
footer .hours a,
footer .location a {
  color: var(--background);
  text-decoration: underline;
}

footer .info p,
footer .hours p,
footer .location p {
  opacity: 0.9;
}

#hero {
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-images {
  display: flex;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

.hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-container {
  flex: 1;
}

.see-menu-cta {
  background-color: var(--green);
  color: var(--background);
  padding: 8px 20px;
  font-size: 20px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s linear;
}
.see-menu-cta i {
  font-size: 16px;
  border-radius: 60px;
  margin-right: 10px;
}
.see-menu-cta:hover {
  background-color: var(--red);
}
.see-menu-cta,
.see-menu-cta:active,
.see-menu-cta:focus,
.see-menu-cta:visited {
  color: var(--background);
  text-decoration: none;
}

#hero h2 {
  font-size: 48px;
  color: var(--red);
  margin: 0px;
  margin-top: 20px;
  text-align: center;
}

.red {
  color: var(--red);
}

.green {
  color: var(--green);
}

.title-underline {
  font-weight: 700;
  font-size: 38px;
  text-decoration: underline var(--red);
  text-underline-offset: 10px;
  -webkit-text-decoration: underline var(--red);
  -webkit-text-underline-offset: 10px;
  color: var(--green);
  line-height: 55px;
}

.about {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about p {
  max-width: 1200px;
}

#specials {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--green);
  color: var(--background);
}

#specials h3 {
  width: 30vw;
  color: var(--background);
}

#specials ul {
  flex: 1;
  columns: 2;
}

#specials li {
  margin-bottom: 25px;
  font-size: 20px;
  text-decoration-color: var(--red);
  list-style-image: url("../images/cuchara-blanca.png");
  list-style-position: outside;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 40px 0px;
}

#gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
}

#contact {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

#contact h3 {
  margin-top: 0px;
}

#map {
  width: 50%;
  height: 350px;
  border-radius: 10px;
}

.contact-info {
  width: 45%;
  font-size: 16px;
}

.contact-info p,
.contact-info a {
  margin: 8px 0;
  color: #333;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--red);
  text-decoration: underline;
}

.contact-info i {
  margin-right: 8px;
  color: var(--red);
}

@media screen and (max-width: 1100px) {
  #specials {
    flex-direction: column;
  }
  #specials h3 {
    width: 100%;
    text-align: center;
  }

  footer p {
    font-size: 13px;
  }
}

@media screen and (max-width: 800px) {
  header h1 {
    font-size: 14px;
  }

  header li {
    font-size: 12px;
  }

  header img {
    height: 30px;
    height: 30px;
  }

  p {
    font-size: 16px;
  }

  .image-container {
    display: none;
  }
  .image-container.primary {
    display: flex;
  }
  #hero h2 {
    font-size: 30px;
    margin-top: 40px;
  }
  .see-menu-cta {
    font-size: 18px;
    border-radius: 60px;
  }
  #specials ul {
    columns: 1;
    align-items: center;
  }
  .title-underline {
    font-size: 24px;
  }
  footer .container {
    flex-direction: column;
  }

  #contact {
    flex-direction: column-reverse;
  }

  #contact .contact-info {
    width: 100%;
    text-align: center;
  }

  #map {
    width: 100%;
  }
}
