/* Dark Theme for Home Page */

/* Import Luxury Brand Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@100;200;300;400;500;600;700&display=swap");

:root {
  --color-background-dark: #171717;
  /* Neutral 900 */
  --color-surface-dark: #262626;
  /* Neutral 800 */
  --color-text-main-dark: #f5f5f5;
  /* Neutral 100 */
  --color-text-muted-dark: #d4d4d4;
  /* Neutral 300 */
  --color-border-dark: #404040;
  /* Neutral 700 */
  --color-primary-text-dark: #fafafa;
  /* Very light neutral */
  --color-accent-gold: #c5a059;
}

/* Base Backgrounds and Text */
body,
html,
.app-container {
  background-color: var(--color-background-dark) !important;
  color: var(--color-text-main-dark) !important;
}

/* Sections Background Override */
.snap-section,
section,
#why-custom,
#benefits,
#reviews,
#how-it-works,
.hero-content-section {
  background-color: var(--color-background-dark) !important;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary-text-dark) !important;
}

p {
  color: var(--color-text-muted-dark) !important;
}

.section-description {
  color: var(--color-text-muted-dark) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  margin-top: 10px !important;
  line-height: 1.6 !important;
  letter-spacing: -0.02em !important;
}

/* Override inline text color styles */
[style*="color: var(--color-text-light)"] {
  color: var(--color-text-muted-dark) !important;
}

/* Hero Section Specifics */
.hero-content-section .hero-subtitle {
  color: var(--color-text-muted-dark) !important;
}

/* Sequential Reveal Animation */
.hero-content-wrapper h1,
.hero-content-wrapper .hero-subtitle,
.hero-content-wrapper .btn-group {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-content-section.reveal-active .hero-content-wrapper h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-content-section.reveal-active .hero-content-wrapper .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-content-section.reveal-active .hero-content-wrapper .btn-group {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* Why Custom Section Sequential Reveal */
#why-custom .text-center,
#why-custom .custom-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#why-custom.reveal-active .text-center {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

#why-custom.reveal-active .custom-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

#why-custom.reveal-active .custom-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

#why-custom.reveal-active .custom-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* Why GRZL (Benefits) Section Sequential Reveal */
#benefits .text-center,
#benefits .benefit-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#benefits.reveal-active .text-center {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

#benefits.reveal-active .benefit-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

#benefits.reveal-active .benefit-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

#benefits.reveal-active .benefit-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

#benefits.reveal-active .benefit-card:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* Reviews Section Sequential Reveal */
#reviews .text-center,
#reviews .reviews-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#reviews.reveal-active .text-center {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

#reviews.reveal-active .reviews-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Order Process Section Sequential Reveal */
#how-it-works .text-center,
#how-it-works .feature-card,
#how-it-works .btn-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#how-it-works.reveal-active .text-center {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

#how-it-works.reveal-active .feature-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

#how-it-works.reveal-active .feature-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

#how-it-works.reveal-active .feature-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

#how-it-works.reveal-active .btn-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.0s;
}

.hero-bg-animation .bg-line {
  -webkit-text-stroke: 0 !important;
  color: rgba(0, 0, 0, 0.3) !important;
  filter: blur(5px);
}

/* Hero Text - Ultra Luxury Brand Style for "CUSTOM" */
.hero-text-main {
  font-family: "Playfair Display", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  position: relative;
  display: inline-block;
  text-transform: uppercase;

  /* Elegant Gold Gradient */
  background: linear-gradient(135deg,
      #d4af37 0%,
      #f8f6f0 25%,
      #d4af37 50%,
      #f8f6f0 75%,
      #d4af37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Subtle Embossed Effect */
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));

  /* Refined Animation */
  animation: luxuryShimmer 8s ease-in-out infinite;
}

@keyframes luxuryShimmer {

  0%,
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
  }

  50% {
    background-position: 100% center;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.4)) drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 6px 12px rgba(212, 175, 55, 0.5));
  }
}

/* Elegant Underline Effect */
.hero-text-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      #d4af37 20%,
      #f8f6f0 50%,
      #d4af37 80%,
      transparent 100%);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6), 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0.8;
  animation: underlineGlow 4s ease-in-out infinite;
}

