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

:root {
  /* Orostube brand colors */
  --bordeaux: #6C1C25;
  --bordeaux-dark: #3E0F16;
  --bordeaux-light: #8A2535;
  --oro: #FBBC43;
  --oro-light: #FDD07A;
  --oro-dark: #D49620;

  /* Orosalad brand colors */
  --salad-verde: #06331E;
  --salad-verde-light: #72BB6F;
  --salad-giallo: #FCED56;

  /* Orofresca brand colors */
  --fresca-oro: #FBBC43;
  --fresca-nero: #000000;

  /* Neutral */
  --cream: #F5F1E9;
  --dark: #1A0A0D;
  --text: #2C1A1E;
  --text-light: #6B4F55;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-brand: 'Farro', system-ui, sans-serif;
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 16px;
}

.label-light { color: var(--oro); }

/* ===== NAV ORDINA ===== */
.nav-ordina {
  display: inline-block;
  padding: 9px 22px;
  background: var(--oro);
  color: var(--dark);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-ordina:hover {
  background: var(--oro-light);
  transform: translateY(-1px);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: transparent;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(62, 16, 25, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 40px;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--oro-light); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bordeaux-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.hero-img {
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero-img-1 {
  background-image: url('../img/foto-sala-calda.jpeg');
  opacity: 0.45;
}
.hero-img-2 {
  background-image: url('../img/foto-esterno.jpeg');
  opacity: 0.5;
}
.hero-img-3 {
  background-image: url('../img/foto-sala-giorno.jpeg');
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(92,26,40,0.3) 0%, rgba(30,8,16,0.85) 100%);
  z-index: 1;
}

/* Texture grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}

.hero-payoff {
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid rgba(212, 168, 67, 0.7);
  color: var(--oro-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.hero-cta:hover {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--dark);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(212,168,67,0.6));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0) translateY(-100%); }
  50% { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* ===== STORIA ===== */
.storia {
  padding: 120px 0;
  background: var(--cream);
}

.storia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.storia-testo h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--bordeaux-dark);
  margin-bottom: 28px;
}

.storia-testo p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 18px;
}

.storia-testo p:last-child { margin-bottom: 0; }

.storia-foto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.foto-real {
  border-radius: var(--radius);
  overflow: hidden;
  grid-column: 1 / -1;
}

.foto-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}

.foto-real--small img {
  aspect-ratio: 16/7;
}

/* ===== BRAND ===== */
.brand {
  padding: 120px 0;
  background: var(--bordeaux-dark);
  position: relative;
  overflow: hidden;
}

.brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
}

.brand-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 64px;
  max-width: 520px;
}

.brand-intro strong { color: var(--oro-light); font-weight: 500; }

.brand-famiglia-foto {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.brand-famiglia-foto img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.brand-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.brand-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform var(--transition);
}

.brand-card:hover .brand-card-bg {
  transform: scale(1.04);
}

.brand-card-bg--salad {
  background: linear-gradient(145deg, #06331E 0%, #031F12 100%);
}

.brand-card-bg--fresca {
  background: linear-gradient(145deg, #FBBC43 0%, #D49620 100%);
}

.brand-card-inner {
  position: relative;
  z-index: 1;
  padding: 48px 44px 44px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-card-logo {
  margin-bottom: 24px;
}

.brand-card-logo img {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

/* Orofresca: dark text on gold */
.brand-card--fresca .brand-card-desc {
  color: rgba(0,0,0,0.65);
}

.brand-card--fresca .brand-card-link {
  color: var(--fresca-nero);
}

.brand-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  flex: 1;
  margin-bottom: 32px;
}

.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oro-light);
  transition: gap var(--transition);
}

.brand-card:hover .brand-card-link { gap: 14px; }

/* Orosalad link accent: verde chiaro */
.brand-card--salad .brand-card-link {
  color: var(--salad-verde-light);
}

/* Orofresca hover: leggera oscurazione */
.brand-card--fresca:hover {
  box-shadow: 0 24px 60px rgba(251,188,67,0.35);
}

/* ===== HERO CTA GROUP ===== */
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta--ghost {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid rgba(212, 168, 67, 0.7);
  color: var(--oro-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.hero-cta--ghost:hover {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--dark);
}

.hero-cta--primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--oro);
  color: var(--dark);
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  border: 1.5px solid var(--oro);
  transition: background var(--transition), transform var(--transition);
}

