/* ============================================
   YAVƏR SƏRDARLІ — BARBER WEBSITE
   style.css — Bütün stillər burada
   ============================================ */
* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Ctext y='20' font-size='20'%3E%E2%9C%82%EF%B8%8F%3C/text%3E%3C/svg%3E") 4 4, auto;
}
/* ---- ƏSAS DEĞİŞKƏNLƏR ---- */
:root {
  --black: #080808;
  --white: #f4f1ec;
  --gray-light: #c8c8c8;
  --gray-mid: #888;
  --gray-dark: #1a1a1a;
  --accent: #c9a96e; /* Qızılı accent rəngi */
  --accent-light: #e8d5aa;
  --border: rgba(201, 169, 110, 0.2);
  --border-light: rgba(255, 255, 255, 0.08);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
  --nav-height: 64px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Smooth scroll */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

/* ---- ARXA FON VİDEOSU ---- */
/* Bütün səhifədə fixed arxa fon */
.bg-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Hər şeyin arxasında */
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ekrana tam sığır */
  opacity: 0.45; /* Çox dominant olmasın */
}

/* Qaranlıq overlay - mətn oxunması üçün */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.55) 0%,
    rgba(8, 8, 8, 0.45) 50%,
    rgba(8, 8, 8, 0.65) 100%
  );
}

/* ---- NAVİQASİYA ---- */
.navbar {
  position: fixed; /* Sticky nav */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

/* Scroll edəndə nav arxa fonu tündləşir */
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  flex-shrink: 0;
  display: flex; /* ← əlavə et */
  align-items: center; /* ← əlavə et */
  gap: 10px; /* ← əlavə et */
}
.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--accent);
  filter: grayscale(20%);
}
/* Nav linklər - masaüstü */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

/* Nav link altındakı xətt animasiyası */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  /* Active section highlight */
  color: var(--accent);
}

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

/* Dil seçici */
.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--gray-mid);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hamburger düyməsi - mobil üçün */
.hamburger {
  display: none; /* Masaüstündə gizli */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}

/* Hamburger açıq halda X şəkli */
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- HERO BÖLMƏSİ ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Əsas şəkil wrapper */
.hero-image-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: cover;
  filter: grayscale(20%); /* Minimal ağ-qara ton */
  transition: filter 0.5s;
}

.hero-img:hover {
  filter: grayscale(0%);
}

/* Hero mətn */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gray-light);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

/* Aşağıya scroll oxu */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---- ÜMUMI BÖLMƏ STİLLƏRİ ---- */
.section {
  padding: 6rem 2rem;
  position: relative;
}

/* Tünd arxa fonlu bölmələr */
.section-dark {
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(4px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Bölmə başlığı */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

/* Başlıq altındakı xətt */
.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--accent);
}

/* ---- FADE-IN ANİMASİYA ---- */
/* Scroll edəndə elementlər görünür */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- HAQQIMDA BÖLMƏSİ ---- */
.about-content {
  max-width: 700px;
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.about-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
}

/* Əlaqə məlumatları cədvəli */
.about-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
}

.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  min-width: 100px;
  flex-shrink: 0;
}

.info-value {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color var(--transition);
}

.info-value:hover {
  color: var(--accent);
}

/* ---- XİDMƏTLƏR BÖLMƏSİ ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; /* Minimal gap - cədvəl effekti */
  background: var(--border-light);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--black);
  transition: background var(--transition);
}

.service-card:hover {
  background: var(--gray-dark);
}

.service-name {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
}

.services-note {
  font-size: 0.75rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* ---- QALEREYa BÖLMƏSİ ---- */
/* 4 sıra x 3 sütun grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px; /* ← əvvəl 6px idi */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--gray-dark);
  cursor: pointer;
  border-radius: 16px; /* ← oval künclər */
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
  opacity: 0.85;
}

/* Hover - video oynayır, böyüyür */
.gallery-item:hover video {
  transform: scale(1.04);
  opacity: 1;
}

/* ---- REZERVASİYA FORMU ---- */
.booking-subtitle {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  margin-top: -1.5rem;
}

.booking-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-input {
  background: transparent;
  border: 1px solid var(--border-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 0;
  outline: none;
  transition: border-color var(--transition);
  border-left: none;
  border-right: none;
  border-top: none; /* Sadəcə alt xətt - minimal görünüş */
  -webkit-appearance: none;
  appearance: none;
}

/* Select üçün ok işarəsi */
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}

select.form-input option {
  background: var(--gray-dark);
  color: var(--white);
}

/* Date input rəngi */
input[type="date"].form-input {
  color-scheme: dark;
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

/* Düymə stilləri */
.btn-primary {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--black);
}

/* Tam genişlikli düymə - form üçün */
.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  background: rgba(8, 8, 8, 0.7);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 1rem;
}

.footer-links a {
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: rotate(15deg) scale(1.2);
}

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  opacity: 0.6;
}

/* ============================================
   MOBİL OPTİMAL - RESPONSIVE STİLLƏR
   ============================================ */

/* Tablet - 900px altı */
@media (max-width: 900px) {
  /* Hero - üst-üstə düzülür */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-image-wrap {
    display: flex;
    justify-content: center;
  }

  .hero-img {
    max-width: 300px;
  }

  /* Qalereya 2 sütun */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil - 768px altı */
@media (max-width: 768px) {
  /* Nav linklər gizlənir */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(8, 8, 8, 0.97);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
  }

  /* Mobil menyu açıq halda */
  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    font-size: 0.85rem;
  }

  /* Hamburger görünür */
  .hamburger {
    display: flex;
  }

  /* Bölmə padding kiçilir */
  .section {
    padding: 4rem 1.25rem;
  }

  /* Xidmətlər - tək sütun */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Qalereya 2 sütun mobil */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  /* Info item üst-üstə */
  .info-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-label {
    min-width: unset;
  }

  /* Nav container padding */
  .nav-container {
    padding: 0 1.25rem;
  }
}

/* Kiçik mobil - 480px altı */
@media (max-width: 480px) {
  /* Qalereya 1 sütun - çox kiçik ekranlarda */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .hero-img {
    max-width: 240px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  /* Form tam genişlik */
  .booking-form {
    max-width: 100%;
  }
}
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.hours-row.today {
  background: rgba(201, 169, 110, 0.1);
  border-left: 2px solid var(--accent);
}

.hours-day {
  color: var(--gray-light);
}

.hours-time.open {
  color: #4caf50;
  font-weight: 500;
}

.hours-time.closed {
  color: #f44336;
  font-weight: 500;
}

.status-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.coming-soon-wrap {
  text-align: center;
  padding: 5rem 2rem;
  border: 1px solid var(--border);
}

.coming-soon-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.coming-soon-sub {
  font-size: 0.9rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
  max-width: 400px;
  margin: 0 auto;
}
.footer-dev {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  opacity: 0.4;
  margin-top: 0.5rem;
}

.footer-dev a {
  color: var(--accent);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-dev a:hover {
  opacity: 1;
}
/* ---- LİGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-video {
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

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