/* 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;
 
}
      
html{
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* para que el sticky nav no tape títulos */
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.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{
  position: fixed;   /* overlay sobre el video */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent; /* sin blanco */
  box-shadow: none;
  z-index: 1000;
}


.nav-container{
  position: relative;   /* antes lo tenías fixed */
  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%;
    
}

/* ====== Sección Menú de medio día ====== */
.menuDia {
  background: #000;                 /* fondo negro como en la captura */
  padding: 4rem 0;                  /* respiración vertical */
  border-top: 8px solid #cd212a;    /* franja superior roja */
}

.menuDia .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* texto+galería a la izq / video a la der */
  gap: 2rem;
  align-items: start;
}

/* Columna izquierda */
.menuDia .about-content {
  text-align: center;
}

.menuDia .section-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.2rem); /* grande, responsivo */
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.menuDia .about-main-text {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  margin: 0 auto 1.25rem;
  max-width: 640px;
  background: rgba(0,0,0,.5);
  border-radius: 28px;
  padding: 1.25rem 1.5rem;
}

.menuDia .brand-highlight {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  color: #10853e;                   /* verde Italia */
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

/* Galería a la izquierda */
.menuDia .gallery-menuDia {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.menuDia .gallery-slider {
  display: flex;
  width: 100%;
  animation: slideDia 25s infinite;
}

.menuDia .gallery-slider img {
  width: 100%;
  height: 320px;        /* parecido a la captura */
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 20px;
}

/* Animación del carrusel */
@keyframes slideDia {
  0%, 16%    { transform: translateX(0); }
  20%, 36%   { transform: translateX(-100%); }
  40%, 56%   { transform: translateX(-200%); }
  60%, 76%   { transform: translateX(-300%); }
  80%, 100%  { transform: translateX(-400%); }
}

@keyframes scrollLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* mitad del total (porque duplicamos las imágenes) */
}

/* Columna derecha: video */
.menuDia .video-menuDia {
  position: relative;
}

.menuDia .video-menuDia video {
  width: 100%;
  height: auto;
  border: 4px solid #000;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: block;
}


.desktop-menu {
  display: flex; 
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--white);
  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; 
  will-change: transform;
  transform: translateZ(0);
}

.gallery-slider{
  will-change: transform;
}

.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;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* 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;
  -webkit-tap-highlight-color: transparent;
}

.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%);
}

.social-link img{
  display: block;
}

/* 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;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.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);
}

.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  padding: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* Accesibilidad: foco visible para teclado */
.nav-link:focus-visible,
.mobile-btn:focus-visible,
.mobile-nav-link:focus-visible,
.btn:focus-visible,
.social-link:focus-visible {
  outline: 3px solid var(--italian-gold);
  outline-offset: 3px;
  border-radius: 10px;
}

/* 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; }

  .menu-item{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-item-name{ text-align: center; }

  .hero-description { font-size: 1.125rem; }
}

@media (max-width: 767px) {
  .menu-card {
    width: 100%;
    max-width: 100%;
  }

  .menu-item-content {
    margin-left: 0;
  }

  .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);
  }

}

@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}



