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

body {
  font-family: "Inter", sans-serif;
  background-color: #0a0a0a;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #0b0b0b 0%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background texture / subtle pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/black-paper.png");
  opacity: 0.2;
  pointer-events: none;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 5%;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
}

.logo span {
  color: #f4a261;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links li a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
}

.nav-links li a:hover {
  color: #f4a261;
}

.nav-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  text-decoration: none;
}

.nav-icons i {
  font-size: 1.2rem;
  cursor: pointer;
  color: #ddd;
  transition: color 0.3s;
}

.nav-icons i:hover {
  color: #f4a261;
}

.btn-appointment {
  background: transparent;
  border: 1.5px solid #f4a261;
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  color: #f4a261;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-appointment:hover {
  background: #f4a261;
  color: #0a0a0a;
  border-color: #f4a261;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-brand {
  display: none;
}

/* Hero Content */
.hero {
  position: relative;
  min-height: 100vh;

  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../img/hero-1.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f4a261;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #e0cba0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f4a261;
}

.hero-text p {
  color: #ccc;
  line-height: 1.6;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.btn-make {
  background: #f4a261;
  border: none;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 40px;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
  text-decoration: none;
}

.btn-make:hover {
  background: #e76f51;
  transform: scale(1.02);
  color: white;
}

/* Image side / decorative */
.hero-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: translateY(-8px);
}

/* Layanan */
.services {
  padding: 100px 5%;
  background: #f8f8f8;
  color: #111;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: #c89b3c;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-title h2 {
  color: #111;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;

  padding: 40px 30px;

  border-radius: 20px;

  border: 1px solid #eee;

  transition: 0.3s ease;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card i {
  font-size: 2.2rem;
  color: #c89b3c;

  margin-bottom: 20px;
}

.service-card span {
  display: inline-block;
  margin-top: 20px;

  color: #c89b3c;
  font-weight: 700;
}

.service-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #111;
  margin-bottom: 10px;
}

.service-card p {
  color: #666;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.7;
}

