/* =============================================
   BEAUTY STUDIO — Main Stylesheet
   Dark Elegant Theme with Gold Accents
   ============================================= */

/* --- CSS Variables --- */
:root {
  --bg-primary:    #0d0d0d;
  --bg-secondary:  #141414;
  --bg-card:       #1a1a1a;
  --gold:          #c9a84c;
  --gold-light:    #e8c97a;
  --gold-dark:     #9e7a2e;
  --text-primary:  #f0ece4;
  --text-muted:    #9e9a92;
  --border:        #2a2a2a;
  --border-gold:   rgba(201,168,76,0.35);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
  --shadow:        0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold:   0 4px 24px rgba(201,168,76,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 4vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 0.5rem;
}

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

section { padding: 60px 0; }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(13,13,13,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.nav-logo:hover { color: inherit; }

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

.nav-mobile a {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--gold); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0d0d;
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(201,168,76,0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0d0d0d;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.45);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: #0d0d0d;
  border-color: var(--gold);
}

.btn-outline:hover:after {
  border: none;
  display: none;
}
/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: 30px;
}

.hero-title {
  margin-bottom: 1.4rem;
  color: var(--text-primary);
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
}

.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,0.6) 100%);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-gold);
}

.hero-badge-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* =============================================
   SERVICES SECTION (index)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before { width: 100%; }

.service-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

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

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
}

.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), transparent);
}

.about-deco {
  position: absolute;
  top: 20px; right: -20px;
  width: 80px; height: 80px;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-content { padding: 20px 0; }

.about-content h2 { margin-bottom: 1.2rem; }

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.features-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.features-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* =============================================
   PRICE PAGE
   ============================================= */
.page-hero {
  padding: 140px 0 0;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.06), transparent);
}

.page-hero h1 { margin-bottom: 0.5rem; }

.price-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.price-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.price-category:hover { border-color: var(--border-gold); }

.price-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 36px;
  background: rgba(201,168,76,0.05);
  border-bottom: 1px solid var(--border);
}

.price-category-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.price-category-header h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.price-list { padding: 0 36px 12px; }

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}

.price-item:last-child { border-bottom: none; }

.price-name {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.price-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.price-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
  margin-right: 20px;
}

.price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.price-note {
  text-align: center;
  padding: 48px 0 0;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* =============================================
   GALLERY PAGE — CAROUSEL
   ============================================= */
.carousel-section { padding-bottom: 0; padding-top: 0; }

.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  aspect-ratio: 16/7;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 40px 30px;
  background: linear-gradient(0deg, rgba(13,13,13,0.85) 0%, transparent 100%);
  color: var(--text-primary);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.carousel-caption span {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 4px;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(13,13,13,0.7);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: var(--gold);
  color: #0d0d0d;
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Gallery Grid */
.gallery-section { padding-top: 60px; }

.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(201,168,76,0.12);
  border-color: var(--border-gold);
  color: var(--gold);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--bg-card);
  transition: border-color var(--transition);
}

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

.gallery-item:hover { border-color: var(--border-gold); }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.7);
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: var(--bg-card);
}

.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13,13,13,0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover { background: var(--gold); color: #0d0d0d; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 12px; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contacts .ico { color: var(--gold); font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================
   SCROLL ANIMATION
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-category-header { padding: 20px 24px; }
  .price-list { padding: 0 24px 8px; }
  .hero { min-height: auto; }
  .btn { padding: 8px 18px; letter-spacing: 0.04em; }
}

@media (max-width: 767px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .carousel-wrap { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .price-duration { display: none; }
  h1 { font-size: clamp(1.4rem, 3vw, 4rem); }
  h2 { font-size: clamp(1.4rem, 2vw, 2.4rem); }
  .hero { min-height: auto; }
  .btn { padding: 8px 18px; letter-spacing: 0.04em; }
}
