/* ============================================================
   Kadell Coffee & Barber — Piatra Neamț
   Design system preluat 1:1 din site-ul oficial:
   font Outfit (800 heading / 300 body), accent #91765A,
   dark #14100C, cream #F5EEE7, black #000.
   ============================================================ */

:root {
  --white: #ffffff;
  --black: #000000;
  --dark: #14100c;        /* maro foarte închis — fundal premium */
  --cream: #f5eee7;       /* fundal secțiuni light */
  --accent: #91765a;      /* maro-auriu */
  --accent-dark: #75604a;
  --muted: #625c56;
  --text: #2a2521;

  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--dark);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section { padding: 100px 0; }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 60px;
}
.section-title.light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 34px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn-lg { padding: 16px 46px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(145,118,90,.35); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
}
.logo img { height: 124px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

/* ---- Selector limbă ---- */
.lang-switch { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.lang-switch button {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.5px; color: #8a847c; padding: 2px 2px; transition: color 0.2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: var(--accent); }
.lang-switch span { color: #4a453f; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 28px; height: 2px; background: #fff; transition: 0.3s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(20,16,12,.45), rgba(20,16,12,.55)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center 35%;
}
.hero-content { position: relative; z-index: 2; padding-top: 140px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 6rem);
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-sub {
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 40px;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}

/* ============ INTRO SPLIT ============ */
.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.intro-text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 26px; }
.intro-text p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.check-list { list-style: none; margin-top: 28px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--dark);
}
.check-list li::before {
  content: "✔";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 800;
}
.intro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.intro-media img { border-radius: 8px; height: 100%; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.intro-media img:nth-child(2) { margin-top: 40px; }

/* ============ 3 BOXES ============ */
.boxes { background: var(--cream); padding-top: 0; }
.boxes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.box { text-align: left; }
.box-icon {
  width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px;
  /* colorez iconițele PNG în accentul maro-auriu (#91765a), uniform */
  filter: brightness(0) saturate(100%) invert(48%) sepia(19%) saturate(680%) hue-rotate(357deg) brightness(92%) contrast(85%);
}
.box-icon-svg { width: 60px; height: 60px; margin-bottom: 18px; color: var(--accent); }
.box h3 { font-size: 1.5rem; margin-bottom: 12px; }
.box p { color: var(--muted); }

/* ============ ABOUT SPLIT ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.about-img { background-size: cover; background-position: center; }
.about-panel { background: var(--dark); display: flex; align-items: center; padding: 60px; }
.about-panel-inner { max-width: 520px; }
.about-panel h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.about-panel p { color: #d9d2ca; margin-bottom: 32px; font-size: 1.08rem; }
.about-panel strong { color: #fff; }

/* ============ SERVICES GRID (photo cards) ============ */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 34px 20px;
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); }
.service-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,12,.85) 0%, rgba(20,16,12,.25) 55%, rgba(20,16,12,.15) 100%);
  transition: background 0.3s;
}
.service-card:hover .service-overlay { background: linear-gradient(to top, rgba(145,118,90,.9) 0%, rgba(20,16,12,.35) 60%, rgba(20,16,12,.15) 100%); }
.service-icon { position: relative; z-index: 2; width: 54px; height: 54px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.service-icon-svg { position: relative; z-index: 2; width: 54px; height: 54px; margin-bottom: 16px; }
.service-card h5 { position: relative; z-index: 2; color: #fff; font-size: 1.35rem; text-align: center; }

/* ============ CAFENEA ============ */
.cafe { background: var(--cream); }
.cafe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cafe-media img { border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.18); width: 100%; }
.cafe-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 22px; }
.cafe-text > p { color: var(--muted); margin-bottom: 26px; font-size: 1.05rem; }
.cafe-menu { list-style: none; margin-bottom: 16px; }
.cafe-menu li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #d8cdc0; font-size: 1.1rem; font-weight: 500; }
.cafe-menu li .dots { flex: 1; border-bottom: 2px dotted #d0c4b6; }
.cafe-menu li span:last-child { color: var(--accent); font-weight: 700; }
.note { color: var(--muted); font-size: 0.85rem; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  position: relative;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.testimonials-overlay { position: absolute; inset: 0; background: rgba(15,12,9,.8); }
.testimonials-inner { position: relative; z-index: 2; }
.testimonial-track { max-width: 820px; margin: 0 auto; position: relative; min-height: 240px; padding: 0 60px; }
.testimonial { display: none; text-align: center; animation: fade .6s ease; }
.testimonial.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testimonial figcaption { font-weight: 700; color: var(--accent); font-size: 1.3rem; margin-bottom: 18px; }
.testimonial blockquote { font-size: 1.15rem; color: #efe9e2; margin-bottom: 24px; line-height: 1.85; font-weight: 300; }
.stars { color: #f2b01e; letter-spacing: 3px; font-size: 1.25rem; }
.stars.big { font-size: 1.5rem; margin-bottom: 20px; }
.t-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.6rem; line-height: 1;
  border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  transition: 0.2s;
}
.t-arrow:hover { background: var(--accent); border-color: var(--accent); }
.t-arrow.prev { left: 0; }
.t-arrow.next { right: 0; }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.testimonial-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: 0.2s; padding: 0; }
.testimonial-dots button.active { background: var(--accent); transform: scale(1.25); }

/* ============ TEAM ============ */
.team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-member { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.team-member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-member figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 20px 22px;
  background: linear-gradient(to top, rgba(20,16,12,.9), transparent);
  color: #fff; font-weight: 800; font-size: 1.4rem; text-align: center;
}

/* ============ CTA ============ */
.cta {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(15,12,9,.86); }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.cta-left h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 8px 0 24px; }
.cta-phone a { font-weight: 800; font-size: 1.9rem; color: var(--accent); }
.cta-addr { color: #d9d2ca; margin: 14px 0; }
.cta-mail a { color: #d9d2ca; }
.cta-mail a:hover { color: var(--accent); }
.cta-right { text-align: center; }
.cta-right h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 28px; }

/* ============ FOOTER ============ */
.site-footer { background: #0c0a08; color: #cfc9c1; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 46px; }
.footer-col h4 { color: var(--accent); font-size: 1.35rem; margin-bottom: 20px; }
.footer-col p { margin-bottom: 10px; font-weight: 300; }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 20px; margin-top: 18px; }
.socials a { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #211d18; font-size: 0.95rem; font-weight: 300; }
.hours li span:first-child { font-weight: 600; color: #fff; }
.footer-bottom { border-top: 1px solid #211d18; padding: 22px 0; text-align: center; font-size: 0.85rem; color: #7a746c; }

/* ============ RESPONSIVE ============ */

/* ---- Tabletă & sub (meniu hamburger) ---- */
@media (max-width: 980px) {
  .header-inner { height: 104px; }
  .logo img { height: 88px; }

  .nav {
    position: fixed;
    top: 104px; right: 0;
    width: min(80vw, 300px); height: calc(100vh - 104px);
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav .nav-cta { margin-top: 6px; }
  .lang-switch { margin-left: 0; margin-top: 10px; }

  .hero-content { padding-top: 104px; }

  .intro-grid, .cafe-grid, .cta-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-split { grid-template-columns: 1fr; }
  .about-img { min-height: 300px; }
  .about-panel { padding: 48px 30px; }
  .boxes-grid { grid-template-columns: 1fr; gap: 32px; }
  .box { text-align: center; }
  .box-icon { margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cafe-media { order: -1; }
  .testimonials { background-attachment: scroll; }
  .cta-grid { text-align: center; }
  .cta-right { margin-top: 10px; }
}

/* ---- Telefon ---- */
@media (max-width: 600px) {
  .header-inner { height: 88px; }
  .logo img { height: 68px; }
  .nav { top: 88px; height: calc(100vh - 88px); }
  .hero-content { padding-top: 88px; }

  .section { padding: 60px 0; }
  .boxes { padding-top: 0; }
  .container { padding: 0 20px; }

  .hero-title { font-size: clamp(2rem, 11vw, 3rem); }
  .section-title { margin-bottom: 40px; }

  .services-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .service-card { aspect-ratio: 16 / 10; }

  .intro-media { gap: 12px; }
  .intro-media img:nth-child(2) { margin-top: 0; }

  .cafe-menu li { font-size: 1rem; }
  .testimonial-track { padding: 0 8px; min-height: 300px; }
  .testimonial blockquote { font-size: 1.05rem; }
  .t-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .t-arrow.prev { left: -6px; }
  .t-arrow.next { right: -6px; }

  .cta-phone a { font-size: 1.6rem; }
  .btn-lg { padding: 14px 32px; font-size: 1rem; }
}
