/* ==========================================================================
   Sizzer Barbershop Kajang — stylesheet
   Palette drawn from the shop itself: the navy accent wall, warm wood
   counters/benches, and black styling chairs seen in the supplied photos.
   ========================================================================== */

:root {
  --ink: #0b0c0f;
  --ink-panel: #15161b;
  --ink-panel-2: #1b1c22;
  --line: rgba(255, 255, 255, 0.09);
  --paper: #f4f2ec;
  --paper-dim: #b7b8bf;
  --navy: #2a3568;
  --navy-bright: #4a5bab;
  --wood: #c99a67;
  --wood-dim: #8a6a45;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--wood);
  margin-bottom: 0.8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  min-height: 52px;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.btn-primary:hover { background: var(--wood); color: var(--ink); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 242, 236, 0.4);
}
.btn-secondary:hover { border-color: var(--paper); background: rgba(244, 242, 236, 0.08); transform: translateY(-1px); }

.btn-large {
  padding: 1.15rem 3rem;
  font-size: 1.1rem;
}

.hero-actions, .location-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 12, 15, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--paper-dim);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--paper-dim);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--paper); }

.header-call {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(244, 242, 236, 0.25);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.header-call:hover {
  border-color: var(--wood);
  background: rgba(201, 154, 103, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.92) contrast(1.03);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,12,0.94) 0%, rgba(8,9,12,0.72) 30%, rgba(8,9,12,0.25) 62%, rgba(8,9,12,0.55) 100%),
    linear-gradient(0deg, rgba(8,9,12,0.96) 0%, rgba(8,9,12,0.2) 42%, rgba(8,9,12,0.05) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 8rem 1.5rem 4.5rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--wood);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6.4rem);
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.hero-title-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
  text-stroke: 1.5px var(--paper);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
}
.stars {
  color: var(--wood);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.rating-text {
  font-size: 0.95rem;
  color: var(--paper-dim);
}
.rating-text strong { color: var(--paper); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--ink-panel);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--wood);
  font-weight: 600;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: 6.5rem 1.5rem;
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-image img {
  border-radius: 2px;
  border: 1px solid var(--line);
}
.about-text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--paper);
  margin-bottom: 1.3rem;
  max-width: 22ch;
}
.about-text p {
  color: var(--paper-dim);
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 1.1rem;
}

.hours-block {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hours-block h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  padding: 0.45rem 0;
  font-size: 0.94rem;
  color: var(--paper-dim);
  border-bottom: 1px dashed var(--line);
}
.hours-list li span:last-child {
  color: var(--paper);
}

/* ==========================================================================
   The Cuts — gallery
   ========================================================================== */
.cuts {
  padding: 6.5rem 1.5rem;
  background: var(--ink-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cuts-header {
  max-width: var(--container);
  margin: 0 auto 3rem;
}
.cuts-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--paper);
  margin-bottom: 0.8rem;
}
.cuts-sub {
  color: var(--paper-dim);
  max-width: 52ch;
}

.cuts-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 0.9rem;
}
.cuts-item {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  position: relative;
}
.cuts-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cuts-item:hover img { transform: scale(1.05); }

.cuts-item:nth-child(1) { grid-column: 1 / 3; grid-row: span 4; }
.cuts-item:nth-child(2) { grid-column: 3 / 5; grid-row: span 3; }
.cuts-item:nth-child(3) { grid-column: 5 / 7; grid-row: span 3; }
.cuts-item:nth-child(4) { grid-column: 3 / 5; grid-row: span 3; }
.cuts-item:nth-child(5) { grid-column: 5 / 7; grid-row: span 3; }

/* ==========================================================================
   The Space — full-width banner
   ========================================================================== */
.space-banner {
  position: relative;
}
.space-banner img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center 45%;
}
.space-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.6rem 2rem;
  background: linear-gradient(0deg, rgba(8,9,12,0.85), transparent);
  width: 100%;
}
.space-caption p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  max-width: var(--container);
  margin: 0 auto;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
  padding: 6.5rem 1.5rem;
}
.reviews-header {
  max-width: var(--container);
  margin: 0 auto 3rem;
  text-align: center;
}
.reviews-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--paper);
  max-width: 30ch;
  margin: 0 auto;
}

.reviews-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review-card {
  background: var(--ink-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 165px;
}
.review-card p {
  font-size: 1.02rem;
  color: var(--paper);
  line-height: 1.55;
}
.review-card cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--wood);
  text-transform: uppercase;
}
.review-card--cta {
  background: var(--navy);
  border-color: var(--navy-bright);
  justify-content: center;
  align-items: flex-start;
}
.review-card--cta p {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.review-card--cta a {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--paper);
  border-bottom: 1px solid rgba(244,242,236,0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.review-card--cta a:hover { border-color: var(--paper); }

/* ==========================================================================
   Location
   ========================================================================== */
.location {
  padding: 6.5rem 1.5rem 8rem;
  background: var(--ink-panel);
  border-top: 1px solid var(--line);
}
.location-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--paper);
  margin-bottom: 1.1rem;
}
.location-address {
  color: var(--paper-dim);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}
.location-phone {
  margin-bottom: 2rem;
}
.location-phone a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--wood);
}

.location-map {
  min-height: 340px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(0.15) contrast(1.05);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  padding: 7rem 1.5rem 9rem;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--paper);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 3rem 1.5rem 6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-inner p {
  color: var(--paper-dim);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-bottom: 0.6rem;
}
.footer-brand span {
  color: var(--paper-dim);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.4rem;
}
.site-footer a:hover { color: var(--wood); }

/* ==========================================================================
   Mobile sticky CTA bar
   ========================================================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 12, 15, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
}
.mobile-cta-call {
  background: var(--paper);
  color: var(--ink);
}
.mobile-cta-dir {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244,242,236,0.35);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-call { display: none; }
  .nav-toggle { display: flex; }

  .about-inner,
  .location-inner {
    grid-template-columns: 1fr;
  }
  .about-image { order: -1; }

  .cuts-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .cuts-item:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
  .cuts-item:nth-child(2) { grid-column: 1 / 2; grid-row: span 1; }
  .cuts-item:nth-child(3) { grid-column: 2 / 3; grid-row: span 1; }
  .cuts-item:nth-child(4) { grid-column: 1 / 2; grid-row: span 1; }
  .cuts-item:nth-child(5) { grid-column: 2 / 3; grid-row: span 1; }

  .reviews-grid { grid-template-columns: 1fr 1fr; }

  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 78px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0.9rem 1.2rem; }
  .hero-content { padding: 7rem 1.2rem 3.5rem; }
  .hero { min-height: 100vh; align-items: flex-end; }
  .hero-actions .btn { flex: 1; }

  .about, .cuts, .reviews, .location { padding-left: 1.2rem; padding-right: 1.2rem; }

  .reviews-grid { grid-template-columns: 1fr; }

  .final-cta { padding: 5rem 1.2rem 6rem; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 320px);
  background: var(--ink-panel);
  padding: 6.5rem 2rem 2rem;
  gap: 1.6rem;
  border-left: 1px solid var(--line);
  z-index: 99;
}
.main-nav.open a { font-size: 1.1rem; color: var(--paper); }

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 98;
}
.nav-scrim.open { display: block; }
