/* B&B Amores – stile del sito (ricostruito a mano dal tema WordPress "Road Fighter") */
:root {
  --orange: #f6860e;
  --orange-dark: #d8621f;
  --rust: #b0410a;
  --red-btn: #e05909;
  --ink: #373636;
  --text: #312f2f;
  --black: #010101;
  --menu: #444;
  --menu-border: #e9ceb2;
  --dark: #2f2f2f;
  --line: #e2e0e0;
  --soft: #fafafa;
  --width: 1092px;
  --font: Tahoma, Verdana, "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 400; color: var(--black); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 28px; }
h2 { font-size: 22px; margin-top: 1.4em; }
h3 { font-size: 19px; margin-top: 1.2em; }
p { margin: 0 0 1em; color: var(--text); }
.wrap { width: min(100% - 32px, var(--width)); margin-inline: auto; }
.center { text-align: center; }

.btn { display: inline-block; padding: .4em 1.1em; background: var(--red-btn); color: #fff; font-size: 14px; border-radius: 2px; }
.btn:hover { background: var(--rust); color: #fff; text-decoration: none; }

/* intestazione: barra arancione, fondo scuro (pagine) o foto (home) */
.site-header { border-top: 9px solid var(--orange); background: var(--dark) linear-gradient(90deg, #2f2f2f, #5f5f5f 50%, #2f2f2f); padding: 28px 0 40px; }
.is-home .site-header { position: absolute; inset: 0 0 auto 0; z-index: 2; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #fff; text-decoration: none; display: flex; flex-direction: column; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.brand:hover { color: #fff; text-decoration: none; }
.brand-name { font-size: clamp(26px, 4vw, 36px); line-height: 1.1; }
.brand-tag { font-size: 14px; color: #fad1b4; font-style: italic; }
.call-us { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(#f2f2f2, #dcdcdc); border: 1px solid #c0c0c0; border-radius: 4px; padding: 6px 12px; color: #333; box-shadow: 2px 2px 5px rgba(71,71,71,.2); white-space: nowrap; }
.call-us:hover { color: var(--orange-dark); text-decoration: none; }

.menu-wrapper { margin-top: 24px; background: rgba(255,255,255,.92); border: 3px solid var(--menu-border); border-radius: 7px; box-shadow: 2px 3px 8px rgba(0,0,0,.3); }
.site-nav ul { list-style: none; margin: 0; padding: 0 8px; display: flex; flex-wrap: wrap; }
.site-nav a { display: block; padding: 12px 18px; color: var(--menu); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange); text-decoration: none; }
.nav-toggle { display: none; }

/* briciole di pane */
.crumbs { background: #fdfdfd; border-bottom: 1px solid #ececec; padding: 16px 0; font-size: 14px; letter-spacing: .05em; }
.crumbs a { color: #444; }
.crumbs span { color: var(--orange-dark); }

/* contenuto pagine */
.content { padding: 48px 0 56px; max-width: 760px; margin-left: max(16px, (100% - var(--width)) / 2); }
.content ol { padding-left: 1.4em; }
.map { margin-top: 1.5em; }
.map iframe { width: 100%; max-width: 760px; aspect-ratio: 4 / 3; height: auto; display: block; }

/* home */
.hero { position: relative; min-height: min(92vh, 900px); background: #555 center / cover no-repeat; display: flex; align-items: flex-end; padding: 220px 0 48px; }
.hero-inner { display: flex; justify-content: flex-end; }
.hero-caption { background: rgba(240,242,248,.92); border-radius: 6px; padding: 20px 24px; min-width: 260px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.hero-caption h1 { font-weight: 700; font-size: 24px; margin: 0 0 .3em; }
.hero-caption h1 a { color: var(--black); }
.hero-caption p { margin-bottom: 1em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 64px 0; }
.feature { display: block; border: 1px solid #c9c9c9; box-shadow: 0 3px 6px rgba(0,0,0,.08); overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.feature:hover img { transform: scale(1.04); }

/* galleria + lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { display: block; border: 2px solid #cfcfcf; }
.gallery a:hover { border-color: var(--orange); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; padding: 12px 18px; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { color: var(--orange); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* piè di pagina arancione */
.site-footer { background: linear-gradient(90deg, var(--orange-dark), #ef7a26 50%, var(--orange-dark)); color: #fff; border-bottom: 1px solid #8f390a; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 32px 0 20px; }
.site-footer h4 { color: #fff; font-size: 17px; font-weight: 700; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.35); }
.site-footer p { color: #fff; font-size: 13px; line-height: 1.6; margin: 0 0 .6em; }
.site-footer a { color: #fff; }
.bottom-footer { background: var(--rust); color: #fff; font-size: 13px; padding: 14px 0; }

@media (max-width: 800px) {
  .site-header { padding: 18px 0 20px; }
  .call-us { font-size: 14px; padding: 6px 10px; }
  .menu-wrapper { margin-top: 16px; }
  .nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 10px 14px; font: inherit; color: var(--menu); cursor: pointer; }
  .bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .bars span { display: block; width: 22px; height: 2px; background: currentColor; }
  .site-nav { display: none; border-top: 1px solid var(--menu-border); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 4px 0; }
  .site-nav a { padding: 10px 16px; }
  .hero { min-height: 520px; padding-top: 200px; }
  .hero-inner { justify-content: center; }
  .features { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .content { padding: 32px 0 40px; margin-inline: auto; width: min(100% - 32px, 760px); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 8px; }
  .brand-tag { font-size: 12px; }
}
