/* ================================================
   DIAMOND BARBERIA — style.css
================================================ */

/* ── 1. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.6; color: #1a1a1a; background: #fff; }
a { text-decoration: none; color: inherit; }

/* ── 2. VARIABILI ── */
:root {
  --gold:       #C9973A;
  --gold-light: #e0b55a;
  --dark:       #111111;
  --navy:       #0f1923;
  --light:      #f8f6f2;
  --muted:      #777;
  --white:      #ffffff;
  --r:          10px;
}

/* ── 3. NAVBAR — logo centrato ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%; height: 72px;
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-left { display: none; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-right {
  position: absolute;
  right: 5%;
  display: flex; align-items: center; gap: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-btn-always {
  background: var(--gold); color: var(--dark);
  padding: 0.55rem 1.4rem; border-radius: 50px;
  font-weight: 700; font-size: 0.82rem; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn-always:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── 4. HERO ── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.68)),
    url('https://images.unsplash.com/photo-1521490683712-35a1cb235d1c?w=1600&q=80') center/cover no-repeat;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 3rem; align-items: center;
}
.hero-eyebrow {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--white); line-height: 1.3; margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); display: block; font-size: 3rem; margin-top: 0.2rem; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem; font-weight: 400; max-width: 520px; line-height: 1.8;
  opacity: 0; animation: fadeUp 0.7s ease 0.7s forwards;
}
.hero-highlight { font-weight: 700; color: var(--gold); font-style: normal; }
.hero-proof {
  font-size: 1.3rem; color: var(--gold);
  letter-spacing: 0.06em; font-weight: 700; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.7s ease 0.85s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--dark);
  padding: 1.1rem 2.8rem; border-radius: 50px;
  font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s, background 0.3s;
  opacity: 0; animation: fadeUp 0.7s ease 0.9s forwards;
}
.hero-cta:hover { transform: translateY(-3px); background: var(--gold); color: var(--white); }
.hero-cta i { font-size: 1.2rem; color: #25D366; }
.hero-cta:hover i { color: var(--white); }

/* Booking panel */
.hero-panel {
  background: rgba(10,8,5,0.85); border: 1px solid rgba(201,151,58,0.3);
  border-radius: 12px; padding: 2rem; backdrop-filter: blur(12px);
  opacity: 0; animation: fadeIn 0.8s ease 1.1s forwards;
}
.hero-panel-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.hero-panel-btn {
  display: flex; align-items: center; padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; margin-bottom: 0.8rem; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.hero-panel-btn:hover { background: rgba(201,151,58,0.15); border-color: var(--gold); }
.hpb-service { color: var(--white); font-size: 0.95rem; font-weight: 500; flex: 1; }
.hpb-price { color: var(--gold); font-weight: 700; font-size: 1rem; margin-right: 1rem; }
.hpb-arrow { color: #25D366; font-size: 1.1rem; }
.hero-panel-note { margin-top: 1.2rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; line-height: 1.5; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5);
  opacity: 0; animation: fadeIn 1s ease 1.5s forwards;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: scrollPulse 2s ease-in-out infinite; }

/* ── 5. SEZIONI BASE ── */
section {
  padding: 90px 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 72px;
}

/* Chi siamo è già gestito col suo grid */
#chi { padding: 0; display: grid; }
.section-center { text-align: center; margin-bottom: 60px; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; display: block; }
.section-label-big { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 1rem; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-sub-large { color: var(--muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; font-weight: 400; line-height: 1.6; }
.serv-sub-lines { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1rem; font-size: 1.15rem; font-weight: 500; }
.serv-sub-gold { color: var(--gold); }
.serv-sub-normal { color: var(--muted); }

/* ── 6. RECENSIONI ── */
#recensioni { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.reviews-grid-2 { grid-template-columns: repeat(2,1fr); max-width: 800px; }
.review-card { background: var(--white); border: 1px solid #e8e2d8; border-radius: var(--r); padding: 2rem; transition: box-shadow 0.3s, transform 0.3s; }
.review-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-top: 3px; }
.review-text { color: #555; font-size: 0.9rem; line-height: 1.7; font-style: italic; }
.review-service { margin-top: 1rem; font-size: 0.75rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── 7. SERVIZI ── */
#servizi { background: var(--light); }
.servizi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.servizio-card {
  background: var(--navy); border-radius: var(--r);
  padding: 2.5rem 2rem; display: flex; flex-direction: column; align-items: center;
  transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.servizio-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.servizio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.servizio-card:hover::before { transform: scaleX(1); }
.serv-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.serv-icon i { font-size: 1.6rem; color: var(--dark); }
.serv-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; text-align: center; }
.serv-price-big { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--gold); text-align: center; margin: 0.8rem 0 1.5rem; flex: 1; display: flex; align-items: center; }
.serv-book-full {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(201,151,58,0.12); border: 1px solid rgba(201,151,58,0.35);
  color: var(--gold); padding: 0.7rem 1rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600; text-decoration: none; width: 100%;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.serv-book-full:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.serv-book-full i { color: #25D366; }
.serv-book-full:hover i { color: var(--dark); }
.servizi-cta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.8rem 2rem; background: var(--navy); border-radius: var(--r); max-width: 1200px; margin: 2rem auto 0; }
.servizi-cta span { color: rgba(255,255,255,0.7); font-size: 1rem; }
.servizi-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.servizi-cta-btn:hover { background: #1da851; transform: translateY(-2px); }

/* ── 8. CHI SIAMO ── */
#chi {
  background: var(--light);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0; padding: 0;
}
.chi-img {
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.35)),
    url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=800&q=80') center/cover;
  min-height: 100vh;
}
.chi-content {
  padding: 80px 5%;
  display: flex; flex-direction: column; justify-content: flex-start;
  background: var(--light);
}
.chi-map {
  height: 100%;
  min-height: 100vh;
}
.chi-map iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.chi-location {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark); margin-bottom: 2.5rem; line-height: 1.3;
}
.chi-location .loc-main { font-size: 3rem; display: block; }
.chi-location .loc-sub  { font-size: 2rem; display: block; }

/* ── 9. DOVE ── */
#dove { background: var(--white); padding: 90px 5%; }
.dove-full { max-width: 1100px; margin: 0 auto; }
.features { display: flex; flex-direction: column; gap: 1rem; }
.feature { display: flex; align-items: flex-start; gap: 14px; padding: 1rem 1.2rem; background: var(--white); border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.feature-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon i { color: var(--white); font-size: 0.85rem; }
.feature-title { font-weight: 600; font-size: 0.92rem; color: var(--dark); margin-bottom: 2px; }
.feature-desc { font-size: 0.83rem; color: var(--muted); }

/* ── 9. CONTATTI ── */
#dove { background: var(--white); }
.orari-wrap { max-width: 900px; margin: 0 auto 3rem; }
.orari-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-bottom: 12px;
}
.orario-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.6rem 1rem; background: var(--light);
  border-radius: 8px; border: 1px solid #e8e2d8;
  text-decoration: none; transition: background 0.2s, border-color 0.2s, transform 0.2s; gap: 0.5rem;
}
.orario-cell:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.orario-cell:hover .orario-giorno,
.orario-cell:hover .orario-fascia,
.orario-cell:hover .orario-prenota { color: var(--dark); }
.orario-giorno { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.orario-fascia { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.orario-prenota { font-size: 0.75rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }
.orari-chiuso-label {
  text-align: center; margin-top: 1rem;
  font-size: 0.85rem; color: #c0453a;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.dove-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-items { display: flex; flex-direction: column; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 1.6rem 0; border-bottom: 1px solid #eee; }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }
.contact-icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon-wrap i { color: var(--white); font-size: 1rem; }
.contact-label { font-weight: 700; font-size: 0.95rem; color: var(--dark); margin-bottom: 4px; }
.contact-val { color: #555; font-size: 0.9rem; line-height: 1.6; }
.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.12); height: 220px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── 10. FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 0 5%; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; height: 72px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-left { display: flex; align-items: center; }
.footer-center { display: flex; justify-content: center; align-items: center; }
.footer-center p { font-size: 0.88rem; color: rgba(255,255,255,0.45); letter-spacing: 0.03em; text-align: center; line-height: 1.7; }
.footer-right { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 0.8rem; }
.footer-social-icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1.1rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.footer-social-icon:hover { background: var(--gold); color: var(--white); }
.footer-bottom { text-align: center; padding: 1.2rem 0; font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ── 11. WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.4); color: white; font-size: 1.6rem; transition: transform 0.3s; animation: fadeIn 1s ease 2s both; }
.wa-float:hover { transform: scale(1.1); }
.wa-float-tooltip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--dark); color: white; white-space: nowrap; padding: 0.4rem 0.9rem; border-radius: 6px; font-size: 0.82rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ── 12. ANIMAZIONI ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes scrollPulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }
.reveal { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.vis { opacity:1; transform:translateY(0); }
.d1{transition-delay:.1s;} .d2{transition-delay:.2s;} .d3{transition-delay:.3s;} .d4{transition-delay:.4s;}

/* ── 13. RESPONSIVE ── */
@media (max-width: 1024px) {
  .servizi-grid  { grid-template-columns: repeat(2,1fr); }
  .reviews-grid  { grid-template-columns: 1fr 1fr; }
  .reviews-grid-2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .hero-panel    { display: none; }
  .hero-inner    { grid-template-columns: 1fr; justify-items: center; }
  .hero-content  { text-align: center; }
  .hero-title    { white-space: normal; font-size: clamp(1.6rem, 4vw, 2.8rem); }
  .hero-sub      { margin: 0 auto 1.5rem; }
}
@media (max-width: 768px) {
  .nav-links     { display: none; }
  .hamburger     { display: flex; }
  section        { padding: 60px 5%; }
  .hero-inner    { padding: 0 5%; }
  .servizi-grid  { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  #chi           { grid-template-columns: 1fr; }
  .chi-img       { min-height: 50vh; }
  .chi-map       { min-height: 300px; }
  .chi-content   { padding: 50px 5%; }
  .chi-location  { font-size: 2rem; }
  .dove-grid     { grid-template-columns: 1fr; gap: 40px; }
  .orari-strip   { grid-template-columns: repeat(4,1fr); }
  .footer-top    { grid-template-columns: 1fr; height: auto; padding: 1.5rem 0; text-align: center; gap: 1rem; }
  .footer-left   { justify-content: center; }
  .footer-right  { justify-content: center; }
}
