/* ---------- БАЗА ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-style: italic;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #2a1b19;
  color: #f6f1e7;
}

/* палитра */
:root {
  --bg: #120c09;
  --bg-soft: #241713;
  --bg-soft-2: #2a1b19;
  --gold: #c5a25d;
  --gold-strong: #dfc28b;
  --text: #f6f1e7;
  --muted: #d6c2ac;
}

/* ---------- HEADER / NAV ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(16, 10, 8, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-strong);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.main-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  text-decoration: none;
  color: #f6f1e7;
}

.main-nav a:hover {
  text-decoration: underline;
}

.nav-book {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold-strong);
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* мобила */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    gap: 8px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
  }

  .main-nav a {
    font-size: 0.98rem;
    white-space: nowrap;
  }
}

/* ---------- HERO С ОДНОЙ ФОТО ---------- */

.hero-single {
  position: relative;
  width: 100%;
  height: 92vh;
  margin-top: 64px; /* высота header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* ЗАМЕНИ hero-al-monastero.jpg на своё фото */
  background: url("foto/BLACK.jpg") center/cover no-repeat;
}

/* затемнение фото */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.75) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 0;
}

/* слова на фоне */
.hero-words {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: clamp(18px, 4vw, 32px);
  padding: 8vh 10vw;

  font-family: "Parisienne", serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 400;

  color: rgba(255, 255, 255, 0.5);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-words span {
  white-space: nowrap;
}

/* контент hero */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
  max-width: 720px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.6rem;
  font-weight: 300; /* più sottile */
}

.hero-content h1 {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 5rem);
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 0.8rem;
  opacity: 0.95;
  transform: translateY(1px);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  color: rgba(246, 241, 231, 0.88);
  margin: 0 0 1.6rem;
  font-weight: 200; /* anche qui SUPER THIN */
  letter-spacing: 0.2px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* кнопки hero */
.btn-hero {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #f6f1e7; /* светлый текст */
  text-decoration: none;

  background: linear-gradient(
    135deg,
    #4d3528 0%,
    #3a2720 100%
  ); /* КОРИЧНЕВЫЙ ГРАДИЕНТ */
  border: 1px solid rgba(255, 224, 180, 0.25);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45),
    inset 0 1px 4px rgba(255, 255, 255, 0.08);

  transition: 0.25s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #5a3d2d 0%, #443026 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 4px rgba(255, 255, 255, 0.12);
}

.btn-hero:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) inset;
}

.btn-ghost {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(223, 194, 139, 0.7);
  color: #f6f1e7;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* мобила hero */
@media (max-width: 768px) {
  .hero-single {
    height: 80vh;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ---------- ОБЩИЕ СЕКЦИИ ---------- */

main {
  background: radial-gradient(circle at top, #251611 0%, #120c09 55%);
}

.section {
  padding: clamp(48px, 8vh, 80px) 16px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 780px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(246, 241, 231, 0.7);
  margin-bottom: 0.4rem;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0 0 0.8rem;
  color: var(--gold);
}

.section p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

/* текстовая секция */
.section-text {
  text-align: center;
}

.section-text p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* ряд с доп-информацией */
.info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.info-row h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: #e1c28a;
  text-align: center;
}

/* split-секции */

.section-split {
  background: var(--bg-soft);
}

/* Секции с фото — почти без вертикальных отступов */
#experience.section,
#inspiration.section {
  padding-top: 0;
  padding-bottom: 0;
}
/* Колонки с фото тянем на всю высоту строки грида */
/* #experience .media-col,
#inspiration .media-col {
  display: flex;
  align-items: stretch;
} */
/* Рамка во всю высоту колонки */
/* #experience .frame,
#inspiration .frame {
  height: 100%;
} */
/* рамка для фото */
.frame {
  max-width: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  margin: 0 auto;
  border-radius: 0 !important;
}

.frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 🖥 DESKTOP: фотки повыше, тянут по высоте строки */
@media (min-width: 901px) {
  #experience .section-inner,
  #inspiration .section-inner {
    align-items: stretch;
  }

  #experience .media-col,
  #inspiration .media-col {
    display: flex;
    align-items: stretch;
  }

  #experience .frame,
  #inspiration .frame {
    height: 720px; /* можешь 650 / 800 по вкусу */
  }
}

