/* CSS Variables */
:root {
  --header-background: 205, 33, 42;
  --italian-red: #CD212A;
  --italian-green: hsl(138, 30.6%, 19.6%);
  --italian-gold: hsl(51, 100%, 50%);
  --cream: hsl(43, 33.3%, 96.5%); 
  --warm-orange: hsl(12, 100%, 64.3%);
  --dark-green: hsl(145, 47.8%, 19.4%);
  --white: hsl(0, 0%, 100%);
  --gray-100: hsl(0, 0%, 98%);
  --gray-200: hsl(0, 0%, 95%);
  --gray-300: hsl(0, 0%, 85%);
  --gray-600: hsl(0, 0%, 45%);
  --gray-700: hsl(0, 0%, 35%);
  --gray-800: hsl(0, 0%, 25%);
  --black: hsl(0, 0%, 0%);
}

/** heider styles **/


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}
      


body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* Typography */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-dancing {
  font-family: 'Dancing Script', cursive;
}

/* Utility Classes */
.hidden {
  display: none;
}

/* Navigation */
.navigation {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky; /* Mantiene la navegación en la parte superior */
  top: 0;
  z-index: 1000;
}

.nav-container {
  
      position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent;
}

.nav-content {
  display: flex;
  justify-content: space-between; /* Espacio entre elementos */
  align-items: center;
  height: 90px;
      max-width: 1000px;
    margin: 0 auto;
}

.logo-img img {
  margin: 0;
  padding: 14.5px;
  font-size: 2rem;
  width: 100px; /* o el tamaño que prefieras */
  display: block;
  align-self: flex-start;
  height: 100px; /* Ajusta la altura según sea necesario */
      border-radius: 50%;
}

.desktop-menu {
  display: flex; 
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #868383;

}

.mobile-menu-toggle {
  display: none; 
}

.mobile-btn {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-section img{
  border-radius: 35%;
}
.mobile-nav-link {
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem;
  text-align: left;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--italian-red);
  background: var(--gray-100);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Ocupa toda la altura visible */
  overflow: hidden;

}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
 
  background-size: cover;
  background-position: center;
}
.background-video {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 70px;
  color: #000;
  display: block;
      background-color: rgb(221 221 221 / 50%);
    border-radius: 50px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--italian-red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: hsl(0, 100%, 20%);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--gray-800);
}

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
/** aqui cambie el color y tipografia */
.section-title {
     color: #ffffff;
    font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--white);
  max-width: 32rem;
  margin: 0 auto;
      font-weight: bold;
}

/* Menu Section */
.menu-section {
  background: var(--black);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.menu-card {
  background: var(--cream);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #008c45;
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-300);
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-content {
  flex: 1;
  margin-left: 20px;
}

.menu-item-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.menu-item-description {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.menu-item-price {
  font-weight: 700;
  color: var(--italian-red);
  font-size: 1.125rem;

}

.featured-image {
  text-align: center;
}

.featured-pizza-img {
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
}

/* About Section */
.about-section {
  padding: 6rem 0;
   background-image: url('img/napoles.jpg');
   background-repeat: no-repeat;            /* Evita que se repita */
  background-size: cover;                  /* Ajusta la imagen para cubrir todo */
  background-position: center center;
   border-top: #fff solid 3px;
}

.about-section .section-title {
      color: hsl(180deg 14.29% 97.25%);
      text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
   text-shadow: 1px 1px 5px #000000; /* añade esto para que la letras sobresalen att kevin */ 
      
}

.about-main-text {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #ffffff;
    font-family: 'Lato', sans-serif;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 50px;
    text-align: center;
  padding: 1.5rem;
}

.brand-highlight {
  font-family: 'Dancing Script', cursive;
  color: #10853e;
  font-size: 40px;
    font-weight: bold;
}


.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--italian-gold);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.75;
}

.about-image {
  position: relative;
}

.about-img {
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 78, 74, 0.2), transparent);
  border-radius: 0.75rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: #000;
  border-top: 3px solid #fff
}

.contact-info-center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  text-align: left;
     
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--italian-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--white);
}

.contact-item-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(0deg 0% 100%)

}

.contact-item-text {
  color: hsl(0deg 0% 100%);
}

.social-media {
  margin-top: 2rem;
}

.social-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: hsl(0deg 0% 100%);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: hsl(0, 100%, 20%);
}


/* mapa de la pizzeria */
/* Responsive Google Maps iframe */
.wrapper {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
      text-align: center;
          color: #fff;
}

.wrapper iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  background: #eee;
}

/* Para navegadores que no soportan aspect-ratio */
@media (max-width: 600px) {
  .wrapper iframe {
    min-height: 220px;
    border-radius: 0.7rem;
  }
}


/* Footer */
.footer {
      background: hsl(0, 0%, 100%);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.875rem;
  color: #000;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  color: var(--italian-gold);
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  font-size: 1rem;
}

.footer-link:hover {
  color: var(--italian-gold);
}

.footer-contact {
  color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(19, 78, 74, 0.3);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  color: rgba(0, 0, 0, 0.6);
}



/* Responsive Design */
@media (min-width: 640px) {
.nav-content {
  height: 100px;
}

  .hero-buttons {
    flex-direction: row;
  }
  
  .contact-items {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  @media (max-width: 767px) {
  .menu-card {
    width: 100%;
    max-width: 100%;
  }
  .menu-item-content {
    margin-left: 0; /* ya que en móvil apilas en columna */
  }
}

  .menu-item {
    flex-direction: column;
        align-items: center;
        text-align: center;
  }
  .menu-item-name{
    text-align: center;
  }

  .hero-description {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}



