/* App.css - Global Styles for Il Gusto */

.App {
  min-height: 100vh;
}

/* American Diner Retro Styling for Il Gusto */

/* Global Resets & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.home-container {
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 5px solid #DC2626;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 8px 16px;
  background: #DC2626;
  border: 3px solid #1a1a1a;
  box-shadow: 3px 3px 0 #000000;
}

.logo-text {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  text-align: center;
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav a {
  font-size: 16px;
  font-weight: 900;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  padding: 10px 20px;
  background: #ffffff;
  border: 3px solid #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 3px 3px 0 #DC2626;
}

.nav a:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #DC2626;
  background: #DC2626;
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  background-image: url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38');
  background-size: cover;
  background-position: center;
  margin-top: 90px;
  border-top: 12px solid #FFD700;
  border-bottom: 12px solid #FFD700;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #DC2626 0px,
    #DC2626 40px,
    #ffffff 40px,
    #ffffff 80px
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #DC2626 0px,
    #DC2626 40px,
    #ffffff 40px,
    #ffffff 80px
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.7) 0%, rgba(26, 26, 26, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 40px 24px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 
    4px 4px 0 #DC2626,
    8px 8px 0 #000000,
    0 0 40px rgba(220, 38, 38, 0.8),
    0 0 80px rgba(220, 38, 38, 0.4);
  font-weight: 900;
  line-height: 1;
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  color: #FFD700;
  margin-bottom: 32px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 
    2px 2px 0 #000000,
    0 0 20px rgba(255, 215, 0, 0.6);
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 16px 32px;
  background: #ffffff;
  border: 5px solid #000000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  display: inline-flex;
  transform: rotate(-1deg);
}

.stars {
  display: flex;
  gap: 6px;
}

.rating-text {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 22px 50px;
  background: #00CCBC;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  border: 5px solid #000000;
  transition: all 0.2s ease;
  box-shadow: 8px 8px 0 #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '★';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  animation: pulse 1.5s infinite;
}

.btn-primary:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 #000000;
  background: #00B3A6;
}

.btn-secondary {
  display: inline-block;
  padding: 22px 50px;
  background: #ffffff;
  color: #DC2626;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  border: 5px solid #000000;
  transition: all 0.2s ease;
  box-shadow: 8px 8px 0 #DC2626;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-secondary:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 #DC2626;
  background: #FFD700;
  color: #1a1a1a;
}

@keyframes pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.2); }
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title {
  font-size: clamp(38px, 6vw, 58px);
  color: #1a1a1a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  font-weight: 900;
  text-shadow: 
    4px 4px 0 #DC2626,
    6px 6px 0 #FFD700;
  padding: 20px 40px;
  background: #ffffff;
  border: 6px solid #1a1a1a;
  transform: rotate(-1deg);
}

.section-title::before {
  content: '★';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  font-size: 40px;
  color: #DC2626;
}

.section-title::after {
  content: '★';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  font-size: 40px;
  color: #DC2626;
}

.section-subtitle {
  font-size: 20px;
  color: #666;
  font-weight: 900;
  margin-top: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Menu Section */
.menu-section {
  padding: 100px 0;
  background: repeating-linear-gradient(
    45deg,
    #ffffff 0px,
    #ffffff 40px,
    #f9f9f9 40px,
    #f9f9f9 80px
  );
  border-top: 12px solid #DC2626;
  border-bottom: 12px solid #DC2626;
  position: relative;
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 30px,
    #ffffff 30px,
    #ffffff 60px
  );
}

.menu-section::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 30px,
    #ffffff 30px,
    #ffffff 60px
  );
}

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

.category-title {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 20px 40px;
  background: #DC2626;
  border: 6px solid #000000;
  box-shadow: 8px 8px 0 #000000;
  display: inline-block;
  font-weight: 900;
  transform: rotate(-1deg);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.menu-card {
  background: #ffffff;
  border: 6px solid #000000;
  overflow: hidden;
  box-shadow: 10px 10px 0 #DC2626;
  transition: all 0.3s ease;
  position: relative;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 15px,
    #DC2626 15px,
    #DC2626 30px
  );
  z-index: 10;
}

.menu-card:hover {
  transform: translate(5px, 5px);
  box-shadow: 5px 5px 0 #DC2626;
}

.menu-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  border-bottom: 6px solid #000000;
}

.menu-card-image::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #DC2626 0px,
    #DC2626 12px,
    #ffffff 12px,
    #ffffff 24px
  );
  z-index: 10;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.15);
}

.menu-card-content {
  padding: 28px;
  background: #ffffff;
}

