:root {
  --bg: #050609;
  --bg-alt: #10121a;
  --accent: #c2825c;
  --accent-soft: rgba(255, 75, 58, 0.1);
  --text: #f5f5f5;
  --muted: #a0a3b1;
  --border: #2a2d3a;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* RESET BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #20263a 0, #050609 55%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LAYOUT GENERICO */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 9, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

.logo-img {
  height: 48px;      /* Dimensione fissa elegante */
  width: 48px;       /* Mantiene proporzione quadrata */
  object-fit: cover; /* Ritaglia eventuali bordi bianchi */
  border-radius: 50%; /* Lo rende perfettamente tondo */
  display: block;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c2825c, rgb(255, 158, 94));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 25px #c2825c;
}

.logo-icon.small {
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
  box-shadow: 0 0 18px #c2825c;
}

.logo-text {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* NAV */

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 14px;
}

/* NAV MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

/* HERO */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #c2825c, rgb(255, 158, 94));
  color: #fff;
  box-shadow: 0 12px 24px #c2825c;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px #c2825c;
}

.btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-info p {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social a {
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* HERO IMG */

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #c2825c, #10121a);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* SEZIONI GENERICHE */

section {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  color: var(--muted);
}

/* STORY */

.story {
  background: radial-gradient(circle at top left, #c2825c, #050609);
}

.story p + p {
  margin-top: 0.8rem;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #151826;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gallery-placeholder {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* MAPS */

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 320px;
}

.google-page {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.google-page a {
  font-weight: 500;
}

/* NEWSLETTER */

.newsletter {
  background: linear-gradient(135deg, #10121a, #050609);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.newsletter p {
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.newsletter-form input[type="email"] {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 9, 0.9);
  color: var(--text);
  min-width: 230px;
}

.newsletter-form input::placeholder {
  color: #65687a;
}

/* FOOTER */

.footer {
  padding: 2rem 0 1.5rem;
  background: #050609;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.5rem;
}

.footer-social {
  list-style: none;
}

.footer-social li + li {
  margin-top: 0.3rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* PAGINA MENU */

.menu-page {
  padding-bottom: 2rem;
}

.menu-title{
  color: #ffffff;
  letter-spacing: 0.02em;
}

.menu-hero {
  padding: 3.5rem 0 2.5rem;
}

.menu-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.menu-hero p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.menu-section {
  padding-top: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.menu-column h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.menu-item-header span:first-child {
  font-weight: 500;
}

.price {
  color: var(--accent);
  font-weight: 600;
}

.menu-list p {
  color: var(--muted);
  font-size: 0.85rem;
}

.note-menu {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ANIMAZIONI SCROLL (reveal) */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Piccole varianti di delay per creare effetto "a cascata" */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset: 70px 0 auto;
    background: rgba(5, 6, 9, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    padding: 0.8rem 1.5rem 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }

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

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

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}