/* ==========================================================================
   SULAYMON CUTS - PREMIUM BARBERSHOP STYLESHEET
   Uslub: To'q qora va oltin aksent, klassik va zamonaviy barbershop estetikasi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Ranglar palitrasi */
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141a;
  --bg-card: #181b24;
  --bg-card-hover: #1f2330;
  --bg-elevated: #242938;

  /* Oltin va mis aksentlar */
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa820a;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(170, 130, 10, 0.05) 100%);

  /* Matn ranglari */
  --text-main: #f5f5f7;
  --text-muted: #9fa6b2;
  --text-dim: #6b7280;
  --text-gold: #e6ca65;

  /* Chegaralar */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-focus: rgba(212, 175, 55, 0.8);

  /* Status ranglari */
  --status-pending: #f59e0b;
  --status-confirmed: #3b82f6;
  --status-completed: #10b981;
  --status-cancelled: #ef4444;

  /* Shriftlar */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Qirralar va soyalar */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.2);
  --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.6);

  /* O'tishlar */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Asosiy elementlar
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Tipografiya & Yordamchi sinflar
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #fff;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.gradient-gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Tugmalar (Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0e12;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  filter: brightness(1.08);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #0d0e12;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(10, 11, 14, 0.95);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 1.15rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
}

/* ==========================================================================
   USER NAVBAR DROPDOWN & BADGES
   ========================================================================== */
.user-nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.88rem;
  max-width: 220px;
}

.user-nav-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}

.user-nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  flex-shrink: 0;
}

.user-nav-name {
  font-weight: 600;
  color: #fff;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85rem;
}

.user-nav-role {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.user-nav-arrow {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.2s;
  margin-left: 0.15rem;
}

.user-nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #12141a;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 0.6rem;
  min-width: 210px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  z-index: 1001;
  text-align: left;
}

.user-nav-menu-header {
  padding: 0.5rem 0.6rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.user-nav-menu-name {
  color: #fff;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 0.2rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-nav-menu-role {
  margin-top: 0.3rem;
  display: inline-block;
  font-size: 0.7rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.user-nav-menu-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  color: #e5e5e5;
  font-size: 0.86rem;
  text-decoration: none;
  transition: background 0.15s;
}

.user-nav-menu-link:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary);
}

.user-nav-menu-link.logout {
  color: #f87171;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.4rem;
}

