/* Reset de estilos para asegurar consistencia entre navegadores */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Uso de la tipografía Jost */
body {
  font-family: "Jost", sans-serif;
  background-color: #f0f0f0;
  color: #333;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 1000;
  color: white;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  margin-left: 10px;
}

.logo-text h1 {
  font-size: 1.5em;
  margin: 0;
}

.logo-text p {
  font-size: 0.8em;
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    color: white;
    font-size: 1.5em;
  }

  /* Asegúrate de que el navbar siempre esté visible */
  .navbar {
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Animación para el botón hamburguesa */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

.hero {
  height: 100vh;
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("../images/hero-image.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  padding: 0 5%;
}

.hero-content {
  max-width: 600px;
}

.hero h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero .highlight {
  font-size: 1.3em;
  font-weight: bold;
  color: #ff5722;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  background-color: #ff5722;
  display: inline-block;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 10px 0;
}

.btn-menu {
  background-color: #ff5722;
  color: #fff;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 10px 0;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

.btn-whatsapp i {
  margin-right: 8px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px 55px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal h2 {
  color: #25d366;
  margin-bottom: 20px;
  font-size: 20px;
}

.modal ol {
  margin-bottom: 20px;
}

.modal li {
  margin-bottom: 10px;
  color: #333;
}

.modal p {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px;
  border-radius: 5px;
  font-style: italic;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 10px 55px;
    width: 95%;
    margin: 10% auto;
  }
  .modal h2 {
    color: #25d366;
    margin-bottom: 20px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-content {
    padding-top: 80px; /* Add space for the navbar */
  }

  .hero h2 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero .highlight {
    font-size: 1.1em;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 350px;
    text-align: center;
  }
}

.menu-section {
  background-color: #f9e7d2;
  padding: 50px 20px;
  font-family: "Georgia", serif;
}

.menu-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff9e6;
  border: 2px solid #8b4513;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.menu-title {
  text-align: center;
  font-size: 2.5em;
  color: #8b4513;
  margin-bottom: 30px;
  border-bottom: 2px solid #8b4513;
  padding-bottom: 10px;
}

.menu-category {
  margin-bottom: 30px;
}

.menu-category h3 {
  font-size: 1.8em;
  color: #8b4513;
  margin-bottom: 15px;
  border-bottom: 1px dashed #8b4513;
  padding-bottom: 5px;
}

.menu-category ul {
  list-style-type: none;
  padding: 0;
}

.menu-category li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.item-name {
  color: #333;
}

.item-price {
  color: #8b4513;
  font-weight: bold;
}

@media (max-width: 768px) {
  .menu-container {
    padding: 20px;
  }

  .menu-title {
    font-size: 2em;
  }

  .menu-category h3 {
    font-size: 1.5em;
  }

  .menu-category li {
    font-size: 1em;
  }
}
.about-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
  }
  
  .about-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ff5722;
  }
  
  .about-text p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
  }
  
  .about-image-desktop,
  .about-image-mobile {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80")
        no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .about-logo {
    display: block;
    width: 50%;
    height: auto;
    fill: white;
  }
  
  .about-image-mobile {
    display: none;
  }
  
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column;
    }
  
    .about-image-desktop {
      display: none;
    }
  
    .about-image-mobile {
      display: block;
      height: 300px;
      margin-bottom: 30px;
    }
  
    .about-logo {
      width: 70%;
    }
  }
  
  @media (max-width: 480px) {
    .about-image-mobile {
      height: 250px;
    }
  
    .about-logo {
      width: 80%;
    }
  }


.team-section {
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-section h3 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #ff5722;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.team-member {
  flex-basis: calc(33.333% - 20px);
  min-width: 200px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 5px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-member h4 {
  font-size: 1.2em;
  margin-bottom: 5px;
  color: #333;
}

.team-member p {
  font-size: 0.9em;
  color: #666;
}

@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }

  .about-image {
    height: 300px;
  }

  .team-member {
    flex-basis: calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .team-member {
    flex-basis: 100%;
  }
}

.contact-section {
  padding: 80px 5%;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-form,
.contact-info {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.contact-info h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ff5722;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.form-group textarea {
  height: 150px;
}

.contact-info p {
  margin-bottom: 15px;
  color: #666;
}

.contact-info i {
  width: 20px;
  text-align: center;
}

.social-media {
  margin-top: 30px;
}

.social-media h4 {
  margin-bottom: 15px;
  color: #333;
}

/* Estilo actualizado para los iconos sociales */
.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #ff5722;
  color: white;
  border-radius: 50%;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon i {
  font-size: 1.2em;
}

.social-icon:hover {
  background-color: #e64a19;
  transform: scale(1.1);
}

/* Animación para iconos sociales */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.social-icon:hover {
  animation: pulse 0.5s ease infinite;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background-color: #333;
  color: #fff;
  padding: 60px 5% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #ff5722;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section ul {
  font-size: 0.9em;
  line-height: 1.6;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff5722;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #ff5722;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #e64a19;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8em;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Animaciones generales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Efectos hover para botones */
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Efecto hover para cards */
.menu-item,
.team-member,
.about-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover,
.team-member:hover,
.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Animación para iconos sociales */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.social-icon:hover {
  animation: pulse 0.5s ease infinite;
}

/* Efecto de subrayado para enlaces del navbar */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ff5722;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Efecto de zoom suave para imágenes */
.about-item img,
.menu-item img {
  transition: transform 0.3s ease;
}

.about-item:hover img,
.menu-item:hover img {
  transform: scale(1.05);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