.hero-cta--primary:hover {
  background: var(--oro-light);
  border-color: var(--oro-light);
  transform: translateY(-2px);
}

/* ===== HERO SUB ===== */
.hero-sub {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: -20px;
  margin-bottom: 40px;
}

/* ===== CUCINA ===== */
.cucina {
  padding: 120px 0;
  background: var(--bordeaux-dark);
  position: relative;
  overflow: hidden;
}

.cucina::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cucina .label { color: var(--oro); }

.cucina-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.cucina-card {
  padding: 48px 44px;
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}

.cucina-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.cucina-card p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.cucina-card p:last-child { margin-bottom: 0; }

.cucina-foto {
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
}

.cucina-foto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

/* ===== LOCALE ===== */
.locale {
  padding: 120px 0;
  background: var(--cream);
}

.locale-wrap {
  max-width: 680px;
}

.locale-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--bordeaux-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.locale-wrap p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 36px;
}

.orari {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orari-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.orari-giorno {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordeaux);
  min-width: 130px;
}

.orari-ore {
  font-size: 15px;
  color: var(--text-light);
}

.orari-row--chiuso .orari-ore {
  color: #B0938A;
  font-style: italic;
}

.locale-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.locale-cta {
  display: inline-block;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: background var(--transition), transform var(--transition);
}

.locale-cta--primary {
  background: var(--oro);
  color: var(--dark);
  font-family: var(--font-brand);
  font-weight: 700;
  border: 1.5px solid var(--oro);
}

.locale-cta--primary:hover {
  background: var(--oro-dark);
  border-color: var(--oro-dark);
  transform: translateY(-2px);
}

.locale-cta--ghost {
  background: transparent;
  color: var(--bordeaux);
  border: 1.5px solid var(--bordeaux);
}

.locale-cta--ghost:hover {
  background: var(--bordeaux);
  color: white;
}

/* ===== INSTAGRAM ===== */
.instagram {
  padding: 100px 0;
  background: var(--cream);
}

.insta-wrap {
  display: flex;
  align-items: center;
  gap: 48px;
  background: white;
  border-radius: 24px;
  padding: 60px 72px;
  box-shadow: 0 4px 40px rgba(92,26,40,0.08);
  border: 1px solid rgba(92,26,40,0.06);
}

.insta-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.insta-icon svg {
  width: 36px;
  height: 36px;
}

.insta-testo h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--bordeaux-dark);
  margin-bottom: 10px;
}

.insta-testo p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.insta-cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--bordeaux);
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 40px;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}

.insta-cta:hover {
  background: var(--bordeaux-light);
  transform: translateX(3px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-brand-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-brand-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-brand-links a:hover { color: var(--oro-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { gap: 20px; }

  .cucina-grid { grid-template-columns: 1fr; gap: 24px; }
  .cucina-card { padding: 36px 28px; }

  .storia-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .storia-foto {
    grid-template-columns: 1fr 1fr;
  }

  .foto-placeholder {
    grid-column: auto;
    aspect-ratio: 1;
  }

  .foto-placeholder.foto-small {
    grid-column: 1 / -1;
    height: 120px;
    aspect-ratio: unset;
  }

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

  .brand-card-inner {
    min-height: 280px;
    padding: 36px 32px 32px;
  }

  .insta-wrap {
    flex-direction: column;
    text-align: center;
    padding: 44px 32px;
    gap: 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-ordina { font-size: 11px; padding: 8px 16px; }
  .hero-logo { height: 56px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .brand-famiglia-foto img { height: 240px; }
  .storia { padding: 80px 0; }
  .cucina { padding: 80px 0; }
  .locale { padding: 80px 0; }
  .brand { padding: 80px 0; }
  .instagram { padding: 64px 0; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
