/* ═══════════════════════════════════════════════
   ROMEO ANTONIO MARIO — Cuoio e Pellami
   style.css · v1.0
   ═══════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

/* ── PALETTE ── */
:root {
  --bg:        #6E5B42;
  --bg2:       #6E5B42;
  --bg3:       #241c0a;
  --light:     #f0e6ce;
  --light2:    #e8dcc0;
  --gold:      #c49a4a;
  --gold2:     #d9a84a;
  --orange:    #C49A4A;
  --orange2:   #d9963c;
  --text-dk:   #d4c4a0;   /* testo su sfondi scuri */
  --text-lt:   #3a2810;   /* testo su sfondi chiari */
  --muted-dk:  #8a7455;   /* muted su scuro */
  --muted-lt:  #7a6040;   /* muted su chiaro */
  --white:     #ffffff;
  --radius:    4px;
}

/* ── BODY ── */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dk);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 300;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 64px;
  background: #6E5B42;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 154, 74, 0.12);
  transition: padding .3s;
}
nav.scrolled { padding: 12px 64px; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: .95rem; letter-spacing: .5px;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.5); font-size: .73rem;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--orange); color: var(--white);
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 24px; border-radius: var(--radius);
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--orange2); }

/* hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .3s;
}
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  background: rgba(18,14,6,.98);
  border-top: 1px solid rgba(196,154,74,.12);
  position: fixed; top: 57px; left: 0; right: 0;
  z-index: 299; padding: 8px 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.65); font-size: .8rem;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   SHARED UTILITIES
   ═══════════════════════════════════════════════ */
.sec-dark   { background: var(--bg2);  padding: 100px 64px; }
.sec-light  { background: var(--light); padding: 100px 64px; }
.sec-darker { background: var(--bg);   padding: 100px 64px; }

.inner { max-width: 1100px; margin: 0 auto; }