/* 📱 MOBILE: фотка на всю ширину, авто-высота */
@media (max-width: 900px) {
  #experience .section-inner,
  #inspiration .section-inner {
    grid-template-columns: 1fr;
  }

  #experience .media-col,
  #inspiration .media-col {
    display: block;
  }

  #experience .frame,
  #inspiration .frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
  }

  #experience .frame img,
  #inspiration .frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.section-split.alt {
  background: var(--bg-soft-2);
}
.section-split .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr); /* почти 50/50 */
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

/* alt — просто зеркалим, но с теми же долями */
.section-split.alt .section-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr);
}

#experience .text-col,
#inspiration .text-col {
  max-width: 640px;
}

#experience .text-col {
  margin-right: auto;
}

#inspiration .text-col {
  margin-left: auto;
}

.text-col p + p {
  margin-top: 0.7rem;
}

/* рамка для фото */
/* рамка для фото */
.frame {
  max-width: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  margin: 0 auto;
}

/* высота конкретно для двух секций */
/* #experience .frame,
#inspiration .frame {
  height: 850px; /* можешь 480 / 560 по вкусу */
/* }  */

/* картинка заполняет рамку от края до края */
.frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ховер-увеличение, если хочешь оставить */
.frame:hover img {
  transform: scale(1.07);
  transition: transform 0.5s ease;
}

/* кнопка outline */
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid rgba(210, 176, 120, 0.55);
  color: #dfc28b;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ✨ Hover — золотое свечение */
.btn-outline:hover {
  background: rgba(210, 176, 120, 0.12);
  border-color: #dfc28b;
  color: #ffe9c4;

  box-shadow: 0 0 12px rgba(210, 176, 120, 0.55),
    0 0 22px rgba(210, 176, 120, 0.35), inset 0 0 8px rgba(210, 176, 120, 0.25);

  transform: translateY(-1px);
}

/* мобила split */
@media (max-width: 900px) {
  .section-split .section-inner {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- WINE SECTION ---------- */

/* SEZIONE CARTA DEI VINI */
.wine-section {
  position: relative;
  background-image: url("/foto/003.jpg");
  background-size: cover;

  background-repeat: no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: #f4e9d5; /* TESTO LEGIBILE */
}

/* Overlay morbido per rendere visibile il testo */
.wine-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36); /* leggero scurimento elegante */
  backdrop-filter: blur(1px);
  z-index: 0;
}

/* Contenuto sopra l'overlay */
.wine-section > * {
  position: relative;
  z-index: 1;
}

/* Titolo “Carta dei Vini” */
.wine-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: #e8d7b9; /* Oro chiaro elegante */
  margin-bottom: 1rem;
}

/* Sottotitolo “La Cantina” */
.wine-section .section-kicker {
  color: #d6c2a4 !important;
}

/* Paragrafi */
.wine-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1.2rem;
  color: #f4eee2; /* Bianco caldo molto leggibile */
}

/* Bottone “Scarica la carta dei vini” */
.wine-section .btn-outline {
  border-color: rgba(250, 230, 200, 0.7);
  color: #fefaf3;
}
.wine-section .btn-outline:hover {
  background: rgba(255, 245, 230, 0.18);
  color: #ffffff;
  border-color: #fce5ad;
}

/* MOBILE FIX */
@media (max-width: 900px) {
  .wine-section {
    padding: 80px 16px;
    background-position: center top; /* foto perfetta su telefono */
  }

  .wine-section h2 {
    font-size: 2.2rem;
  }

  .wine-section p {
    font-size: 1rem;
  }
}

