/* ============================================
   LUXE WIG ATELIER - Premium Wig Landing Page
   Theme: Black / White / Gray / Brown
   ============================================ */

:root {
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --white: #ffffff;
  --off-white: #f8f6f4;
  --gray-light: #e8e4e0;
  --gray: #9a9490;
  --gray-dark: #5c5652;
  --brown: #8b5e3c;
  --brown-light: #a67c52;
  --brown-dark: #6b4423;
  --brown-soft: #c4a484;
  --gradient-dark: linear-gradient(135deg, #0d0d0d 0%, #2a221c 50%, #1a1a1a 100%);
  --gradient-brown: linear-gradient(135deg, #6b4423 0%, #8b5e3c 50%, #a67c52 100%);
  --gradient-soft: linear-gradient(135deg, #f8f6f4 0%, #e8e4e0 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.25);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
}

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

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

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-dark);
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.btn-primary {
  background: var(--gradient-brown);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139, 94, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 94, 60, 0.5);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo span {
  color: var(--brown-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brown-soft);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: var(--brown-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ========== HERO CAROUSEL ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  margin-top: 72px;
  overflow: hidden;
  background: var(--black);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 13, 13, 0.75) 0%,
    rgba(13, 13, 13, 0.4) 50%,
    rgba(13, 13, 13, 0.2) 100%
  );
}

.slide-content {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 8%;
  max-width: 640px;
  color: var(--white);
}

.slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: var(--gray-light);
  line-height: 1.8;
}

.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--brown-soft);
  border-color: var(--brown-soft);
  transform: scale(1.2);
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: auto;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: scale(1.1);
}

/* ========== PARALLAX SECTIONS ========== */
.parallax-section {
  position: relative;
  min-height: 480px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.55);
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 60px 24px;
  max-width: 800px;
}

.parallax-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 400;
}

.parallax-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 28px;
}

/* ========== INTRO / STORY ========== */
.intro-section {
  padding: 100px 0;
  background: var(--white);
}

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

.intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.intro-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.intro-image:hover img {
  transform: scale(1.06);
}

.intro-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.4), transparent);
  pointer-events: none;
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--black);
  font-weight: 400;
}

.intro-text p {
  color: var(--gray-dark);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.intro-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--brown);
  font-family: var(--font-display);
}

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

/* ========== FEATURE CARDS ========== */
.features-section {
  padding: 100px 0;
  background: var(--gradient-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.feature-card-img {
  height: 240px;
  overflow: hidden;
}

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

.feature-card:hover .feature-card-img img {
  transform: scale(1.1) rotate(2deg);
}

.feature-card-body {
  padding: 28px 24px 32px;
}

.feature-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--black);
  font-weight: 400;
}

.feature-card-body p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: var(--gradient-brown);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ========== CUSTOM SERVICE ========== */
.custom-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.custom-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 94, 60, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.custom-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.custom-text p {
  color: var(--gray-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.custom-list {
  margin: 28px 0 36px;
}

.custom-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--gray-light);
}

.custom-list li::before {
  content: '✦';
  color: var(--brown-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-image {
  position: relative;
}

.custom-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.custom-image:hover img {
  transform: scale(1.03);
}

.custom-badge {
  position: absolute;
  top: 24px;
  left: -16px;
  background: var(--gradient-brown);
  color: var(--white);
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}

/* ========== GALLERY ========== */
.gallery-section {
  padding: 100px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--gray-light);
}

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

.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(0.85);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 1.6rem;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

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

.lightbox.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--brown-soft);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption {
  color: var(--gray-light);
  margin-top: 16px;
  font-size: 0.95rem;
}

/* ========== REVIEWS ========== */
.reviews-section {
  padding: 100px 0;
  background: var(--gradient-soft);
}

.reviews-wrapper {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 calc(33.333% - 22px);
  margin: 0 11px;
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.review-stars {
  color: var(--brown);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--gray-light);
  padding-top: 18px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-light);
}

.review-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--gray);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.reviews-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brown);
  background: transparent;
  color: var(--brown);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-btn:hover {
  background: var(--brown);
  color: var(--white);
  transform: scale(1.1);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: var(--font-main);
}

.faq-question:hover {
  color: var(--brown);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--brown);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--gray-dark);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ========== SHIPPING & AFTER-SALES ========== */
.policy-section {
  padding: 100px 0;
  background: var(--black-soft);
  color: var(--white);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.policy-card {
  background: linear-gradient(145deg, #1f1f1f 0%, #2a221c 100%);
  border-radius: 6px;
  padding: 40px 36px;
  border: 1px solid rgba(166, 124, 82, 0.2);
  transition: var(--transition);
}

.policy-card:hover {
  border-color: var(--brown-soft);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--brown-soft);
  font-weight: 400;
}

.policy-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--gray-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.policy-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brown);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: var(--gray-light);
  padding: 70px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-col ul a {
  color: var(--gray);
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--brown-soft);
  padding-left: 4px;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--gray);
}

.footer-contact strong {
  color: var(--brown-soft);
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
  transform: translateY(-4px) rotate(8deg);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .review-card {
    flex: 0 0 calc(50% - 22px);
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--black);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-contact .nav-phone {
    display: none;
  }

  .intro-grid,
  .custom-grid,
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .review-card {
    flex: 0 0 calc(100% - 22px);
  }

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

  .slide-content {
    padding: 0 6%;
  }

  .parallax-section {
    background-attachment: scroll;
  }

  .hero {
    height: 85vh;
    min-height: 520px;
  }
}

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

  .intro-stats {
    flex-direction: column;
    gap: 20px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
