/* ============================================
   A TUTTO TONDO — Stylesheet
   ============================================ */

:root {
  --sea: #0284C7;
  --sea-light: #38BDF8;
  --sea-dark: #0C4A6E;
  --sand: #FEF3C7;
  --sand-dark: #D97706;
  --sunset: #F97316;
  --sunset-dark: #C2410C;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-main: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); margin-bottom: 0.6rem; }
p { margin-bottom: 1em; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

/* ---- Utilities ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-light { background: var(--gray-50); }
.section-sea { background: var(--sea-dark); color: var(--white); }
.section-sea h2, .section-sea h3, .section-sea p { color: var(--white); }
.section-sand { background: var(--sand); }
.text-center { text-align: center; }
.text-sea { color: var(--sea); }
.text-sunset { color: var(--sunset); }
.badge {
  display: inline-block;
  background: var(--sunset);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--sunset), var(--sea-light));
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}
.divider-left { margin-left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sunset), var(--sand-dark));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-sea {
  background: var(--sea);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2,132,199,0.35);
}
.btn-sea:hover { background: var(--sea-dark); transform: translateY(-2px); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(12, 74, 110, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  line-height: 1;
}
.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-img-footer {
  height: 64px;
  width: 64px;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--sea-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-link.active { color: var(--sea-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 3px 6px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  transition: var(--transition);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--sunset);
  color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--sea-dark);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
}
.mobile-nav .lang-switcher {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--sea-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12,74,110,0.82) 0%,
    rgba(12,74,110,0.55) 60%,
    rgba(249,115,22,0.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 68px;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sea-light);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.25rem;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  border-radius: 1px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--sea-dark);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,74,110,0.85) 0%, rgba(12,74,110,0.45) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 68px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .hero-subtitle { color: rgba(255,255,255,0.85); }

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sea);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: var(--transition);
}
.card-link:hover { color: var(--sunset); gap: 0.65rem; }

/* Feature list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--sunset);
}
.section-sea .feature-item { background: rgba(255,255,255,0.08); }
.feature-item strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.feature-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.feature-list-light .feature-item { background: var(--white); box-shadow: var(--shadow); border-left-color: var(--sea); }
.feature-list-light .feature-item strong { color: var(--gray-900); }
.feature-list-light .feature-item span { color: var(--gray-600); }

/* ============================================
   TWO-COL SPLIT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 420px; object-fit: cover; }

/* ============================================
   MENU PAGE
   ============================================ */
.menu-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.menu-nav-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--sea);
  background: transparent;
  color: var(--sea);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.menu-nav-btn:hover, .menu-nav-btn.active {
  background: var(--sea);
  color: var(--white);
}
.menu-section { display: none; }
.menu-section.active { display: block; }
.menu-section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sea-dark);
  margin-bottom: 0.5rem;
}
.menu-section-divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--sunset), var(--sea-light));
  border-radius: 2px;
  margin-bottom: 2rem;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.menu-table th {
  text-align: left;
  background: var(--sea-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.menu-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.menu-table tr:last-child td { border-bottom: none; }
.menu-table tr:nth-child(even) td { background: var(--gray-50); }
.price { font-weight: 700; color: var(--sunset-dark); white-space: nowrap; }
.menu-note {
  background: var(--sand);
  border-left: 4px solid var(--sunset);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}
.menu-note strong { color: var(--gray-900); }
.allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.allergen-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.allergen-num {
  background: var(--sea);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.wine-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.wine-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--sea-dark); margin-bottom: 0.3rem; }
.wine-desc { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0.75rem; line-height: 1.5; }
.wine-prices { display: flex; gap: 1rem; font-size: 0.88rem; }
.wine-price-item { display: flex; flex-direction: column; }
.wine-price-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-600); }
.wine-price-val { font-weight: 700; color: var(--sunset-dark); }

/* ============================================
   MAP / LOCATION
   ============================================ */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.location-info h3 { margin-bottom: 1rem; }
.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.info-text { flex: 1; }
.info-text a { color: var(--sea); font-weight: 600; }
.info-text a:hover { color: var(--sunset); }
.placeholder-badge {
  display: inline-block;
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 0.78rem;
  font-style: italic;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main { color: var(--white); font-size: 1.5rem; }
.footer-brand .logo-sub { color: var(--sea-light); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--sea-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   DISH GALLERY
   ============================================ */
.dish-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.dish-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}
.dish-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dish-item:hover img { transform: scale(1.08); }
.dish-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.dish-item:hover .dish-caption { transform: translateY(0); }

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
  background: linear-gradient(135deg, var(--sea-dark), var(--sea));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.intro-strip h2 { color: var(--white); }
.intro-strip p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse { direction: ltr; }
  .location-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .menu-nav { gap: 0.4rem; }
  .wine-grid { grid-template-columns: 1fr; }
  .menu-table { font-size: 0.88rem; }
  .menu-table td, .menu-table th { padding: 0.6rem 0.7rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .dish-gallery { grid-template-columns: 1fr 1fr; }
}