.eyebrow-d {
  display: block; font-size: .68rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.eyebrow-l {
  display: block; font-size: .68rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px; text-align: center;
}
h2.title-d {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 36px;
}
h2.title-l {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900;
  color: var(--text-lt); line-height: 1.15; margin-bottom: 48px;
  text-align: center; text-transform: uppercase;
}
.divider-gold { width: 50px; height: 3px; background: var(--gold); margin-bottom: 32px; }

.btn-orange {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 12px 28px;
  border-radius: var(--radius); text-decoration: none;
  transition: background .2s;
}
.btn-orange:hover { background: var(--orange2); }

/* ═══════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding: 140px 64px 100px; overflow: hidden;
}
.hero-bgimg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/img/PHOTO-2026-03-26-11-18-22 5.jpg');
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 8s ease;
}
.hero:hover .hero-bgimg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,7,2,.8) 0%, rgba(12,8,2,.48) 55%, rgba(15,10,3,.5) 100%)
}
.hero-content { position: relative; z-index: 2; max-width: 580px; }
.hero-pill {
  display: inline-block; font-size: .68rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(196,154,74,.4);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.08;
  color: var(--white); margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-desc {
  color: rgba(255,255,255,.8); line-height: 1.8;
  font-size: .92rem; max-width: 420px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-gold {
  border: 1px solid var(--gold); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 12px 26px;
  border-radius: var(--radius); text-decoration: none; transition: all .2s;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--bg); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75);
  font-size: .72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 12px 26px;
  border-radius: var(--radius); text-decoration: none; transition: all .2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); color: var(--white); }

/* ═══════════════════════════════════════════════
   2. CHI SIAMO
   ═══════════════════════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: .85; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, #7a3a0a 0%, #4a2008 50%, #2a1205 100%);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--gold); border-radius: var(--radius);
  padding: 20px 22px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.badge-num {
  font-family: 'Playfair Display', serif; font-size: 2.2rem;
  font-weight: 900; color: var(--bg); line-height: 1;
}
.badge-label { font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(30,20,5,.7); margin-top: 3px; }
.about-right p { color: rgba(255,255,255,.7); line-height: 1.85; font-size: .9rem; margin-bottom: 16px; }
.about-list { list-style: none; margin: 20px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-dk); }
.about-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   3. PRODOTTI (light)
   ═══════════════════════════════════════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 28px 32px; text-align: center;
  box-shadow: 0 2px 12px rgba(60,30,5,.08);
  transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(60,30,5,.14); }
.card-icon { width: 64px; height: 64px; margin: 0 auto 22px; }
.card-icon svg { width: 64px; height: 64px; }
.prod-card h3 { font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-lt); margin-bottom: 10px; }
.prod-card p { font-size: .82rem; color: var(--muted-lt); line-height: 1.65; }
.card-dots { margin-top: 18px; color: rgba(60,30,5,.2); letter-spacing: 4px; }

/* ═══════════════════════════════════════════════
   4. CTA BANNER
   ═══════════════════════════════════════════════ */
.cta-banner {
  background: var(--orange); padding: 60px 64px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif; color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 900;
  max-width: 560px; line-height: 1.2;
}
.btn-dark {
  background: var(--bg); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 13px 30px;
  border-radius: var(--radius); text-decoration: none;
  white-space: nowrap; transition: all .2s;
}
.btn-dark:hover { background: #000; color: var(--orange2); }

/* ═══════════════════════════════════════════════
   5. FEATURES
   ═══════════════════════════════════════════════ */
.feat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feat-img {
  width: 100%; aspect-ratio: .85; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, #7a3a0a 0%, #4a2008 50%, #2a1205 100%);
  position: relative;
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-list { display: flex; flex-direction: column; gap: 4px; }
.feat-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 24px 26px; transition: border-color .2s; margin-bottom: 10px;
}
.feat-box:hover { border-color: rgba(196,154,74,.35); }
.feat-box h4 { font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.feat-box p { font-size: .86rem; color: rgba(255,255,255,.45); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   6. STATS
   ═══════════════════════════════════════════════ */
.stats { background: var(--bg3); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.stat { padding: 72px 20px; border-right: 1px solid rgba(255,255,255,.07); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: 10px; }

/* ═══════════════════════════════════════════════
   7. GALLERY
   ═══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  
 
}
.gallery-item:nth-child(1) { grid-column: span 2;  }
.gallery-item:nth-child(6) { grid-column: span 2;  }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(18,14,6,0); transition: background .3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { background: rgba(18,14,6,.45); }
.gallery-zoom { color: var(--white); font-size: 2rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92); display: none;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 2rem; cursor: pointer;
  line-height: 1; background: none; border: none;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   8. CONTATTI + FORM
   ═══════════════════════════════════════════════ */
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ci-items { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(196,154,74,.3);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  background: rgba(196,154,74,.06);
}
.ci-body h4 { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 700; }
.ci-body p, .ci-body a { font-size: .88rem; color: var(--text-dk); line-height: 1.65; text-decoration: none; }
.ci-body a:hover { color: var(--gold); }

/* hours */
.hours-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 36px; margin-bottom: 28px;
}
.hours-box h3 {
  font-family: 'Playfair Display', serif; color: var(--white);
  font-size: 1.1rem; font-weight: 700; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(196,154,74,.25);
}
.hrow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .86rem;
}
.hrow:last-child { border: none; }
.hday { color: rgba(255,255,255,.45); }
.htime { color: var(--text-dk); font-weight: 500; }
.htime.closed { color: rgba(255,255,255,.2); font-style: italic; font-weight: 400; }
.hbadge {
  background: rgba(196,130,42,.18); color: var(--orange2);
  font-size: .6rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 7px; border-radius: 2px; margin-left: 6px;
}

/* contact form */
.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 36px; }
.contact-form h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.1rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(196,154,74,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 11px 14px; color: var(--text-dk);
  font-family: 'Inter', sans-serif; font-size: .88rem;
  outline: none; transition: border-color .2s; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.gdpr-wrap { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.gdpr-wrap input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.gdpr-wrap label { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.6; cursor: pointer; }
.gdpr-wrap label a { color: var(--gold); text-decoration: underline; }
.btn-submit {
  width: 100%; background: var(--orange); color: var(--white);
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 14px; border: none;
  border-radius: var(--radius); cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--orange2); }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius); font-size: .85rem; text-align: center; }
.form-msg.success { background: rgba(80,160,80,.2); border: 1px solid rgba(80,160,80,.4); color: #90d090; display: block; }
.form-msg.error   { background: rgba(180,60,60,.2); border: 1px solid rgba(180,60,60,.4); color: #e09090; display: block; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: #0c0904; padding: 32px 64px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-logo { font-family: 'Playfair Display', serif; color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-logo span { color: var(--gold); }
footer p { color: rgba(255,255,255,.25); font-size: .75rem; }
footer a { color: rgba(255,255,255,.35); text-decoration: none; font-size: .75rem; }
footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  nav { padding: 16px 32px; }
  nav.scrolled { padding: 12px 32px; }
  .sec-dark, .sec-light, .sec-darker { padding: 80px 32px; }
  .hero { padding: 120px 32px 80px; }
  .cta-banner { padding: 50px 32px; }
  footer { padding: 28px 32px; }
}

@media (max-width: 1200px) {
  nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .sec-dark, .sec-light, .sec-darker { padding: 70px 24px; }
  .hero { padding: 110px 24px 70px; }
  .about-layout, .feat-layout, .contacts-layout { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 1;  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 50px 20px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .cta-banner { padding: 44px 24px; text-align: center; justify-content: center; }
  footer { flex-direction: column; text-align: center; padding: 28px 24px; }
  .badge { right: 0; bottom: -12px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 1; }
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
