/* ========================================
   LUMIERE - Style (Gold + Dark Purple Theme)
   가로형 와이드 레이아웃 (Luxury)
   ======================================== */

/* --- CSS Variables --- */
:root {
  --primary: #C9A96E;
  --primary-dark: #B8960B;
  --primary-glow: rgba(201, 169, 110, 0.3);
  --bg-dark: #1A1117;
  --bg-darker: #0F0A0D;
  --bg-charcoal: #221A1F;
  --bg-light: #FAF7F2;
  --bg-white: #FFFFFF;
  --text-white: #FFFFFF;
  --text-black: #1A1A1A;
  --text-gray: #888888;
  --text-light-gray: #AAAAAA;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-black);
  background: var(--bg-white);
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(201,169,110,0.4);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(26, 17, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

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

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 13, 0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-link {
  color: var(--text-white);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-nav.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link:hover {
  color: var(--primary);
}

/* --- Hero - Split Layout --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: 100%;
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  position: relative;
}

.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(201,169,110,0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(20px);
  transform: translateY(20px);
  animation: blurReveal 0.8s forwards;
}

.blur-word:nth-child(1) { animation-delay: 0.5s; }
.blur-word:nth-child(2) { animation-delay: 0.7s; }
.blur-word:nth-child(3) { animation-delay: 0.9s; }

@keyframes blurReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-light-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 1.5s forwards;
}

.hero-desc.fade-up { animation-delay: 1.2s; }
.btn.fade-up { animation-delay: 1.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,17,23,0.4) 0%, rgba(15,10,13,0.2) 100%);
  z-index: 1;
}

.floating-particles {
  position: absolute;
  inset: -50px;
  overflow: hidden;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100%) scale(0); }
  10% { opacity: 0.5; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-300px) scale(1); }
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(201,169,110,0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* --- Section Commons --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-black);
}

.section-title-light {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-white);
}

.section-desc {
  font-size: 17px;
  color: var(--text-gray);
  margin-top: 12px;
}

/* --- Brand Story --- */
.story {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.story-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 50% 50% at 30% 50%, rgba(201,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 80% 30%, rgba(201,169,110,0.04) 0%, transparent 70%);
}

.story-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.3;
  margin: 24px 0;
  letter-spacing: -0.02em;
}

.story-text {
  font-size: 16px;
  color: var(--text-light-gray);
  line-height: 2;
}

/* --- Services - Wide Cards --- */
.services {
  padding: 120px 0;
  background: var(--bg-light);
}

.wide-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid rgba(201,169,110,0.1);
  transition: all var(--transition);
}

.wide-card:last-child {
  margin-bottom: 0;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.3);
}

.wide-card-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.wide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}

.wide-card:hover .wide-card-img {
  transform: scale(1.05);
}

.wide-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.15) 0%, rgba(26,17,23,0.3) 100%);
  z-index: 1;
}

.wide-card-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  margin: 12px 0 16px;
  letter-spacing: -0.01em;
  color: var(--text-black);
}

.service-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* --- Bestseller --- */
.bestseller {
  padding: 120px 0;
  background: var(--bg-white);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid #eee;
  background: var(--bg-white);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.product-img {
  height: 260px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #f5f0eb;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-photo {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.product-body {
  padding: 20px 24px 24px;
  flex: 1;
  position: relative;
  z-index: 2;
  background: var(--bg-white);
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 6px;
}

.product-detail {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

/* --- Stats --- */
.stats {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,169,110,0.05) 0%, transparent 70%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(201,169,110,0.1);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: rgba(201,169,110,0.3);
  background: rgba(201,169,110,0.03);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 15px;
  color: var(--text-gray);
  margin-top: 12px;
  font-weight: 500;
}

/* --- Reviews --- */
.reviews {
  padding: 120px 0;
  background: var(--bg-light);
}

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

.review-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid rgba(201,169,110,0.12);
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(201,169,110,0.08);
  border-color: var(--primary);
}

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

.review-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 16px;
}

.review-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-black);
}

.review-info {
  font-size: 13px;
  color: var(--text-gray);
}

/* --- CTA --- */
.cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-darker);
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201,169,110,0.08) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-gray);
  margin: 24px 0 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 40px;
  color: var(--text-gray);
  border-top: 1px solid rgba(201,169,110,0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 32px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--primary);
}

.portfolio-disclaimer {
  text-align: center;
  color: #e53e3e;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(229, 62, 62, 0.3);
  border-radius: 6px;
  background: rgba(229, 62, 62, 0.05);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

.footer-copy {
  margin-top: 16px;
  color: #444;
}

/* --- Scroll Animations --- */
.anim-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 120px 40px 40px;
    text-align: center;
  }

  .hero-right {
    min-height: 300px;
  }

  .wide-card {
    grid-template-columns: 280px 1fr;
  }

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

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

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

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .header-inner { height: 64px; }

  .hero-left {
    padding: 100px 24px 20px;
  }

  .hero-right {
    min-height: 250px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 52px);
  }

  .wide-card {
    grid-template-columns: 1fr;
  }

  .wide-card-visual {
    min-height: 180px;
  }

  .wide-card-content {
    padding: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services { padding: 80px 0; }
  .story { padding: 100px 0; }
  .bestseller { padding: 80px 0; }
  .stats { padding: 80px 0; }
  .reviews { padding: 80px 0; }
  .cta { padding: 100px 0; }

  .section-header { margin-bottom: 40px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item { padding: 24px 12px; }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 16px 40px;
    width: 100%;
    max-width: 300px;
  }
}

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

  .product-img {
    height: 200px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .blur-word {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .anim-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-bottle {
    animation: none;
  }

  html { scroll-behavior: auto; }
}
