/* ============================================================
   LIGURIAN POD — CSS CONDIVISO
   Versione 2026
   ============================================================ */

/* ---- VARIABILI GLOBALI ---- */
:root {
  --ocean-deep:  #0a1628;
  --ocean-mid:   #0d2040;
  --sand:        #d4956a;
  --sand-light:  #edb98a;
  --sand-pale:   rgba(212,149,106,0.12);
  --aqua:        #2aabb8;
  --aqua-light:  #3dc8d6;
  --foam:        #a8dde3;
  --gold:        #c9a96e;
  --gold-light:  #e2c48a;
  --green-wild:  #5dd49a;
  --coral:       #e07060;
  --purple:      #a87fd4;
  --teal:        #1a6b72;
  --white:       #f5fafc;
  --white-alt:   #f5f0ea;
  --grey:        rgba(230,210,185,0.55);
  --border:      rgba(212,149,106,0.12);
  --border-mid:  rgba(212,149,106,0.22);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--ocean-deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 18% 0%, rgba(212,149,106,0.07) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 100%, rgba(42,171,184,0.05) 0%, transparent 48%);
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---- LAYOUT UTILITY ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 700px) { .container { padding: 0 16px; } }

/* ---- NAVBAR ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 300;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--sand); font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(168,221,227,0.6); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  padding: 9px 22px;
  background: rgba(42,171,184,0.12);
  border: 1px solid rgba(42,171,184,0.3);
  border-radius: 100px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--aqua); text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: rgba(42,171,184,0.22); color: var(--white); }
.nav-back {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(212,149,106,0.55); text-decoration: none; transition: color 0.2s;
}
.nav-back:hover { color: var(--sand-light); }
@media (max-width: 700px) {
  nav { padding: 13px 16px; }
  .nav-links { display: none; }
  .nav-back { font-size: 10px; }
}

/* ---- SECTION LABEL (micro uppercase) ---- */
.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 14px; display: block;
}

/* ---- HERO BADGE ---- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 20px; border: 1px solid var(--border-mid); border-radius: 100px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sand); background: var(--sand-pale); margin-bottom: 28px;
}

/* ---- FOOTER ---- */
footer {
  padding: 34px 36px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 300;
  color: rgba(212,149,106,0.3);
}
.footer-logo span { color: var(--sand); font-style: italic; }
.footer-copy {
  font-size: 11px; color: rgba(230,210,185,0.15);
}
.footer-copy a { color: rgba(230,210,185,0.3); text-decoration: none; }
.footer-copy a:hover { color: var(--sand); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(230,210,185,0.25); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--sand); }
@media (max-width: 700px) {
  footer { flex-direction: column; text-align: center; padding: 22px 16px; }
  .footer-links { justify-content: center; }
}

/* ---- CTA BUTTON (comune) ---- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: rgba(42,171,184,0.12);
  border: 1px solid rgba(42,171,184,0.3);
  border-radius: 100px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--aqua); text-decoration: none;
  transition: all 0.25s; cursor: pointer;
}
.btn-cta:hover {
  background: rgba(42,171,184,0.22);
  border-color: rgba(42,171,184,0.5);
  color: var(--white);
}
.btn-cta-sand {
  background: rgba(212,149,106,0.1);
  border-color: rgba(212,149,106,0.3);
  color: var(--sand);
}
.btn-cta-sand:hover {
  background: rgba(212,149,106,0.2);
  border-color: rgba(212,149,106,0.5);
  color: var(--sand-light);
}

/* ---- SECTION & DIVIDER (pattern ricorrente nelle pagine) ---- */
.section { padding: 100px 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
@media (max-width: 700px) { .section { padding: 70px 0; } }

/* ---- BOLLE DECORATIVE (hero) ---- */
.bubble {
  position: absolute; border-radius: 50%;
  background: rgba(168,221,227,0.05);
  border: 1px solid rgba(168,221,227,0.08);
  animation: rise linear infinite;
  pointer-events: none;
}
@keyframes rise {
  0%   { transform: translateY(110vh) scale(0.8); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1.1); opacity: 0; }
}

/* ---- HERO SCROLL HINT (freccia animata in basso) ---- */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(168,221,227,0.3);
  animation: bobble 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(168,221,227,0.3), transparent);
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* ---- GOOGLE TRANSLATE (bottone 🌐 EN/IT in navbar) ---- */
#google_translate_element { display: inline-block; }
.goog-te-banner-frame { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-gadget select { display: none; }
body { top: 0 !important; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(168,221,227,0.2);
  border-radius: 100px;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(168,221,227,0.6);
  cursor: pointer; transition: all 0.2s;
  margin-left: 8px; white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(42,171,184,0.12);
  border-color: rgba(42,171,184,0.3);
  color: var(--white);
}

/* ---- COOKIE BANNER (GDPR, primo accesso) ---- */
.cookie-banner {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 26px;
  background: rgba(13, 30, 53, 0.97);
  border: 1px solid rgba(212,149,106,0.22);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  display: flex; flex-wrap: wrap; gap: 18px 22px;
  align-items: center; justify-content: space-between;
  z-index: 9999;
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner-visible { opacity: 1; transform: translateY(0); }

.cookie-banner-text { flex: 1 1 320px; min-width: 0; }
.cookie-banner-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: var(--sand-light);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.cookie-banner-text p {
  font-size: 13px; line-height: 1.6;
  color: rgba(168,221,227,0.78);
  margin: 0;
}
.cookie-banner-text a {
  color: var(--aqua);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-text a:hover { color: var(--foam); }

.cookie-banner-actions {
  display: flex; gap: 10px;
  flex: 0 0 auto; flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(168,221,227,0.25);
  color: rgba(168,221,227,0.75);
}
.cookie-btn-reject:hover {
  background: rgba(168,221,227,0.06);
  border-color: rgba(168,221,227,0.45);
  color: var(--white);
}
.cookie-btn-accept {
  background: rgba(42,171,184,0.18);
  border: 1px solid rgba(42,171,184,0.45);
  color: var(--aqua);
}
.cookie-btn-accept:hover {
  background: rgba(42,171,184,0.32);
  border-color: rgba(42,171,184,0.7);
  color: var(--white);
  transform: translateY(-1px);
}

/* "Gestisci cookie" link nei footer */
.cookie-manage-link {
  background: none; border: none; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-manage-link:hover { color: var(--sand); }

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    padding: 18px 20px; border-radius: 14px;
    flex-direction: column; align-items: stretch; gap: 16px;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1 1 0; padding: 12px 14px; }
}

/* ---- GOOGLE FONTS IMPORT (da usare nel <head> delle pagine) ----
   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap" rel="stylesheet">
   ---------------------------------------------------------------- */