.user-nav-menu-link.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ==========================================================================
   HERO BO'LIMI
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.7) 0%, rgba(10, 11, 14, 0.95) 100%),
              url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: 20%;
  left: 5%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item h3 {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 0.2rem;
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   BIZ HAQIMIZDA (ABOUT)
   ========================================================================== */
.about-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.about-badge-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.about-badge-card .num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.about-badge-card .txt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SARTAROSHLAR (BARBERS)
   ========================================================================== */
.barbers-section {
  padding: 7rem 0;
  position: relative;
}

.barbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.barber-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.barber-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.barber-image-box {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.barber-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.barber-rating-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.barber-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.barber-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.barber-title {
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.barber-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.barber-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #d1d5db;
}

.barber-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.barber-exp {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   XIZMATLAR VA NARXLAR (SERVICES)
   ========================================================================== */
.services-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-gradient);
  color: #0d0e12;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card.popular-badge-wrap {
  border-color: rgba(212, 175, 55, 0.4);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-gradient);
  color: #0d0e12;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

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

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.service-price-box {
  text-align: right;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.service-duration {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
}

.service-name {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   ISH JARAYONI & GALEREYA (BEFORE / AFTER)
   ========================================================================== */
.gallery-section {
  padding: 7rem 0;
}

.before-after-wrapper {
  margin-bottom: 4rem;
}

.before-after-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-card);
}

.ba-image-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-box {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.ba-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ba-box.before .ba-label {
  left: 1rem;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.ba-box.after .ba-label {
  right: 1rem;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
}

.ba-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ba-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.ba-barber-tag {
  color: var(--gold-primary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ba-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 11, 14, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.gallery-barber {
  font-size: 0.85rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   SHARHLAR (TESTIMONIALS)
   ========================================================================== */
.reviews-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

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

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  position: relative;
  transition: var(--transition-normal);
}

.review-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.25rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-style: italic;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.author-service {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ISH VAQTI VA MANZIL (CONTACT & LOCATION)
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  position: relative;
}

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

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

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.info-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stilizatsiyalangan interaktiv xarita placeholder & Google Maps */
.google-map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  margin-top: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background: var(--bg-secondary);
  position: relative;
}

.google-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-placeholder-box {
  width: 100%;
  height: 240px;
  background: #11141c url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
}

.map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0d0e12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Aloqa formasi */
.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* ==========================================================================
   PAROLNI KO'RISH / YASHIRISH (EYE TOGGLE) & AUTOFILL FIX
   ========================================================================== */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper .form-control {
  padding-right: 2.85rem !important;
}

.password-toggle-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  z-index: 5;
}

.password-toggle-btn:hover {
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

.password-toggle-btn:focus {
  outline: none;
  color: var(--gold-primary);
}

/* Brauzer avtomatik to'ldirish (autofill) oq fonini to'q fonga moslash */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #141720 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #07080a;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 1.2rem 0 1.8rem;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: #0d0e12;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   MODAL DARCHALARI (LOGIN & QUICK APPOINTMENT)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #9ca3af;
  font-size: 1.15rem;
  font-weight: 300;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0;
  z-index: 50;
  position: relative;
  outline: none;
  box-sizing: border-box;
}

.modal-close-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.2;
  margin: auto;
  pointer-events: none;
  flex-shrink: 0;
}

.modal-close-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.95rem;
  margin: auto;
  pointer-events: none;
  flex-shrink: 0;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary, #d4af37);
  color: #fff;
  transform: rotate(90deg);
}

.modal-close-btn:active {
  transform: scale(0.92);
}

.modal-body {
  padding: 2rem;
}

/* Rol tanlash tugmalari */
.role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.role-tab-btn {
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.role-tab-btn i {
  font-size: 1.25rem;
}

.role-tab-btn:hover,
.role-tab-btn.active {
  background: var(--gold-gradient-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Moslashuvchanlik)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: inline-flex !important;
  }

  .user-nav-role {
    display: none;
  }

  .user-nav-name {
    max-width: 80px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: rgba(14, 16, 22, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1.2rem;
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    width: 100%;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .before-after-card {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 0.8rem;
    gap: 0.5rem;
  }

  .nav-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .user-nav-btn {
    padding: 2px !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1.5px solid var(--border-gold) !important;
  }

  .user-nav-name,
  .user-nav-role,
  .user-nav-arrow {
    display: none !important;
  }

  .user-nav-avatar {
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    margin: 0 !important;
  }

  .nav-booking-text-full {
    display: none !important;
  }

  .nav-booking-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-toggle {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
  }

  .hero-section {
    padding: 6.5rem 0 3.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.8rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .hero-stat-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
  }

  .hero-stat-item p {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .section-header {
    margin-bottom: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .about-content h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.9rem;
  }

  .about-lead {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0.9rem;
  }

  .about-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .about-section,
  .barbers-section,
  .services-section,
  .gallery-section,
  .reviews-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .about-main-img {
    height: 280px;
  }

  .about-badge-card {
    right: 0;
    bottom: -15px;
    padding: 0.7rem 1.1rem;
  }

  .about-badge-card .num {
    font-size: 2rem;
  }

  .about-badge-card .txt {
    font-size: 0.75rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid,
  .barbers-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 0.2rem 0.6rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-filter::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }

  .service-card {
    padding: 1.3rem;
  }

  .ba-image-compare {
    grid-template-columns: 1fr;
  }

  .ba-box {
    height: 220px;
  }

  .ba-info {
    padding: 1.5rem 1.2rem;
  }
  .ba-info h3 {
    font-size: 1.3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .gallery-item {
    height: 160px;
  }

  .contact-form-card {
    padding: 1.5rem 1.2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }

  .modal-header {
    padding: 1.1rem 1.2rem;
  }

  .modal-body {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 0.85rem !important;
  }

  .nav-container {
    padding: 0 0.5rem !important;
    gap: 0.35rem !important;
  }

  .logo {
    font-size: 0.95rem !important;
    gap: 0.35rem !important;
  }

  .logo-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
  }

  .nav-actions {
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
  }

  .nav-login-text {
    display: none !important;
  }

  .nav-login-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  .nav-login-btn i {
    margin: 0 !important;
  }

  .nav-booking-text {
    display: none !important;
  }

  .nav-booking-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  .nav-booking-btn i {
    margin: 0 !important;
    font-size: 0.95rem !important;
  }

  .mobile-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex-shrink: 0 !important;
  }

  /* HERO */
  .hero-section {
    padding: 5rem 0 2rem !important;
  }

  .section-badge,
  .hero-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.65rem !important;
    margin-bottom: 0.65rem !important;
    letter-spacing: 0.08em !important;
  }

  .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.02em !important;
  }

  .hero-desc {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.2rem !important;
  }

  .hero-btns {
    gap: 0.55rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-btns .btn {
    padding: 0.65rem 1rem !important;
    font-size: 0.84rem !important;
    border-radius: 8px !important;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    padding-top: 1.1rem !important;
    text-align: center !important;
  }

  .hero-stat-item h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.1rem !important;
  }

  .hero-stat-item p {
    font-size: 0.62rem !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
  }

  /* SECTION HEADERS */
  .section-header {
    margin-bottom: 1.6rem !important;
  }

  .section-title {
    font-size: 1.28rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
  }

  .section-desc {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  .about-section,
  .barbers-section,
  .services-section,
  .gallery-section,
  .reviews-section,
  .contact-section {
    padding: 2.5rem 0 !important;
  }

  /* ABOUT SECTION */
  .about-main-img {
    height: 200px !important;
    border-radius: 12px !important;
  }

  .about-badge-card {
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px !important;
    right: 5px !important;
    bottom: -10px !important;
  }

  .about-badge-card .num {
    font-size: 1.45rem !important;
  }

  .about-badge-card .txt {
    font-size: 0.62rem !important;
    margin-top: 0.1rem !important;
  }

  .about-content h2 {
    font-size: 1.22rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.65rem !important;
  }

  .about-lead {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
  }

  .about-text {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1rem !important;
  }

  .about-features {
    gap: 0.65rem !important;
    margin-bottom: 1.2rem !important;
  }

  .feature-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }

  .feature-info h4 {
    font-size: 0.84rem !important;
    margin-bottom: 0.15rem !important;
  }

  .feature-info p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  /* BARBERS */
  .barber-img-box {
    height: 230px !important;
  }
  .barber-info {
    padding: 1rem !important;
  }
  .barber-name {
    font-size: 1.05rem !important;
  }
  .barber-title {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  .barber-bio {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.8rem !important;
  }
  .barber-specialties {
    gap: 0.3rem !important;
    margin-bottom: 1rem !important;
  }
  .spec-tag {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  /* SERVICES */
  .services-filter {
    padding-bottom: 0.4rem !important;
    gap: 0.35rem !important;
    margin-bottom: 1.4rem !important;
  }
  .filter-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.76rem !important;
  }
  .service-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  .popular-badge {
    top: -10px !important;
    right: 12px !important;
    font-size: 0.65rem !important;
    padding: 0.15rem 0.55rem !important;
  }
  .service-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
  }
  .service-price {
    font-size: 1.1rem !important;
  }
  .service-duration {
    font-size: 0.72rem !important;
  }
  .service-name {
    font-size: 1rem !important;
    margin-bottom: 0.3rem !important;
  }
  .service-desc {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.85rem !important;
  }

  /* BEFORE & AFTER / GALLERY */
  .ba-box {
    height: 180px !important;
  }
  .ba-label {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.55rem !important;
  }
  .ba-info {
    padding: 1rem 0.8rem !important;
  }
  .ba-info h3 {
    font-size: 1.08rem !important;
    margin-bottom: 0.4rem !important;
  }
  .ba-desc {
    font-size: 0.78rem !important;
    line-height: 1.38 !important;
    margin-bottom: 1rem !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .gallery-item {
    height: 130px !important;
    border-radius: 8px !important;
  }
  .gallery-title {
    font-size: 0.82rem !important;
  }
  .gallery-barber {
    font-size: 0.68rem !important;
  }

  /* REVIEWS */
  .review-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  .review-stars {
    font-size: 0.78rem !important;
    margin-bottom: 0.6rem !important;
  }
  .review-text {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.9rem !important;
  }
  .author-avatar {
    width: 36px !important;
    height: 36px !important;
  }
  .author-name {
    font-size: 0.88rem !important;
  }
  .author-service {
    font-size: 0.7rem !important;
  }

  /* CONTACT */
  .info-card {
    padding: 0.85rem !important;
    gap: 0.7rem !important;
    border-radius: 10px !important;
  }
  .info-card-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .info-card-content h4 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem !important;
  }
  .info-card-content p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
  .google-map-container {
    height: 190px !important;
    border-radius: 10px !important;
  }
  .contact-form-card {
    padding: 1.1rem 0.9rem !important;
    border-radius: 12px !important;
  }
  .contact-form-card h3 {
    font-size: 1.15rem !important;
  }
  .contact-form-card p {
    font-size: 0.78rem !important;
    margin-bottom: 1.1rem !important;
  }
  .form-group {
    margin-bottom: 1rem !important;
  }
  .form-label {
    font-size: 0.75rem !important;
    margin-bottom: 0.35rem !important;
  }
  .form-control {
    padding: 0.65rem 0.8rem !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  /* FOOTER */
  .footer {
    padding: 2.2rem 0 1.2rem !important;
  }
  .footer-top {
    gap: 1.3rem !important;
    margin-bottom: 1.6rem !important;
  }
  .footer-brand p {
    font-size: 0.78rem !important;
    margin: 0.8rem 0 1rem !important;
  }
  .footer-col h4 {
    font-size: 0.88rem !important;
    margin-bottom: 0.7rem !important;
  }
  .footer-links a {
    font-size: 0.78rem !important;
  }

  /* MODALS & WIZARDS */
  .modal-dialog {
    max-width: 96% !important;
    margin: 6px auto !important;
    border-radius: 14px !important;
  }
  .modal-header {
    padding: 0.85rem 1rem !important;
  }
  .modal-title {
    font-size: 1.05rem !important;
  }
  .modal-close-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
  }
  .modal-body {
    padding: 1rem 0.85rem !important;
  }
  .role-tabs {
    gap: 0.4rem !important;
    margin-bottom: 1.2rem !important;
  }
  .role-tab-btn {
    padding: 0.6rem 0.3rem !important;
    font-size: 0.72rem !important;
  }
  .role-tab-btn i {
    font-size: 1rem !important;
  }

  .booking-wizard-steps {
    margin-bottom: 1rem !important;
  }
  .bw-step-item {
    padding: 0 0.1rem !important;
    gap: 0.1rem !important;
  }
  .bw-step-circle {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.72rem !important;
  }
  .bw-step-label {
    font-size: 0.6rem !important;
  }

  /* BACK TO TOP */
  .back-to-top-btn {
    bottom: 1rem !important;
    right: 1rem !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 360px) {
  .nav-container {
    padding: 0 0.35rem !important;
  }

  .logo span {
    font-size: 0.85rem !important;
  }

  .logo-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.82rem !important;
  }

  .user-nav-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .user-nav-avatar {
    width: 26px !important;
    height: 26px !important;
  }

  .nav-login-btn,
  .nav-booking-btn,
  .mobile-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.85rem !important;
  }

  .hero-title {
    font-size: 1.18rem !important;
  }
  .section-title {
    font-size: 1.15rem !important;
  }
  .about-content h2 {
    font-size: 1.12rem !important;
  }
  .hero-stat-item h3 {
    font-size: 1rem !important;
  }
  .hero-stat-item p {
    font-size: 0.58rem !important;
  }

  .bw-step-label {
    display: none;
  }
}

