
/* ============ 4MEN Barber Shop — Luxury Dark Theme ============ */
:root{
  --bg: #0a0a0d;
  --bg-soft: #101015;
  --card: #16161d;
  --line: rgba(201,162,75,.28);
  --gold: #c9a24b;
  --gold-light: #e6c987;
  --gold-dark: #9a7a2e;
  --text: #f3eee2;
  --muted: #a9a395;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 78px;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
.container{ width:min(1180px, 92%); margin-inline:auto; }

::selection{ background:var(--gold); color:#111; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:#2c2c36; border-radius:6px; }
::-webkit-scrollbar-thumb:hover{ background:var(--gold-dark); }

/* ---------- Header / Nav ---------- */
#header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  transition:background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
#header.scrolled{
  background:rgba(10,10,13,.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 40px rgba(0,0,0,.5);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:var(--header-h);
}
.logo{
  font-family:var(--serif);
  font-size:1.9rem; letter-spacing:4px; font-weight:700;
  color:var(--text); position:relative; z-index:70;
  transition:letter-spacing .4s ease;
}
.logo:hover{ letter-spacing:6px; }
.logo span{ color:var(--gold); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:6px;
  width:46px; height:46px; background:transparent; border:1px solid var(--line);
  border-radius:8px; cursor:pointer; padding:10px; z-index:70;
  transition:border-color .3s ease, background .3s ease;
}
.nav-toggle span{
  display:block; height:2px; width:100%; background:var(--gold-light);
  border-radius:2px; transition:transform .35s ease, opacity .3s ease;
}
.nav-toggle:hover{ border-color:var(--gold); }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.nav-menu{ display:flex; align-items:center; gap:2.1rem; }
.nav-link{
  position:relative; font-size:.95rem; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--muted); padding:6px 0;
  transition:color .3s ease;
}
.nav-link::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--gold); transition:width .35s ease;
}
.nav-link:hover{ color:var(--gold-light); }
.nav-link:hover::after{ width:100%; }

.nav-cta{
  font-size:.85rem; letter-spacing:1.5px; text-transform:uppercase;
  color:#111; background:linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  padding:.7rem 1.4rem; border-radius:4px; font-weight:700;
  transition:transform .3s ease, box-shadow .3s ease;
  box-shadow:0 6px 20px rgba(201,162,75,.25);
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(201,162,75,.4); }

.nav-overlay{ display:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; min-height:100dvh;
  display:flex; align-items:center; justify-content:center; text-align:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:-4%;
  background-size:cover; background-position:center;
  animation:kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns{
  from{ transform:scale(1); }
  to{ transform:scale(1.1); }
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(10,10,13,.72) 0%, rgba(10,10,13,.55) 45%, rgba(10,10,13,.94) 100%);
}
.hero-content{
  position:relative; z-index:2; width:min(900px, 92%);
  padding-top:var(--header-h);
}
.hero-badge{
  display:inline-flex; align-items:center; gap:.6rem;
  border:1px solid var(--line); color:var(--gold-light);
  padding:.55rem 1.3rem; border-radius:40px; font-size:.9rem; letter-spacing:2px;
  text-transform:uppercase; background:rgba(10,10,13,.45); backdrop-filter:blur(6px);
  opacity:0; animation:fadeUp .9s ease .2s forwards;
}
.hero-badge .star{ color:var(--gold); }
.hero-title{
  font-family:var(--serif); font-weight:700;
  font-size:clamp(3.2rem, 9vw, 6.8rem); line-height:1.02; letter-spacing:6px;
  margin:1.4rem 0 .4rem; text-transform:uppercase;
  opacity:0; animation:fadeUp .9s ease .4s forwards;
}
.hero-title span{
  display:block; font-size:clamp(1rem, 2.6vw, 1.6rem); letter-spacing:10px;
  color:var(--gold); font-family:var(--sans); font-weight:600;
  margin-top:.9rem; text-transform:uppercase;
}
.hero-subtitle{
  color:var(--muted); font-size:clamp(1rem, 2.2vw, 1.2rem); max-width:640px;
  margin:0 auto 2.4rem;
  opacity:0; animation:fadeUp .9s ease .6s forwards;
}
.hero-actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap;
  opacity:0; animation:fadeUp .9s ease .8s forwards; }