/* ---------- CONTACTS ---------- */

.section-contacts {
  background: #0d0705;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.section-contacts h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--gold);
}

.section-contacts p,
.section-contacts a {
  font-size: 0.98rem;
  color: var(--muted);
}

.section-contacts a {
  text-decoration: none;
}

.section-contacts a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: #050302;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(246, 241, 231, 0.75);
}

.footer-inner a {
  color: rgba(246, 241, 231, 0.9);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* === EXPERIENCE & ISPIRAZIONE – LAYOUT TESTO/FOTO === */

/* фон секций */
.section-split {
  background: var(--bg-soft);
}

.section-split.alt {
  background: var(--bg-soft-2);
}

/* сетка на десктопе */
.section-split .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

/* ширина текста */
#experience .text-col,
#inspiration .text-col {
  max-width: 640px;
}

#experience .text-col {
  margin-right: auto;
}

#inspiration .text-col {
  margin-left: auto;
}

/* рамка для фото */
.frame {
  max-width: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  margin: 0 auto;
}

.frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 🖥 DESKTOP: фото тянутся по высоте строки */
@media (min-width: 901px) {
  #experience .section-inner,
  #inspiration .section-inner {
    align-items: stretch;
  }

  #experience .media-col,
  #inspiration .media-col {
    display: flex;
    align-items: stretch;
  }

  #experience .frame,
  #inspiration .frame {
    height: 720px; /* можешь поменять на 650 / 800 */
  }
}

/* 📱 MOBILE: ТОЛЬКО ОДНА КОЛОНКА, ПОРЯДОК = ТЕКСТ → ФОТО → ТЕКСТ → ФОТО */
@media (max-width: 900px) {
  .section-split .section-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
  }

  .frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* порядок секций:
     EXPERIENCE:   текст → фото
     INSPIRAZIONE: текст → фото
  */
  #experience .text-col {
    order: 1;
  }

  #experience .media-col {
    order: 2;
  }

  #inspiration .text-col {
    order: 1;
  }

  #inspiration .media-col {
    order: 2;
  }
}

/* Foto più piccole in Esperienza e Ispirazione */
/* #experience .frame,
#inspiration .frame {
  max-width: 430px; /* prova 430, poi se vuoi ancora meno fai 400 */

/* allineamento un po' più elegante */
/* #experience .media-col .frame {
  margin-left: auto;
}

#inspiration .media-col .frame {
  margin-right: auto;
} */

/* ================= Cookie Banner ================= */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;

  z-index: 50;
  padding: 0; /* всё внутри .cookie-banner-inner */

  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* когда виден */
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;

  max-width: min(640px, 100vw - 32px);
  padding: 10px 16px;

  border-radius: 999px;
  background: rgba(8, 4, 2, 0.94);
  border: 1px solid rgba(197, 162, 93, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.86);
}

.cookie-banner-inner a {
  color: #dfc28b;
  text-decoration: underline;
}

/* кнопка "Accetto" */
.cookie-banner-inner button {
  flex-shrink: 0;
  border: none;
  outline: none;

  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: linear-gradient(180deg, #dfc28b 0%, #caa765 100%);
  color: #1b1311;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cookie-banner-inner button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cookie-banner-inner button:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* мобила: делаем чуть компактнее и в две строки */
@media (max-width: 600px) {
  .cookie-banner-inner {
    align-items: flex-start;
    padding: 10px 14px;
  }

  .cookie-banner-inner button {
    padding: 7px 14px;
    font-size: 0.75rem;
  }
}

/* --- ANIMAZIONE SCROLL (FADE-UP) --- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* --- RATIO FOTO BELLE --- */
/* #experience .frame,
#inspiration .frame {
  width: 100%;
  max-width: 520px;
  height: auto;
}

#experience .frame img,
#inspiration .frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
} */

/* -------- MOBILE FIX per layout testo/foto/testo/foto -------- */
