/* Bellevue Home — bellevue-home.com — Royaletiger 2026 */

@font-face {
  font-family: 'Aboreto';
  src: url('../fonts/AB400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OS300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OS400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1B3B35;
  --brand-deep: #122A25;
  --gold: #B98D4F;
  --gold-light: #D4B078;
  --ivory: #F5F0E6;
  --ink: #1c2523;
  --text: #3d4643;
  --muted: #77807c;
  --bg: #FBF9F4;
  --bg-alt: #F2EDE2;
  --line: #E3DCCB;
  --text-on-dark: rgba(245, 240, 230, .88);
  --muted-on-dark: rgba(245, 240, 230, .6);
  --font-display: 'Aboreto', 'Trajan Pro', Georgia, serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(18, 42, 37, .08);
  --shadow-md: 0 8px 28px rgba(18, 42, 37, .12);
  --shadow-lg: 0 18px 50px rgba(18, 42, 37, .18);
  --radius: 4px;
  --container: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.25; }

h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: .04em; margin-bottom: 18px; }
h3 { font-size: 1.15rem; letter-spacing: .05em; margin-bottom: 10px; }
h4 { font-family: var(--font-body); font-weight: 400; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark p { color: var(--text-on-dark); }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; max-width: 680px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  border: 0;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); color: var(--brand-deep); transform: translateY(-2px); }

.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

.section-dark .btn-outline { border-color: rgba(245,240,230,.5); color: var(--ivory); }
.section-dark .btn-outline:hover { background: var(--ivory); color: var(--brand-deep); }

/* ---------- header ---------- */

.topbar {
  background: var(--brand-deep);
  color: var(--muted-on-dark);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brand);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-menu a {
  white-space: nowrap;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-dark);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav-menu a:hover { color: var(--gold-light); }
.nav-menu a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.nav-cta { white-space: nowrap; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ivory);
  margin: 6px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
}
.hero.hero-page { min-height: 44vh; }

.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,42,37,.78) 0%, rgba(27,59,53,.55) 50%, rgba(18,42,37,.85) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 120px 0; }
.hero-content h1 { color: var(--ivory); margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content p { color: var(--text-on-dark); font-size: 1.1rem; max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.breadcrumb { position: relative; z-index: 1; font-size: .85rem; color: var(--muted-on-dark); margin-top: 14px; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ---------- griglie e card ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { font-size: .95rem; flex: 1; }
.card-link {
  margin-top: 16px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}
.card-link:hover { color: var(--gold-light); }

.feature { text-align: center; padding: 34px 26px; }
.feature svg { color: var(--gold); margin-bottom: 16px; }

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- scheda villa ---------- */

.villa { padding: 88px 0; }
.villa + .villa { border-top: 1px solid var(--line); }
.villa-head { max-width: 720px; margin-bottom: 36px; }
.villa-specs { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0 6px; padding: 0; list-style: none; }
.villa-specs li { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.villa-specs svg { color: var(--gold); flex: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 24, 21, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; color: var(--ivory);
  font-size: 2rem; cursor: pointer; padding: 12px; line-height: 1; opacity: .8;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 18px; right: 24px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- stat ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-light); }
.stat-label { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); }

/* ---------- CTA banner ---------- */

.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; }

/* ---------- form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 5px; }

.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.ok { color: #1c7a3d; }
.form-status.err { color: #b02020; }

.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list svg { color: var(--gold); flex: none; margin-top: 4px; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

/* ---------- blog ---------- */

.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.article-body { max-width: 760px; }
.article-body h2 { margin-top: 40px; }
.article-body p { margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 6px; }

/* ---------- footer ---------- */

.site-footer { background: var(--brand-deep); color: var(--muted-on-dark); font-size: .92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.site-footer h4 { color: var(--gold-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-logo { width: 150px; margin-bottom: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(245,240,230,.12);
  padding: 18px 0;
  font-size: .8rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--brand-deep);
  color: var(--text-on-dark);
  border: 1px solid rgba(212,176,120,.35);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  font-size: .92rem;
}
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: .8rem; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--brand-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 110px 34px 34px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open { transform: none; }
  .nav-menu a { font-size: 1rem; padding: 10px 0; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .villa { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { padding: 90px 0; }
}