.btn{
  display:inline-block; padding:.95rem 2.2rem; border-radius:4px;
  font-size:.9rem; letter-spacing:2px; text-transform:uppercase; font-weight:700;
  transition:transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  cursor:pointer;
}
.btn-gold{
  color:#111; background:linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow:0 10px 30px rgba(201,162,75,.3);
}
.btn-gold:hover{ transform:translateY(-3px); box-shadow:0 16px 40px rgba(201,162,75,.45); }
.btn-ghost{
  color:var(--gold-light); border:1px solid var(--line); background:rgba(10,10,13,.35);
  backdrop-filter:blur(4px);
}
.btn-ghost:hover{ transform:translateY(-3px); border-color:var(--gold); background:rgba(201,162,75,.08); }

.scroll-hint{
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  z-index:2; width:26px; height:44px; border:1px solid var(--line); border-radius:20px;
  display:flex; justify-content:center; padding-top:8px;
  opacity:0; animation:fadeUp 1s ease 1.4s forwards;
}
.scroll-hint span{
  width:3px; height:9px; border-radius:3px; background:var(--gold);
  animation:scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{ transform:translateY(0); opacity:1; }
  70%{ transform:translateY(14px); opacity:0; }
  100%{ transform:translateY(0); opacity:0; }
}
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(34px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ---------- Sections ---------- */
.section{ padding:6.5rem 0; position:relative; }
.section-alt{ background:var(--bg-soft); }
.section-tag{
  display:inline-block; color:var(--gold); letter-spacing:4px; text-transform:uppercase;
  font-size:.82rem; font-weight:700; margin-bottom:1rem; position:relative; padding-left:2.2rem;
}
.section-tag::before{
  content:""; position:absolute; left:0; top:50%; width:1.5rem; height:1px; background:var(--gold);
}
.section-title{
  font-family:var(--serif); font-size:clamp(1.9rem, 4.4vw, 3rem); line-height:1.15;
  font-weight:700; margin-bottom:1.2rem;
}
.section-title em{ font-style:normal; color:var(--gold); }
.section-lead{ color:var(--muted); max-width:640px; font-size:1.05rem; }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:4rem; align-items:center; }
.about-images{ position:relative; padding-bottom:3.5rem; padding-right:3.5rem; }
.about-images img{
  border-radius:6px; box-shadow:0 30px 70px rgba(0,0,0,.55);
  border:1px solid rgba(201,162,75,.18);
}
.about-img-main{ width:100%; height:460px; object-fit:cover; }
.about-img-small{
  position:absolute; right:0; bottom:0; width:52%; height:250px; object-fit:cover;
  border:6px solid var(--bg) !important; border-radius:6px;
}
.about-img-small::after{ content:""; }
.about-frame{
  position:absolute; left:-18px; top:-18px; width:110px; height:110px;
  border-left:1px solid var(--gold); border-top:1px solid var(--gold); border-radius:4px;
}
.about-text p{ color:var(--muted); margin-bottom:1.1rem; }
.about-text p strong{ color:var(--gold-light); font-weight:600; }
.stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2.4rem;
  border-top:1px solid var(--line); padding-top:2rem;
}
.stat{ text-align:left; }
.stat-num{
  font-family:var(--serif); font-size:2.2rem; color:var(--gold); font-weight:700; display:block; line-height:1.1;
}
.stat-label{ font-size:.8rem; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); }