@keyframes underlineGlow {

  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6),
      0 1px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.8),
      0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Hero Text - Luxury Style for "WEAR" */
.hero-text-sub {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase;

  /* Refined Silver/White Gradient */
  background: linear-gradient(135deg, #e8e8e8 0%, #ffffff 50%, #e8e8e8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Delicate Shadow */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));

  animation: subtleShimmer 6s ease-in-out infinite;
}

@keyframes subtleShimmer {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

/* Buttons */
/* Make standard primary button WHITE/OFF-WHITE to contrast with dark bg */
.btn {
  background-color: #fafafa !important;
  color: #171717 !important;
  /* Dark Text */
  border-color: #fafafa !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
}

.btn:hover {
  background-color: #e5e5e5 !important;
  transform: translateY(-2px);
}

/* CTA Button - Gold/Accent */
.btn-cta {
  background-color: var(--color-accent-gold) !important;
  border-color: var(--color-accent-gold) !important;
  color: white !important;
  border-radius: 8px !important;
}

.btn-cta:hover {
  background-color: #d6b16a !important;
  /* Lighter Gold */
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4) !important;
}

.btn-outline {
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: white !important;
}

.btn-outline:hover {
  background-color: white !important;
  color: var(--color-background-dark) !important;
  border-color: white !important;
}

/* Cards (Custom, Benefit, Review) */
.custom-card,
.benefit-card,
.review-card {
  background-color: var(--color-surface-dark) !important;
  border: 1px solid var(--color-border-dark);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
}

.custom-card h3,
.benefit-card h3,
.review-header .review-author {
  color: var(--color-primary-text-dark) !important;
}

.custom-card p,
.benefit-card p,
.review-text {
  color: var(--color-text-muted-dark) !important;
}

/* Card Hovers */
.custom-card:hover,
.benefit-card.active {
  border-color: var(--color-accent-gold);
  box-shadow: 0 10px 25px -3px rgba(197, 160, 89, 0.2) !important;
  transform: translateY(-5px);
}

/* Feature Cards (Order Process) */
.feature-card::before {
  background-color: var(--color-border-dark) !important;
}

.feature-icon {
  color: var(--color-text-muted-dark) !important;
}

.feature-text h3 {
  color: var(--color-primary-text-dark) !important;
}

.feature-text p {
  color: var(--color-text-muted-dark) !important;
}

/* Feature Cards Dot */
.feature-card::after {
  background-color: var(--color-accent-gold) !important;
}

/* Footer / SNS adjustments */
footer h2 {
  color: white !important;
}

footer p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Review Photos placeholders */
.review-photo {
  display: none;
  /* Hide old photo div if persists but structure changed */
}

/* Review Card - Modern Vertical Design (2:3 Ratio) */
.review-card {
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  min-width: 250px;
  position: relative;
  border: none !important;
  overflow: hidden;
  isolation: isolate;
  padding: 0 !important;
  background-color: transparent !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 16px !important;
}

.review-bg-image {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.review-card:hover .review-bg-image {
  transform: scale(1.05);
}

/* Bottom Text Area (1/3 of the 2:3 card) */
.review-content-overlay {
  position: relative !important;
  inset: auto !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: var(--review-bg-color, #262626) !important;
  transition: background 0.8s ease-in-out !important;
  z-index: 2;
  padding: 0 !important;
}

.review-content-overlay::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--review-bg-color, #262626));
  pointer-events: none;
  transition: background 0.8s ease-in-out;
}

.review-text-area {
  padding: 20px 18px !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Review Text Styling */
.review-card .review-text {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  text-shadow: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}

.review-card .review-author {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-card .review-author::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.review-header {
  display: none;
  /* Hide old header structure */
}

/* Reviews Section - Mobile Full Width Adjustment */
@media (max-width: 768px) {
  #reviews .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  #reviews .text-center {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }

  .reviews-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 12px !important;
    /* Slightly tighter gap for mobile */
  }

  .review-card {
    min-width: 280px !important;
    flex: 0 0 280px !important;
  }
}