/* =========================
   REPUBLIC BARBERSHOP — PREMIUM CSS (FULL)
   ========================= */

:root {
  --primary-color: #0b0b0c;
  /* deep premium black */
  --secondary-color: #d4af37;
  /* gold */
  --secondary-2: #b8962e;
  /* darker gold */
  --accent-color: #141416;
  /* card base */
  --accent-2: #1b1b1f;
  /* card hover */
  --text-light: #ffffff;
  --text-dark: #121214;
  --text-gray: rgba(255, 255, 255, 0.62);
  --bg-light: #f4f4f6;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 18px 55px rgba(212, 175, 55, 0.22);

  --border-soft: 1px solid rgba(255, 255, 255, 0.06);
  --border-gold: 1px solid rgba(212, 175, 55, 0.28);

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
     Navigation
     ========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;

  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);

  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 11, 12, 0.86);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  color: var(--text-light);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: -5px;
}

.logo span {
  color: var(--secondary-color);
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.95;
}

.barber-pole {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.barber-pole svg {
  width: 100%;
  height: 100%;
  animation: barberPoleRotate 3.2s linear infinite;
  transform-origin: center;
}

@keyframes barberPoleRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.92;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Booking link button in navbar */
.nav-menu .btn-booking-link {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  color: #0b0b0c;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
  white-space: nowrap;
}

.nav-menu .btn-booking-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 65px rgba(212, 175, 55, 0.35);
  filter: brightness(1.03);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 999px;
  transition: var(--transition);
}

/* =========================
     Hero
     ========================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background: url('public/barbershop_hero_bg_1769863069774.png') no-repeat center center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.06), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.08), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.04), transparent 45%);
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.9s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 850;
  color: var(--text-light);
  letter-spacing: 10px;
  margin-bottom: 1rem;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.45rem);
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.96;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.05rem 2.8rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  color: #0b0b0c;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 75px rgba(212, 175, 55, 0.38);
  filter: brightness(1.02);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 52px;
  border: 2px solid rgba(212, 175, 55, 0.85);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12) inset;
  animation: scrollPulse 1.8s infinite;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: .35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(6px);
  }

  100% {
    opacity: .35;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }

  100% {
    opacity: 0;
    top: 32px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
     Section Styles
     ========================= */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6f6f76;
}

/* =========================
     About Section
     ========================= */