/* ---------- Marquee strip ---------- */
.strip{
  overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:linear-gradient(90deg, rgba(201,162,75,.06), rgba(201,162,75,.14), rgba(201,162,75,.06));
  padding:1.1rem 0; white-space:nowrap;
}
.strip-track{
  display:inline-block; white-space:nowrap; animation:marquee 26s linear infinite;
}
.strip-track span{
  font-family:var(--serif); font-size:1.15rem; letter-spacing:5px; text-transform:uppercase;
  color:var(--gold-light); margin:0 1.4rem;
}
.strip-track .dot{ color:var(--gold-dark); }
@keyframes marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ---------- Services ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.4rem; margin-top:3rem;
}
.service-card{
  position:relative; background:var(--card); border:1px solid rgba(255,255,255,.06);
  border-radius:8px; padding:2.1rem 1.8rem; overflow:hidden;
  transition:transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.service-card::before{
  content:""; position:absolute; left:0; top:0; height:3px; width:0;
  background:linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition:width .5s ease;
}
.service-card:hover{
  transform:translateY(-8px); border-color:var(--line);
  box-shadow:0 24px 50px rgba(0,0,0,.5);
}
.service-card:hover::before{ width:100%; }
.service-icon{
  width:52px; height:52px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:1.3rem;
  color:var(--gold); font-size:1.3rem; transition:background .35s ease, color .35s ease, transform .35s ease;
}
.service-card:hover .service-icon{ background:var(--gold); color:#111; transform:rotate(-8deg) scale(1.06); }
.service-name{
  font-family:var(--serif); font-size:1.25rem; margin-bottom:.5rem; display:flex; justify-content:space-between; align-items:baseline; gap:.8rem;
}
.service-price{
  font-family:var(--serif); color:var(--gold); font-size:1.15rem; white-space:nowrap;
}
.service-desc{ color:var(--muted); font-size:.92rem; }
.service-note{
  margin-top:2.6rem; text-align:center; color:var(--muted); font-size:.92rem;
  border:1px dashed var(--line); padding:1rem; border-radius:6px; max-width:560px; margin-inline:auto;
}
.service-note a{ color:var(--gold-light); border-bottom:1px solid var(--line); transition:border-color .3s; }
.service-note a:hover{ border-color:var(--gold); }

/* ---------- Gallery ---------- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; margin-top:3rem;
}
.g-item{
  position:relative; overflow:hidden; border-radius:8px; border:1px solid rgba(255,255,255,.06);
  aspect-ratio:3/4; cursor:pointer;
}
.g-item.wide{ aspect-ratio:3/4; }
.g-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.g-item::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(10,10,13,.82));
  opacity:.85; transition:opacity .4s ease;
}
.g-item figcaption{
  position:absolute; left:1.1rem; bottom:1rem; z-index:2;
  font-family:var(--serif); font-size:1.05rem; letter-spacing:2px; color:var(--gold-light);
  text-transform:uppercase; transform:translateY(10px); opacity:0;
  transition:transform .45s ease, opacity .45s ease;
}
.g-item:hover img{ transform:scale(1.12); }
.g-item:hover::after{ opacity:.95; }
.g-item:hover figcaption{ transform:translateY(0); opacity:1; }

/* ---------- Schedule / Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:4rem; align-items:start; }
.info-card{
  background:var(--card); border:1px solid rgba(255,255,255,.06); border-radius:10px; padding:2.2rem;
}
.info-item{ display:flex; gap:1.1rem; padding:1.1rem 0; border-bottom:1px solid rgba(255,255,255,.06); }
.info-item:last-child{ border-bottom:none; }
.info-ico{
  flex:0 0 44px; height:44px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--gold);
}
.info-item h4{ font-size:.8rem; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:.2rem; }
.info-item p, .info-item a{ color:var(--text); }
.info-item a:hover{ color:var(--gold-light); }
.status-pill{
  display:inline-flex; align-items:center; gap:.5rem; margin-top:.5rem;
  padding:.35rem .9rem; border-radius:30px; font-size:.8rem; letter-spacing:1px; text-transform:uppercase;
}
.status-pill .pulse{
  width:8px; height:8px; border-radius:50%; background:#4ade80; animation:pulse 1.6s infinite;
}
.status-pill.closed .pulse{ background:#f87171; animation:none; }
.status-pill.open{ background:rgba(74,222,128,.12); color:#86efac; border:1px solid rgba(74,222,128,.3); }
.status-pill.closed{ background:rgba(248,113,113,.1); color:#fca5a5; border:1px solid rgba(248,113,113,.3); }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(74,222,128,.5); }
  70%{ box-shadow:0 0 0 8px rgba(74,222,128,0); }
  100%{ box-shadow:0 0 0 0 rgba(74,222,128,0); }
}

.hours-card{
  background:var(--card); border:1px solid rgba(255,255,255,.06); border-radius:10px; padding:2.2rem;
}
.hours-title{ font-family:var(--serif); font-size:1.5rem; margin-bottom:1.2rem; display:flex; align-items:center; gap:.7rem; }
.hours-title .small{ font-family:var(--sans); font-size:.75rem; color:var(--muted); letter-spacing:1px; text-transform:uppercase; }
.hours-list li{
  display:flex; justify-content:space-between; align-items:center;
  padding:.85rem 1rem; border-radius:6px; transition:background .3s ease;
}
.hours-list li:nth-child(even){ background:rgba(255,255,255,.025); }
.hours-list li.today{
  background:rgba(201,162,75,.12); border:1px solid var(--line); color:var(--gold-light);
}
.hours-list li.today .day{ color:var(--gold-light); font-weight:700; }
.hours-list li.today::after{ content:"Astăzi"; font-size:.68rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); }
.hours-list .day{ font-weight:600; letter-spacing:.5px; }
.hours-list .time{ color:var(--muted); font-variant-numeric:tabular-nums; }
.hours-list li.today .time{ color:var(--gold-light); }
.hours-list .closed{ color:#f87171; }
.map-btn{
  display:flex; align-items:center; justify-content:center; gap:.6rem; margin-top:1.4rem;
  padding:.95rem; border:1px solid var(--line); border-radius:6px; color:var(--gold-light);
  font-size:.85rem; letter-spacing:2px; text-transform:uppercase; font-weight:700;
  transition:background .3s ease, border-color .3s ease, transform .3s ease;
}
.map-btn:hover{ background:rgba(201,162,75,.1); border-color:var(--gold); transform:translateY(-2px); }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; text-align:center; padding:5.5rem 1.5rem;
  background:linear-gradient(135deg, rgba(201,162,75,.14), rgba(201,162,75,.04)), var(--bg-soft);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  overflow:hidden;
}
.cta-band::before, .cta-band::after{
  content:"◆"; position:absolute; color:var(--gold-dark); font-size:1.1rem; opacity:.5;
}
.cta-band::before{ top:1.6rem; left:50%; transform:translateX(-50%); }
.cta-band::after{ bottom:1.6rem; left:50%; transform:translateX(-50%); }
.cta-band h2{ font-family:var(--serif); font-size:clamp(1.8rem,4vw,2.8rem); margin-bottom:.8rem; }
.cta-band p{ color:var(--muted); max-width:560px; margin:0 auto 2rem; }

/* ---------- Footer ---------- */
footer{
  background:#070709; border-top:1px solid rgba(255,255,255,.05); padding:3rem 0 2rem; text-align:center;
}
.footer-logo{ font-family:var(--serif); font-size:1.7rem; letter-spacing:5px; margin-bottom:.6rem; }
.footer-logo span{ color:var(--gold); }
.footer-addr{ color:var(--muted); font-size:.92rem; margin-bottom:1.4rem; }
.footer-links{ display:flex; justify-content:center; gap:2rem; flex-wrap:wrap; margin-bottom:1.6rem; }
.footer-links a{ color:var(--muted); font-size:.85rem; letter-spacing:1.5px; text-transform:uppercase; transition:color .3s; }
.footer-links a:hover{ color:var(--gold-light); }
.footer-copy{ color:#5c5a55; font-size:.8rem; letter-spacing:1px; }

/* ---------- Reveal animations ---------- */
.reveal{
  opacity:0; transform:translateY(36px);
  transition:opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
  will-change:opacity, transform;
}
.reveal.visible{ opacity:1; transform:none; }
.reveal-left{ transform:translateX(-46px); }
.reveal-right{ transform:translateX(46px); }
.reveal-left.visible, .reveal-right.visible{ transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px){
  .nav-toggle{ display:flex; }
  .nav-overlay{
    display:block; position:fixed; inset:0; z-index:55;
    background:rgba(0,0,0,.68); backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    opacity:0; visibility:hidden; transition:opacity .4s ease, visibility .4s ease;
  }
  .nav-overlay.show{ opacity:1; visibility:visible; }
  .nav-menu{
    position:fixed; top:0; right:0; z-index:60;
    height:100vh; height:100dvh; width:min(80vw, 340px);
    flex-direction:column; justify-content:center; align-items:center; gap:2.2rem;
    background:linear-gradient(180deg, rgba(13,13,18,.98), rgba(13,13,18,.98));
    border-left:1px solid var(--line);
    transform:translateX(105%);
    transition:transform .5s cubic-bezier(.77,0,.18,1);
    padding:6rem 2rem 2rem;
  }
  .nav-menu.open{ transform:translateX(0); }
  .nav-menu .nav-cta{ margin-top:.6rem; }
  .about-grid{ grid-template-columns:1fr; gap:3.2rem; }
  .about-img-main{ height:380px; }
  .contact-grid{ grid-template-columns:1fr; gap:2.4rem; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .section{ padding:4.6rem 0; }
  .gallery-grid{ grid-template-columns:1fr 1fr; gap:.7rem; }
  .g-item figcaption{ font-size:.8rem; left:.8rem; bottom:.7rem; }
  .stats{ grid-template-columns:repeat(3,1fr); gap:.6rem; }
  .stat-num{ font-size:1.7rem; }
  .hero-actions .btn{ width:100%; text-align:center; }
  .about-images{ padding-right:0; padding-bottom:3rem; }
  .about-img-small{ width:58%; height:190px; }
  .hours-list li{ font-size:.9rem; }
  .info-card, .hours-card{ padding:1.6rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
}