/* ==========================================================================
   PREMIUM CUSTOM POPUP & DIALOG (Markaziy chiroyli xabarnomalar)
   ========================================================================== */
.custom-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-popup-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.custom-popup-card {
  width: 100%;
  max-width: 440px;
  background: #141720;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: scale(0.88);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-popup-backdrop.active .custom-popup-card {
  transform: scale(1);
}

.custom-popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.4rem;
}

.custom-popup-icon.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.custom-popup-icon.gold,
.custom-popup-icon.confirm {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.custom-popup-icon.error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 2px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
}

.custom-popup-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.custom-popup-message {
  color: var(--text-muted, #9ca3af);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.custom-popup-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.custom-popup-actions .btn {
  flex: 1;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   FAYL YUKLASH (FILE UPLOAD UI)
   ========================================================================== */
.file-upload-box {
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md, 12px);
  padding: 1.2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.file-upload-box:hover {
  border-color: var(--gold-primary, #d4af37);
  background: rgba(212, 175, 55, 0.06);
}

.file-upload-icon {
  font-size: 1.8rem;
  color: var(--gold-primary, #d4af37);
}

.file-upload-text {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--text-dim, #6b7280);
}

.file-upload-preview-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid var(--border-panel, rgba(255, 255, 255, 0.08));
}

.file-upload-preview {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-gold, #d4af37);
  flex-shrink: 0;
}

/* ==========================================================================
   GLOBAL TOAST NOTIFICATIONS (Bildirishnomalar tizimi)
   ========================================================================== */
.global-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  width: calc(100% - 2rem);
  pointer-events: none;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(18, 20, 27, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

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

.toast-item.toast-hiding {
  transform: translateX(30px);
  opacity: 0;
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-content {
  flex-grow: 1;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: all 0.15s;
  flex-shrink: 0;
}

.toast-close-btn svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.2;
}

.toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.toast-item.toast-success {
  border-color: rgba(34, 197, 94, 0.4);
}
.toast-item.toast-success .toast-icon {
  color: #22c55e;
}

.toast-item.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}
.toast-item.toast-error .toast-icon {
  color: #ef4444;
}

.toast-item.toast-gold,
.toast-item.toast-warning {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(20, 22, 30, 0.97);
}
.toast-item.toast-gold .toast-icon,
.toast-item.toast-warning .toast-icon {
  color: var(--gold-primary, #d4af37);
}

.toast-item.toast-info {
  border-color: rgba(59, 130, 246, 0.4);
}
.toast-item.toast-info .toast-icon {
  color: #3b82f6;
}

/* ==========================================================================
   TEPAGA QAYTISH TUGMASI (BACK TO TOP)
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0d0e12;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.25s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Ochiq/Yopiq Status Belgisi */
.salon-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

.salon-status-badge.status-open {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.salon-status-badge.status-closed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.salon-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .global-toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
  .back-to-top-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}
