:root {
  --night: #080c14;
  --deep: #0d1525;
  --blue-dark: #0a1628;
  --blue-glow: #1a2846;
  --azure: #52809b;
  --gold: #b9931c;
  --cream: #f5ede0;
  --white: #ffffff;
  --text-muted: rgba(245, 237, 224, 0.5);
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--night);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(to bottom, rgba(8, 12, 20, 0.9) 0%, transparent 100%);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  cursor: none;
}

.nav-logo span {
  color: var(--azure);
}

.nav-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: 5rem;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  cursor: none;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-links a:not(.btn) {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s;
}

.nav-links a:not(.btn):hover {
  border-bottom-color: var(--gold);
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(245, 237, 224, 0.2);
  border-radius: 2px;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  opacity: 0.6;
  padding: 0.3rem 0.6rem;
  transition: opacity 0.3s, border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}

.lang-toggle:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--gold);
}

/* Link visibili solo nell'overlay mobile */
.mobile-only {
  display: none;
}

/* Hamburger toggle (mobile only, stile del bottone lingua) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.4rem;
  height: 2.1rem;
  padding: 0 0.5rem;
  background: none;
  border: 1px solid rgba(245, 237, 224, 0.2);
  border-radius: 2px;
  cursor: none;
  opacity: 0.7;
  transition: opacity 0.3s, border-color 0.3s;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.nav-toggle:hover {
  opacity: 1;
  border-color: var(--gold);
}

.nav-toggle:hover span {
  background: var(--gold);
}

/* Stato aperto: le barre diventano una X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 9rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26, 64, 128, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(42, 127, 203, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(10, 22, 40, 0.8) 0%, transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--blue-dark) 40%, var(--deep) 100%);
}

/* Stars */
.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: var(--min-op, 0.2);
    transform: scale(1);
  }

  50% {
    opacity: var(--max-op, 0.9);
    transform: scale(1.3);
  }
}

/* Mountain silhouette */
.mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
}

.mountain svg {
  width: 100%;
  height: 100%;
}


.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  text-align: center;
  animation: heroReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: heroReveal 1.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--white);
  animation: heroReveal 1.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title em {
  font-style: italic;
  color: var(--azure);
}

.hero-title img {
  display: block;
  margin: 0 auto;
  width: clamp(12rem, 30vw, 28rem);
  height: auto;
  transition: transform 0.4s ease;
}

.hero-title img:hover {
  transform: scale(1.01);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--azure);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  animation: heroReveal 1.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-cta {
  margin-top: 3.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: heroReveal 1.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--night);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 237, 224, 0.3);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}


/* SECTIONS */
section {
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* MANIFESTO */
.manifesto {
  position: relative;
  overflow: hidden;
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.manifesto-text .label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.manifesto-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.manifesto-text h2 em {
  font-style: italic;
  color: var(--azure);
}

.manifesto-text p {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--text-muted);
  max-width: 400px;
}

.manifesto-visual {
  position: relative;
}

.manifesto-img-wrap {
  position: relative;
  overflow: hidden;
}

.manifesto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.8);
  transition: all 0.8s ease;
}

.manifesto-img-wrap:hover img {
  filter: saturate(0.9) brightness(0.9);
  transform: scale(1.03);
}

.manifesto-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--night) 0%, transparent 50%);
}

/* MENU */
.menu-section {
  background: var(--blue-glow);
  position: relative;
  overflow: hidden;
}

.menu-header {
  text-align: center;
  margin-bottom: 5rem;
}

.menu-header .label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.menu-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.menu-header h2 em {
  font-style: italic;
  color: var(--azure);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.menu-tab {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  cursor: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  margin-bottom: -1px;
}

.menu-tab.active,
.menu-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: transparent;
}

.menu-item {
  background: var(--blue-glow);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.menu-item:hover::before {
  height: 100%;
}

.menu-item:hover {
  background: rgba(150, 180, 225, 0.05);
}

.item-watermark {
  position: absolute;
  bottom: -30px;
  right: -50px;
  opacity: 0.05;
  color: var(--gold);
  pointer-events: none;
  line-height: 0.8;
}

.item-watermark i {
  font-size: 18rem;
  display: block;
}

.item-symbol {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.item-symbol i {
  font-size: 3.5rem;
  color: var(--gold);
}

.menu-item:hover .item-symbol {
  opacity: 0.65;
  transform: scale(1.1);
}

.symbol-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: var(--gold);
}

.item-sign {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.8rem;
  color: var(--cream);
}

.item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.item-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ingredient {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--gold);
}

/* GALLERY */
.gallery-section {
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 400px 400px;
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--blue-glow);
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.8);
  transition: all 0.8s ease;
}

.gallery-item:hover img {
  filter: saturate(0.9) brightness(0.9);
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
}

/* ATMOSPHERE */
.atmosphere {
  position: relative;
  text-align: center;
  padding: 12rem 0;
  overflow: hidden;
}

.atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(26, 64, 128, 0.3) 0%, transparent 70%);
}

.atmosphere-content {
  position: relative;
  z-index: 2;
}

.atmosphere h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.atmosphere h2 em {
  font-style: italic;
  color: var(--azure);
}

.atmosphere-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 3rem;
}

.atmosphere p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ORARI */
.info-section {
  background: var(--blue-glow);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.info-block {
  padding: 5rem 4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1401px) {
  .info-block.hours {
    order: -1;
  }
}

.info-block:last-child {
  border-right: none;
}

.info-block .label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  color: var(--cream);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.8rem;
  transition: color 0.3s;
  cursor: none;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-link:hover .contact-icon {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: none;
}

.social-link:hover {
  color: var(--gold);
}

.social-link i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.social-dash {
  width: 30px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.social-link:hover .social-dash {
  width: 50px;
}

/* FOOTER */
footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  cursor: none;
}

.footer-logo span {
  color: var(--azure);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.footer-privacy-link {
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.footer-privacy-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 1400px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  .btn {
    padding: 0.9rem 1.6rem;
  }

  nav {
    padding: 1.5rem 2rem;
    justify-content: flex-end;
  }

  .hero {
    padding-top: 5rem;
  }

  .nav-toggle {
    display: flex;
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 110;
  }

  .lang-toggle {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 110;
  }

  /* Overlay a schermo intero con i link a sinistra */
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0 0 0 3rem;
    background: rgba(8, 12, 20, 0.97);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

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

  .nav-links a {
    font-size: 0.8rem !important;
  }

  .nav-links a:not(.btn) {
    padding-bottom: 0.6rem;
  }

  .mobile-only {
    display: list-item;
  }

  .nav-logo {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

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

  .gallery-item:first-child {
    grid-row: auto;
  }

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

  .info-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 2rem;
  }

  .info-block:last-child {
    border-bottom: none;
  }

  footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }
}