.about {
  background: var(--bg-light);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.about-text p {
  font-size: 1.08rem;
  color: #2a2a2f;
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2.2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.feature h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.feature p {
  color: #6f6f76;
  font-size: 0.98rem;
}

/* =========================
     Services Section
     ========================= */
.services {
  color: var(--text-light);
  background:
    radial-gradient(900px 450px at 50% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--primary-color);
}

.services .section-header h2 {
  color: var(--text-light);
}

.services .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(180deg, var(--accent-color), #101012);
  padding: 2.6rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 55%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.50), 0 0 0 1px rgba(212, 175, 55, 0.10) inset;
}

.service-icon {
  font-size: 3.4rem;
  margin-bottom: 1.3rem;
}

.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-price {
  font-size: 1.55rem;
  color: var(--secondary-color);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.service-duration {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.4rem;
}

/* =========================
     Gallery Section
     ========================= */
.gallery {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0b0c 0%, #1c1c22 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.gallery-placeholder span {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.gallery-placeholder p {
  font-size: 1.1rem;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
}

/* =========================
     Masters Section
     ========================= */
.masters {
  background: var(--bg-light);
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.master-card {
  background: #fff;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.master-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.master-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.master-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0b0c 0%, #1c1c22 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: var(--secondary-color);
}

.master-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: 0.4px;
}

.master-specialty {
  color: #b88f1e;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.master-experience {
  color: #6f6f76;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.master-rating {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.master-description {
  color: #2a2a2f;
  line-height: 1.7;
}

/* =========================
     Reviews Section
     ========================= */
.reviews {
  color: var(--text-light);
  background:
    radial-gradient(900px 450px at 50% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--primary-color);
}

.reviews .section-header h2 {
  color: var(--text-light);
}

.reviews .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.review-card {
  background: linear-gradient(180deg, var(--accent-color), #101012);
  padding: 2.1rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.review-card:hover {
  transform: translateY(-6px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  color: #0b0b0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.review-author h4 {
  color: var(--text-light);
  margin-bottom: 0.25rem;
  letter-spacing: 0.3px;
}

.review-rating {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.review-date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  white-space: nowrap;
}

.review-text {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.85;
}

/* =========================
     Contact Section
     ========================= */
.contact {
  color: var(--text-light);
  background:
    radial-gradient(900px 450px at 50% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--primary-color);
}

.contact .section-header h2 {
  color: var(--text-light);
}

.contact .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.3rem;
  align-items: start;
}

.contact-icon {
  font-size: 2.3rem;
  flex-shrink: 0;
  color: var(--secondary-color);
}

.contact-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  letter-spacing: 0.2px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.4rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--text-light);
  transform: translateY(-1px);
}

/* Contact form */
.contact-form-container {
  background: linear-gradient(180deg, var(--accent-color), #101012);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.10);
}

/* =========================
     Lightbox
     ========================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  color: var(--text-light);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--secondary-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  font-size: 2.6rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  color: #0b0b0c;
  transform: scale(1.06);
}

/* =========================
     Modal
     ========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 2rem;
  color: #777;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #111;
}

.modal-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  color: #0b0b0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  margin: 0 auto 1.3rem;
}

.modal-content h2 {
  color: #111;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.modal-content p {
  color: #2a2a2f;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =========================
     Footer
     ========================= */
.footer {
  background: #070708;
  color: var(--text-light);
  padding: 2.2rem 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.footer-logo h3 {
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: -5px;
  font-weight: 900;
}

.footer-logo span {
  color: var(--secondary-color);
  font-size: 0.7rem;
  letter-spacing: 5px;
  opacity: 0.95;
}

.footer-content p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================
     Responsive
     ========================= */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(11, 11, 12, 0.95);
    width: 100%;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    align-items: center;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .feature,
  .service-card,
  .master-card,
  .review-card {
    padding: 1.6rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .hero-title {
    letter-spacing: 6px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features,
  .services-grid,
  .gallery-grid,
  .masters-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 1rem;
  }

  .nav-menu .btn-booking-link {
    margin-top: 1rem;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  section {
    padding: 60px 0;
  }

  .logo {
    gap: 0.75rem;
  }

  .barber-pole {
    width: 24px;
    height: 24px;
  }

  .logo h1 {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .logo span {
    font-size: 0.55rem;
    letter-spacing: 3px;
  }

  .service-icon {
    font-size: 1.9rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }

  .service-card h3 {
    font-size: 1.25rem;
    word-wrap: break-word;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    max-width: 100%;
  }

  .master-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

}


/* Ensure master images display */
.master-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Shop & Cart Styles
   ========================= */
.shop {
  background: var(--bg-light);
}

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

.product-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: opacity, transform;
}

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

.product-card.product-card--visible:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 55px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.35);
}

.product-media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f8f8f8;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card.product-card--visible:hover .product-image {
  transform: scale(1.06);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee 0%, #ddd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease;
}

.product-card.product-card--visible:hover .product-placeholder {
  transform: scale(1.04);
}

.product-card .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card.product-card--visible:hover .btn-primary {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.2s ease;
  }

  .product-card.product-card--visible:hover {
    transform: none;
  }

  .product-card.product-card--visible:hover .product-image,
  .product-card.product-card--visible:hover .product-placeholder {
    transform: none;
  }
}

.product-info h3,
.product-title {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
  min-height: 2.8rem;
}

.product-price {
  font-size: 1.35rem;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-stock {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.product-stock.out-of-stock {
  color: var(--danger);
  font-weight: bold;
}

.cart-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-2));
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  z-index: 999;
  transition: var(--transition);
}

.cart-floating-btn:hover {
  transform: scale(1.05) translateY(-5px);
}

.cart-icon {
  font-size: 1.8rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  border: 2px solid white;
}

.cart-modal-content {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  color: var(--text-dark);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.cart-item-info p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-actions button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.2s;
}

.cart-item-actions button:hover {
  background: var(--bg-light);
}

.cart-total {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: right;
  margin-bottom: 1rem;
}

.payment-info-box {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  border: 1px dashed #ccc;
}

.payment-info-box h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card-number-box {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin: 1rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================
   Shop Filters & Show More
   ========================= */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.shop-filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #444;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.shop-filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.shop-filter-btn.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #0b0b0c;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}

.shop-show-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.shop-show-more .btn-secondary {
  padding: 0.75rem 2.5rem;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-show-more .btn-secondary:hover {
  background: var(--secondary-color);
  color: #0b0b0c;
}

.product-card.out-of-stock {
  opacity: 0.6;
}

.product-stock.out-of-stock-text {
  color: #e53935;
  font-weight: 600;
}