.menu-item-name {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-item-price {
  font-size: 32px;
  color: #DC2626;
  font-weight: 900;
  text-shadow: 2px 2px 0 #FFD700;
  letter-spacing: 1px;
}

/* Deliveroo Section */
.deliveroo-section {
  padding: 100px 0;
  background: #DC2626;
  position: relative;
  overflow: hidden;
  border-top: 12px solid #FFD700;
  border-bottom: 12px solid #FFD700;
}

.deliveroo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 100px,
    rgba(255, 255, 255, 0.05) 100px,
    rgba(255, 255, 255, 0.05) 200px
  );
}

.deliveroo-section::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #000000 0px,
    #000000 30px,
    #ffffff 30px,
    #ffffff 60px
  );
  z-index: 1;
}

.deliveroo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.deliveroo-text {
  color: #ffffff;
}

.deliveroo-title {
  font-size: clamp(42px, 6vw, 62px);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 900;
  text-shadow: 
    4px 4px 0 #000000,
    0 0 40px rgba(255, 215, 0, 0.5);
  line-height: 1.1;
}

.deliveroo-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.btn-deliveroo {
  display: inline-block;
  padding: 24px 56px;
  background: #00CCBC;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  border: 6px solid #000000;
  transition: all 0.2s ease;
  box-shadow: 10px 10px 0 #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.btn-deliveroo::before {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 900;
}

.btn-deliveroo:hover {
  transform: translate(5px, 5px);
  box-shadow: 5px 5px 0 #000000;
  background: #FFD700;
  color: #1a1a1a;
}

.deliveroo-image {
  border: 8px solid #000000;
  overflow: hidden;
  box-shadow: 12px 12px 0 #FFD700;
  position: relative;
}

.deliveroo-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 20px,
    #000000 20px,
    #000000 40px
  );
  z-index: 10;
}

.deliveroo-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

/* Reviews Section */
.reviews-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 80px,
    rgba(220, 38, 38, 0.02) 80px,
    rgba(220, 38, 38, 0.02) 160px
  );
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.review-card {
  background: #FFD700;
  padding: 36px;
  border: 6px solid #000000;
  box-shadow: 8px 8px 0 #DC2626;
  transition: all 0.3s ease;
  position: relative;
  transform: rotate(0deg);
}

.review-card:nth-child(2) {
  transform: rotate(1deg);
}

.review-card:nth-child(3) {
  transform: rotate(-1deg);
}

.review-card:hover {
  transform: rotate(0deg) translate(4px, 4px);
  box-shadow: 4px 4px 0 #DC2626;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: #DC2626;
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 700;
  font-style: normal;
}

.review-author {
  font-size: 16px;
  font-weight: 900;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: repeating-linear-gradient(
    -45deg,
    #f9f9f9 0px,
    #f9f9f9 40px,
    #ffffff 40px,
    #ffffff 80px
  );
  border-top: 12px solid #DC2626;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: #ffffff;
  border: 5px solid #000000;
  box-shadow: 6px 6px 0 #DC2626;
  position: relative;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    #FFD700 0px,
    #FFD700 15px,
    #DC2626 15px,
    #DC2626 30px
  );
}

.contact-icon {
  width: 40px;
  height: 40px;
  color: #DC2626;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 #FFD700);
}

.contact-item h4 {
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  font-weight: 700;
}

.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.contact-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.2s ease;
  font-size: 15px;
  padding: 10px 20px;
  background: #DC2626;
  border: 3px solid #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 3px 3px 0 #000000;
}

.contact-links a:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000000;
  background: #FFD700;
  color: #1a1a1a;
}

.contact-map {
  border: 8px solid #000000;
  overflow: hidden;
  height: 450px;
  box-shadow: 10px 10px 0 #DC2626;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 70px 0 40px;
  border-top: 16px solid #DC2626;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 30px,
    #1a1a1a 30px,
    #1a1a1a 60px
  );
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding: 40px;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 50px,
    rgba(220, 38, 38, 0.1) 50px,
    rgba(220, 38, 38, 0.1) 100px
  );
  border: 4px solid #DC2626;
}

.footer-brand h3 {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 
    3px 3px 0 #DC2626,
    5px 5px 0 rgba(0, 0, 0, 0.5);
}

.footer-brand p {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.2s ease;
  font-size: 16px;
  padding: 12px 24px;
  background: #DC2626;
  border: 3px solid #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.footer-links a:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  background: #FFD700;
  color: #1a1a1a;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 3px solid #DC2626;
}