/* About Us */
.about {
  background: #f5efe6;
  padding: 100px 5%;

  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(200, 155, 60, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  align-items: center;

  gap: 60px;

  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
  will-change: transform;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}

.about-image:hover::after {
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.13);
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover img {
  transform: scale(1.03) translateY(-4px);
}

/* ---- Scroll reveal: initial state ---- */
.about-image,
.about-content {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; /* konten muncul setelah gambar */
}

/* ---- List item hover premium ---- */
.about-content li {
  margin-bottom: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.about-content li:hover {
  background: rgba(200, 155, 60, 0.1);
  transform: translateX(6px);
}

/* ---- Button shimmer gold ---- */
.btn-about {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(200, 155, 60, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-about:hover::before {
  left: 130%;
}

.btn-about:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;

  color: #111;

  margin: 1rem 0;
}

.about-content span {
  color: #c89b3c;

  letter-spacing: 2px;

  font-weight: 600;
}

.about-content p {
  color: #555;

  line-height: 1.8;

  margin-bottom: 1.5rem;
}

.about-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.about-content li {
  margin-bottom: 12px;
  color: #333;
}

.btn-about {
  background: #111;

  color: #fff;

  border: none;

  padding: 14px 30px;

  border-radius: 50px;

  cursor: pointer;

  transition: 0.3s;
}

.btn-about:hover {
  transform: translateY(-3px);
}

/* === APPOINTMENT SECTION === */
.appointment {
  background: #111;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.appointment::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 155, 60, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Panel Kiri --- */
.appt-eyebrow {
  color: #c89b3c;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.appt-left h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.appt-divider {
  width: 48px;
  height: 2px;
  background: #c89b3c;
  border-radius: 2px;
  margin-bottom: 24px;
}

.appt-desc {
  color: #999;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.appt-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.appt-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(200, 155, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #c89b3c;
}

.appt-info-text strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.appt-info-text span {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

/* --- Panel Kanan --- */
.appt-right {
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 36px;
}

.appt-right h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.appt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.appt-form-group {
  margin-bottom: 16px;
}

.appt-form-group label {
  display: block;
  font-size: 11px;
  color: #777;
  margin-bottom: 7px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.appt-form-group input,
.appt-form-group select,
.appt-form-group textarea {
  width: 100%;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s ease;
  font-family: inherit;
  -webkit-appearance: none;
}

.appt-form-group input:focus,
.appt-form-group select:focus,
.appt-form-group textarea:focus {
  border-color: #c89b3c;
}

.appt-form-group input::placeholder,
.appt-form-group textarea::placeholder {
  color: #444;
}

.appt-form-group select option {
  background: #1a1a1a;
  color: #fff;
}

.appt-form-group textarea {
  resize: none;
  height: 85px;
}

/* Date input color fix */
.appt-form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.btn-book {
  width: 100%;
  background: #c89b3c;
  color: #111;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.btn-book::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-book:hover::before {
  left: 130%;
}
.btn-book:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.appt-note {
  text-align: center;
  font-size: 12px;
  color: #555;
  margin-top: 14px;
}

/* --- Scroll Reveal --- */
.appt-left,
.appt-right {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.appt-right {
  transition-delay: 0.15s;
}

.appt-left.visible,
.appt-right.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== OUR BARBER ===== */

.barber-section {
  background: #fff;
  padding: 100px 5%;
}

.barber-header {
  text-align: center;
  margin-bottom: 52px;
}

.barber-eyebrow {
  color: #c89b3c;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.barber-header h2 {
  color: #111;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.barber-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Card --- */
.barber-card {
  border: 1px solid #eeeeee;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease;
}

.barber-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger tiap card */
.barber-card:nth-child(1) {
  transition-delay: 0s;
}
.barber-card:nth-child(2) {
  transition-delay: 0.1s;
}
.barber-card:nth-child(3) {
  transition-delay: 0.2s;
}
.barber-card:nth-child(4) {
  transition-delay: 0.3s;
}

.barber-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}

/* --- Foto --- */
.barber-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: #f5f0e8;
}

.barber-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.barber-card:hover .barber-photo img {
  transform: scale(1.05);
}

.barber-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #c89b3c;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* --- Info --- */
.barber-info {
  padding: 16px;
}

.barber-info h3 {
  color: #111;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.barber-role {
  color: #c89b3c;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.barber-exp {
  font-size: 12px;
  color: #999;
}

.barber-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 12px 0;
}

.barber-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.barber-tag {
  background: #f5f0e8;
  color: #8a6b28;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* ===== TESTIMONIAL  ===== */

.testi-section {
  position: relative;
  padding: 100px 5%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 560px;
}

.testi-bg {
  position: absolute;
  inset: 0;
  background: #1a1008;
  z-index: 0;
}

.testi-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 4, 0.72);
}

.testi-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}

/* --- Header --- */
.testi-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
}

.testi-eyebrow {
  color: #c89b3c;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.testi-header h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.testi-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Slider --- */
.testi-slider-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: opacity 0.35s ease;
}

/* --- Card --- */
.testi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testi-stars {
  color: #c89b3c;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testi-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c89b3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}

.testi-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testi-service {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* --- Navigasi --- */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.testi-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
  backdrop-filter: blur(4px);
}

.testi-btn:hover {
  background: #c89b3c;
  border-color: #c89b3c;
  color: #111;
}

.testi-dots {
  display: flex;
  gap: 7px;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.25s;
  border: none;
}

.testi-dot.active {
  background: #c89b3c;
  transform: scale(1.3);
}

/* ===== GALERI ===== */

.gal-section {
  background: #fff;
  padding: 100px 5%;
}

.gal-header {
  text-align: center;
  margin-bottom: 52px;
}

.gal-eyebrow {
  color: #c89b3c;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gal-header h2 {
  color: #111;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.gal-header p {
  color: #888;
  font-size: 15px;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Grid --- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

/* layout masonry manual */
.gal-item:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.gal-item:nth-child(2) {
  aspect-ratio: 1 / 1;
}
.gal-item:nth-child(3) {
  aspect-ratio: 1 / 1;
}
.gal-item:nth-child(4) {
  aspect-ratio: 1 / 1;
}
.gal-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* --- Item --- */
.gal-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #f5f0e8;

  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.gal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gal-item:nth-child(1) {
  transition-delay: 0s;
}
.gal-item:nth-child(2) {
  transition-delay: 0.08s;
}
.gal-item:nth-child(3) {
  transition-delay: 0.16s;
}
.gal-item:nth-child(4) {
  transition-delay: 0.24s;
}
.gal-item:nth-child(5) {
  transition-delay: 0.32s;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gal-item:hover img {
  transform: scale(1.06);
}

/* --- Overlay --- */
.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gal-item:hover .gal-overlay {
  background: rgba(0, 0, 0, 0.32);
}

.gal-icon {
  font-size: 28px;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.gal-item:hover .gal-icon {
  opacity: 1;
  transform: scale(1);
}

/* --- Tag --- */
.gal-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #c89b3c;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.gal-item:hover .gal-tag {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer button --- */
.gal-footer {
  text-align: center;
}

.gal-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.gal-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(200, 155, 60, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.gal-btn:hover::before {
  left: 130%;
}
.gal-btn:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

/* ===== FOOTER ===== */

.footer {
  background: #111;
  padding: 70px 5% 0;
}

/* --- Grid Utama --- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Brand --- */
.footer-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-logo span {
  color: #c89b3c;
}

.footer-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c89b3c;
  font-size: 16px;
  text-decoration: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.social-btn:hover {
  background: #c89b3c;
  border-color: #c89b3c;
  color: #111;
}

/* --- Kolom --- */
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #c89b3c;
}

/* --- Kontak --- */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: #c89b3c;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

/* --- Mini Galeri --- */
.footer-gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-gallery-label {
  color: #444;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.footer-gal-item {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
  cursor: pointer;
}

.footer-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}

.footer-gal-item:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.footer-gal-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.2);
  text-decoration: none;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.footer-gal-more:hover {
  background: rgba(200, 155, 60, 0.15);
  border-color: rgba(200, 155, 60, 0.4);
}

.footer-gal-more i {
  color: #c89b3c;
  font-size: 20px;
}

.footer-gal-more span {
  color: #c89b3c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.4;
}

/* --- Bottom Bar --- */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: #444;
  font-size: 13px;
}

.footer-bottom p span {
  color: #c89b3c;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #444;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #c89b3c;
}

/* Responsive */
@media (max-width: 950px) {
  .hamburger {
    display: block;
    z-index: 100;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
  }
  .nav-links {
    justify-content: center;
    gap: 1.2rem;
    position: fixed;
    top: 0;
    right: -100%;

    width: 85%;
    max-width: 380px;
    height: 100vh;
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start; /* <-- ini penting */

    padding-left: 50px; /* kasih jarak dari kiri */

    background: #111;
    transition: 0.4s ease;

    padding: 2rem 0 2rem 50px;

    gap: 1.5rem;
  }
  .nav-links.active {
    right: 0;
  }

  .nav-icons {
    display: none;
  }

  .mobile-brand {
    margin-bottom: 60px;
    display: block;
  }

  .mobile-brand h2 {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
  }

  .mobile-brand span {
    color: #f4a261;
    letter-spacing: 2px;
    font-size: 0.8rem;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-text h3 {
    font-size: 1.6rem;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 6rem 5%;
  }
  .hero-text {
    text-align: center;
  }
  .btn-make {
    margin: 0 auto;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .barber-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .barber-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-gal-more {
    display: none;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .appt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .appt-form-row {
    grid-template-columns: 1fr;
  }

  .appt-right {
    padding: 24px;
  }

  .testi-track {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .gal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gal-item:nth-child(1),
  .gal-item:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 550px) {
  .nav-links {
    gap: 0.8rem;
    flex-wrap: wrap;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
}

/* tambahan style untuk icon Q (search) */
.search-icon {
  cursor: pointer;
}

/* dummy placeholder image (ganti dengan gambar barbershop favoritmu) */
.demo-img {
  background: #2a2a2a;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(145deg, #3a2c1f, #1f1a14);
  min-height: 320px;
  font-size: 0.9rem;
  color: #b97f44;
  text-align: center;
  flex-direction: column;
  gap: 15px;
}

.demo-img i {
  font-size: 4rem;
  color: #f4a261;
  opacity: 0.8;
}

.demo-img span {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 40px;
}
