/* ============================================================
   ROSVIAGGI — Stylesheet
   ============================================================ */

:root {
  --nero:      #1a1a1a;
  --grigio:    #555;
  --chiaro:    #f7f4ef;
  --bianco:    #ffffff;
  --oro:       #c49a3c;
  --oro-hover: #a07828;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Lato', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--nero);
  background: var(--bianco);
  font-size: 17px;
  line-height: 1.7;
}

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

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--oro);
  letter-spacing: 2px;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #ddd;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      #0d2137 0%,
      #1a4a6b 35%,
      #7b9e4a 70%,
      #c4973c 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,.06) 0%, transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bianco);
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 480px;
  margin: 0 auto 2.2rem;
}

.btn {
  display: inline-block;
  padding: .8rem 2.2rem;
  border: 2px solid var(--oro);
  color: var(--oro);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .2s, color .2s;
  border-radius: 2px;
}

.btn:hover {
  background: var(--oro);
  color: var(--bianco);
}

/* ── INTRO ── */
.intro {
  max-width: 720px;
  margin: 5rem auto;
  text-align: center;
  padding: 0 2rem;
}

.intro h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro p { color: var(--grigio); }

.divisore {
  width: 50px;
  height: 2px;
  background: var(--oro);
  margin: 1.2rem auto;
}

/* ── SEZIONE VIAGGI ── */
.sezione {
  padding: 4rem 2rem;
}

.sezione-titolo {
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: .4rem;
}

.sezione-sub {
  text-align: center;
  color: var(--grigio);
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.grid-viaggi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── CARD ── */
.card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  transition: transform .3s, box-shadow .3s;
  background: var(--bianco);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}

.card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img .etichetta {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--oro);
  color: var(--bianco);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 2px;
  z-index: 2;
}

.card-body {
  padding: 1.4rem 1.6rem 1.8rem;
}

.card-meta {
  font-size: .78rem;
  color: var(--grigio);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}

.card-excerpt {
  font-size: .9rem;
  color: var(--grigio);
  margin-bottom: 1.2rem;
}

.card-link {
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro);
  border-bottom: 1px solid var(--oro);
  padding-bottom: 2px;
  transition: color .2s;
}

.card-link:hover { color: var(--oro-hover); }

/* ── DESTINAZIONI ── */
.destinazioni-section {
  background: var(--chiaro);
  padding: 4rem 2rem 5rem;
}

.destinazioni-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.dest-card {
  position: relative;
  flex: 1 1 300px;
  max-width: 340px;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: white;
}

.dest-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  transition: background .3s;
  z-index: 1;
}

.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.dest-content {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.5rem;
}

.dest-num {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: .3rem;
}

.dest-content h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: .3rem;
}

.dest-content p {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .5px;
}

/* ── CHI SONO ── */
.chi-sono-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto 5rem;
  gap: 4rem;
  padding: 0 2rem;
  align-items: center;
}

.chi-sono-avatar {
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #3a6186 0%, #89a5c2 100%);
}

.chi-sono-testo h2 {
  font-family: var(--font-title);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.chi-sono-testo p { color: var(--grigio); margin-bottom: 1rem; }

/* ── AREE ── */
.aree {
  background: var(--chiaro);
  padding: 4rem 2rem;
  text-align: center;
}

.aree h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.aree-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.area-tag {
  padding: .7rem 1.8rem;
  border: 1.5px solid var(--nero);
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}

.area-tag:hover {
  background: var(--nero);
  color: var(--bianco);
}

/* ── FOOTER ── */
footer {
  background: var(--nero);
  color: #aaa;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: .85rem;
}

footer .footer-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--oro);
  font-style: italic;
  margin-bottom: .5rem;
}

/* ── VIAGGIO HERO (con foto reale) ── */
.viaggio-hero {
  height: 70vh;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 3rem 2rem;
  overflow: hidden;
}

.viaggio-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.viaggio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  z-index: 1;
}

.viaggio-hero-content {
  position: relative;
  z-index: 2;
  color: var(--bianco);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.viaggio-hero-content .area-label {
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: .6rem;
}

.viaggio-hero-content h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}

.viaggio-hero-content .data {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}

/* ── ARTICOLO ── */
.articolo {
  max-width: 760px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.articolo h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin: 2.5rem 0 .8rem;
}

.articolo h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 1.8rem 0 .5rem;
  color: var(--grigio);
}

.articolo p { color: #333; margin-bottom: 1rem; }

.articolo a { color: var(--oro); text-decoration: underline; }
.articolo a:hover { color: var(--oro-hover); }

.articolo blockquote {
  border-left: 3px solid var(--oro);
  padding: .8rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-style: italic;
  color: #444;
  background: var(--chiaro);
}

.articolo .info-box {
  background: var(--chiaro);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
}

.articolo .info-box h4 {
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1rem;
}

.articolo .info-box ul {
  list-style: none;
  color: var(--grigio);
  font-size: .92rem;
}

.articolo .info-box ul li {
  padding: .3rem 0;
  border-bottom: 1px solid #e0dbd2;
}

.articolo .info-box ul li:last-child { border: none; }

/* Foto inline nell'articolo */
.foto-reel {
  margin: 2rem 0;
}

.foto-reel img,
.foto-reel video {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.foto-reel figcaption {
  font-size: .8rem;
  color: var(--grigio);
  font-style: italic;
  text-align: center;
  padding: .45rem .5rem 0;
}

.foto-reel.piccola {
  max-width: 420px;
  margin: 2rem auto;
}

/* Gallery con foto reali */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin: 2.5rem 0;
}

.gallery-item {
  height: 180px;
  border-radius: 3px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── AREA INDEX ── */
.area-hero {
  height: 50vh;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 3rem 2rem;
  overflow: hidden;
}

.area-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.area-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
  z-index: 1;
}

.area-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.area-hero-content h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: .3rem;
}

.area-hero-content p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.area-index-grid {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .chi-sono-strip { grid-template-columns: 1fr; }
  .chi-sono-avatar { height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .dest-card { max-width: 100%; }
}