.footer-bottom p {
  font-size: 14px;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 70px;
  height: 70px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  color: #ffffff;
  border: 5px solid #000000;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 0 0 12px rgba(37, 211, 102, 0.4);
  background: #1ebe57;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    gap: 16px;
    border-bottom: 8px solid #DC2626;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
    padding: 12px;
    background: #DC2626;
    border: 3px solid #000000;
    color: #ffffff;
  }

  .hero {
    height: 80vh;
    min-height: 500px;
    margin-top: 90px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 20px 30px;
  }

  .section-title {
    font-size: 32px;
    padding: 16px 24px;
  }

  .section-title::before,
  .section-title::after {
    display: none;
  }

  .category-title {
    font-size: 28px;
    padding: 16px 24px;
  }

  .deliveroo-content {
    grid-template-columns: 1fr;
  }

  .deliveroo-image {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .footer-links a {
    width: 100%;
    text-align: center;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .logo {
    transform: rotate(0deg);
    padding: 6px 12px;
  }

  .logo-text {
    font-size: 24px;
  }
}
/* Mobile first adjustments */
@media (max-width: 900px) {
  /* Layout container */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header */
  .header {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .header-inner {
    gap: 12px;
    padding: 10px 0;
  }

  /* Logo */
  .logo {
    transform: scale(0.9);
    transform-origin: left center;
  }

  /* Nav buttons row */
  .nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 44px; /* tap target */
  }

  /* Big title sections */
  .section-title {
    font-size: clamp(28px, 7vw, 44px);
    padding: 14px 16px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 6px;
    text-align: center;
  }

  /* Category banner like "PIZZA AL TAGLIO" */
  .category-title {
    width: fit-content;
    max-width: 100%;
    font-size: clamp(20px, 5vw, 32px);
    padding: 12px 16px;
    margin: 22px auto 14px;
  }

  /* Menu cards grid */
  .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-card {
    width: 100%;
  }

  .menu-card-image {
    height: 180px; /* crop consistent */
  }

  .menu-card-content {
    padding: 14px 14px 16px;
  }

  .menu-card-title {
    font-size: 16px;
  }

  .menu-card-price {
    font-size: 18px;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* WhatsApp floating button */
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    transform: scale(0.92);
  }
}

@media (max-width: 420px) {
  .nav a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .menu-card-image {
    height: 160px;
  }
}
/* Mobile: nav sempre visibile (2 righe), zero casino */
@media (max-width: 900px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header sticky e compatto */
  .header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(6px);
  }

  /* La riga interna deve poter andare a capo */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  /* Logo un filo più piccolo, non rubare spazio */
  .logo {
    transform: scale(0.9);
    transform-origin: left center;
  }

  /* NAV sempre visibile, va su 2 righe se serve */
  .nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    margin-left: auto;
  }

  /* Bottoni tap-friendly */
  .nav a {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* Titoli sezioni più fluidi */
  .section-title {
    font-size: clamp(26px, 7vw, 44px);
    padding: 12px 14px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    padding: 0 6px;
  }

  /* Category banner */
  .category-title {
    max-width: 100%;
    width: fit-content;
    font-size: clamp(18px, 5.2vw, 30px);
    padding: 10px 14px;
    margin: 20px auto 12px;
    text-align: center;
  }

  /* Menu in colonna */
  .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-card-image {
    height: 170px;
  }

  .menu-card-content {
    padding: 14px 14px 16px;
  }

  /* Recensioni e contatti */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* WhatsApp non deve coprire troppo */
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    transform: scale(0.92);
  }
}

/* Super mobile: forziamo i bottoni a stare bene su due righe */
@media (max-width: 480px) {
  .logo {
    transform: scale(0.85);
  }

  /* Qui li rendiamo 2 per riga, sempre leggibili */
  .nav a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .menu-card-image {
    height: 155px;
  }
}
/* Fix: niente hamburger su mobile, nav sempre visibile */
@media (max-width: 900px) {
  .nav-toggle,
  .mobile-menu-toggle,
  .hamburger,
  #navToggle {
    display: none !important;
  }

  .nav {
    display: flex !important;
  }
}
@media (max-width: 900px) {
  .nav a {
    display: inline-flex !important;
  }
}

/* Override finale: disattiva completamente il drawer mobile della nav */
@media (max-width: 768px) {
  .nav {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    transition: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding: 0 !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .nav.open {
    transform: none !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  .nav a {
    width: auto !important;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}
.nav a,
.btn,
.menu-card {
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.nav a:active,
.btn:active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0px #000;
}
@media (hover: none) {
  .nav a:hover,
  .btn:hover,
  .menu-card:hover {
    transform: none;
  }
}