/* Maison Gennaro Napoli - tema napoletano */
:root {
  --rosso: #c4502e;
  --oro: #d9a441;
  --blu: #14365e;
  --mare: #2d7fa6;
  --crema: #fbf5e9;
  --carta: #fffdf8;
  --testo: #2b2420;
  --ombra: 0 10px 30px rgba(20, 54, 94, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: var(--testo);
  background: var(--carta);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
.script { font-family: 'Dancing Script', cursive; color: var(--rosso); font-size: 1.15em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding: .6rem 1.5rem;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 3px solid var(--oro);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.brand-logo { height: 56px; width: auto; max-width: 260px; object-fit: contain; }
.main-nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--blu); }
.main-nav a:hover { color: var(--rosso); }
.btn-nav {
  background: var(--rosso); color: #fff !important;
  padding: .45rem 1rem; border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rosso); color: #fff; }
.btn-primary:hover { background: #a93f20; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(20,54,94,.18) 0%, rgba(12,36,64,.45) 100%),
    radial-gradient(circle at 20% 20%, rgba(217,164,65,.18) 0%, transparent 45%),
    url('/static/hero/napoli-sera-mobile.jpg') center / cover no-repeat,
    linear-gradient(160deg, #2d7fa6 0%, #14365e 60%, #0c2440 100%);
  color: #fff; text-align: center; overflow: hidden;
}
@media (min-width: 801px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(20,54,94,.18) 0%, rgba(12,36,64,.45) 100%),
      radial-gradient(circle at 20% 20%, rgba(217,164,65,.18) 0%, transparent 45%),
      url('/static/hero/napoli-sera-desktop.jpg') center / cover no-repeat,
      linear-gradient(160deg, #2d7fa6 0%, #14365e 60%, #0c2440 100%);
  }
}
.hero-overlay { position: relative; z-index: 2; max-width: 820px; padding: 3rem 1.25rem 4rem; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .2em; font-size: .85rem;
  color: var(--oro); font-weight: 700;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.1; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero h1 em { color: var(--oro); font-style: italic; }
.hero-text { font-size: 1.15rem; opacity: .95; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Napoli strip (icone) */
.napoli-strip {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: .5rem;
  padding: 1rem; background: var(--rosso); color: var(--oro); font-size: 1.6rem;
}
.napoli-strip span { width: 3rem; text-align: center; }

/* Sezioni */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--crema); }
.section-title {
  font-size: clamp(2rem, 4vw, 2.7rem); color: var(--blu); position: relative;
  padding-bottom: .4rem; margin-bottom: 1rem;
}
.section-title.center::after,
.section-title:not(.center)::after {
  content: ''; display: block; width: 70px; height: 3px; margin-top: .5rem;
  background: var(--oro);
}
.section-title.center::after { margin-left: auto; margin-right: auto; }
.section-sub { color: #6b5d55; font-size: 1.05rem; margin-bottom: 2.5rem; }

.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.intro-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.intro-list li {
  background: #fff; padding: 1rem 1.25rem; border-left: 4px solid var(--rosso);
  border-radius: 10px; box-shadow: var(--ombra);
}
.intro-list i, .breakfast-list i, .location-list i { color: var(--mare); margin-right: .6rem; width: 1.2em; text-align: center; }

/* Camere */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }
.room-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--ombra);
  transition: transform .2s ease;
}
.room-card:hover { transform: translateY(-4px); }
.room-img { height: 200px; position: relative; }
.room-1 { background: linear-gradient(135deg, #f2a65a, #c4502e 60%, #7d2e18); }
.room-2 { background: linear-gradient(135deg, #7fd0e6, #2d7fa6 60%, #14365e); }
.room-3 { background: linear-gradient(135deg, #f4d27a, #d9a441 60%, #8a5a12); }
.room-badge {
  position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92);
  color: var(--blu); padding: .3rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem;
}
.room-body { padding: 1.4rem; }
.room-body h3 { font-size: 1.6rem; color: var(--blu); }
.price { color: var(--rosso); font-size: 1.05rem; }

/* Card Napoli */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--carta); border: 1px solid #efe3cc; border-radius: 14px;
  padding: 1.8rem; text-align: left; transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--ombra); }
.card-icon { font-size: 2rem; color: var(--rosso); margin-bottom: .8rem; }
.card h3 { font-size: 1.5rem; color: var(--blu); }

/* Colazione */
.breakfast-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.breakfast-visual {
  display: flex; justify-content: center; align-items: center; gap: 2rem;
  font-size: 5rem; color: var(--oro);
  background: #fff; border-radius: 24px; padding: 3rem 1rem; box-shadow: var(--ombra);
}
.breakfast-visual i:nth-child(2) { color: var(--rosso); }

/* Portafortuna */
.fortuna { background: linear-gradient(180deg, var(--carta), #f7ead0); }
.fortuna-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.fortuna-item {
  text-align: center; background: #fff; padding: 2rem 1.5rem; border-radius: 18px;
  box-shadow: var(--ombra); border-top: 5px solid var(--rosso);
}
.fortuna-item:nth-child(2) { border-top-color: var(--oro); }
.fortuna-item:nth-child(3) { border-top-color: var(--mare); }
.fortuna-item h3 { color: var(--blu); font-size: 1.5rem; }
.corno { display: block; margin: 0 auto 1rem; }
.corno-red { color: var(--rosso); }
.corno-gold { color: var(--oro); }
.fortuna-icon { font-size: 3.2rem; color: var(--mare); margin-bottom: 1rem; }
.fortuna-note { text-align: center; margin-top: 2.5rem; font-weight: 700; color: var(--blu); }
.fortuna-note i { color: var(--rosso); }

/* Prenotazione */
.booking { background: var(--blu); color: #fff; }
.booking .section-title { color: #fff; }
.booking .section-sub { color: #cfd9e6; }
.booking-form {
  max-width: 720px; margin: 0 auto; background: var(--carta); color: var(--testo);
  padding: 2rem; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.booking-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.booking-form input, .booking-form select, .booking-form textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .7rem .9rem;
  border: 1px solid #d8c9ad; border-radius: 10px; font: inherit; font-weight: 400;
  background: #fff;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: 3px solid var(--oro); border-color: var(--rosso);
}
.booking-form .btn { margin-top: .5rem; }
.form-sent { color: #1b7a3a; font-weight: 700; text-align: center; }

/* Footer */

/* Responsive */
@media (max-width: 800px) {
  .intro-grid,   .site-header { justify-content: center; }
  .main-nav { justify-content: center; gap: .7rem; }
  .brand-logo { height: 46px; max-width: 200px; }
  .hero { min-height: 80vh; }
}

/* Camere reali: foto, galleria, feature */
.room-img { background-size: cover; background-position: center; }
.room-meta { color: var(--blu); font-weight: 700; margin-bottom: .6rem; }
.room-meta i { color: var(--rosso); margin-right: .3rem; }
.room-features { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; font-size: .92rem; }
.room-features i { color: var(--mare); width: 1.2em; }
.room-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.room-gallery img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.rooms-note { text-align: center; margin-top: 2rem; color: #6b5d55; font-size: .95rem; }
.rooms-note i { color: var(--rosso); }
.room-card .room-body h3 { font-size: 1.8rem; }

/* Info */
.info-list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.info-list i { color: var(--rosso); width: 1.3em; text-align: center; margin-right: .4rem; }
.info-services h3 { font-size: 1.6rem; color: var(--blu); }
.services-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.services-grid li {
  background: #fff; border-radius: 10px; padding: .8rem 1rem; box-shadow: var(--ombra);
}
.services-grid i { color: var(--mare); width: 1.3em; margin-right: .4rem; }

@media (max-width: 800px) {
  .room-features, .services-grid { grid-template-columns: 1fr; }
}

/* Pagina camere */
.rooms-page .rooms-hero { padding: 3.5rem 0 1.5rem; background: var(--crema); }
.room-jump { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.room-jump-link {
  background: #fff; border: 2px solid var(--oro); color: var(--blu); text-decoration: none;
  padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700;
}
.room-jump-link:hover { background: var(--oro); color: #fff; }
.room-detail { border-top: 1px solid #efe3cc; }
.room-detail:nth-of-type(even) { background: var(--crema); }
.room-zone { color: #6b5d55; margin: 0 0 1.5rem; }
.room-zone i { color: var(--rosso); margin-right: .4rem; }
.room-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.room-main-photo { margin: 0 0 .75rem; border-radius: 16px; overflow: hidden; box-shadow: var(--ombra); background: #eee; }
.room-main-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.room-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.room-thumb {
  padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  cursor: pointer; background: #eee; aspect-ratio: 4 / 3;
}
.room-thumb:hover, .room-thumb:focus-visible { border-color: var(--oro); outline: none; }
.room-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-info { background: #fff; border-radius: 16px; padding: 1.75rem; box-shadow: var(--ombra); position: sticky; top: 90px; }
.room-desc { font-size: 1.05rem; }
.room-facts-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.room-facts-list i, .room-amenities i, .room-rules i { color: var(--mare); width: 1.3em; }
.room-sub-title { font-size: 1.3rem; color: var(--blu); margin: 1.25rem 0 .5rem; }
.room-amenities, .room-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .95rem; }
.room-amenities i { color: #1b7a3a; }
.room-info .btn { margin-top: 1.5rem; }
.inline-link { color: var(--rosso); font-weight: 700; }

/* Visualizzatore foto */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 36, 64, .94);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem;
}
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--rosso); }
.lb-counter { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #fff; margin: 0; font-weight: 700; }

@media (max-width: 800px) {
  .room-detail-grid { grid-template-columns: 1fr; }
  .room-info { position: static; }
  .room-thumbs { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .lb-prev, .lb-next { top: auto; bottom: 3.5rem; transform: none; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
}


.rooms-cta { margin-top: 2rem; }

/* Bubble WhatsApp fisso in basso a destra */
.whatsapp-bubble {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none;
  transition: transform .2s ease;
}
.whatsapp-bubble:hover, .whatsapp-bubble:focus-visible { transform: scale(1.08); }

/* Footer bianco, armonizzato con il logo */
.site-footer {
  background: var(--carta); color: var(--testo);
  border-top: 4px solid var(--rosso);
  padding: 3rem 0 1.25rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2.5rem;
  align-items: start;
}
.footer-logo { height: 84px; width: auto; max-width: 240px; object-fit: contain; }
.footer-claim { margin-top: .9rem; font-size: .95rem; color: var(--testo); opacity: .8; max-width: 30ch; }
.footer-col h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--blu);
  margin-bottom: .8rem; padding-bottom: .4rem; border-bottom: 2px solid var(--oro); display: inline-block;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col li { font-size: .97rem; }
.footer-col li i { color: var(--rosso); width: 1.2em; }
.footer-col a { color: var(--blu); text-decoration: none; font-weight: 700; }
.footer-col a:hover { color: var(--rosso); text-decoration: underline; }
.footer-bottom {
  text-align: center; margin: 2.5rem 0 0; padding-top: 1rem;
  border-top: 1px solid #e6dccb; font-size: .88rem; color: var(--testo); opacity: .8;
}
.footer-bottom i { color: var(--rosso); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

.breakfast-sub { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--blu); margin: 1.2rem 0 .6rem; }
.breakfast-note { font-size: .9rem; margin-top: 1rem; opacity: .85; }
.breakfast-note i { color: var(--rosso); }
