/* VEIL NOTES | Luxury Moody Perfume Boutique */
:root {
  --primary-color: #d4af37; /* Warm Gold Accent */
  --bg-deep: #090b0e; /* Almost Black */
  --bg-card: #111419; /* Dark Charcoal */
  --text-light: #eaeaea; /* Warm Silver */
  --text-muted: #8e98a2; /* Slate Gray */
  --border-color: rgba(255, 255, 255, 0.08);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Noto Sans KR', sans-serif;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img {
  width: 100%;
  display: block;
}

/* Promo Bar */
.promo-bar {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

/* Header & Navigation */
.header {
  background-color: rgba(9, 11, 14, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.22em;
  color: var(--text-light);
}

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

.nav-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-item:hover {
  color: var(--text-light);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.icon-btn:hover {
  color: var(--text-light);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background-color: #0b0d10;
}

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

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 11, 14, 0.98) 0%, rgba(9, 11, 14, 0.8) 40%, transparent 80%);
}

.hero-content-overlay {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero-content-box {
  max-width: 520px;
}

.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1.18;
  font-weight: 300;
  margin-bottom: 22px;
  color: var(--text-light);
}

.hero p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 38px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 16px 42px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--text-light);
  color: var(--bg-deep);
  border: 1px solid var(--text-light);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Categories Section */
.categories-section {
  padding: 100px 60px;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  max-width: 1440px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-title .subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--primary-color);
  display: block;
  margin-bottom: 12px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 300;
}

.categories-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.card-img-wrap {
  height: 320px;
  overflow: hidden;
}

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

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

.category-card .card-body {
  padding: 30px;
}

.category-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Philosophy Section (Split) */
.philosophy-section {
  padding: 100px 60px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.philosophy-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-text {
  max-width: 540px;
}

.philosophy-text h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.philosophy-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  margin-top: 10px;
  display: inline-block;
}

.philosophy-image {
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Products Section */
.products-section {
  padding: 100px 60px;
}

.products-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.product-image-box {
  background-color: #0d0f13;
  height: 260px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--bg-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
}

.product-meta {
  padding: 30px;
}

.product-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.product-meta .price {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.product-meta .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: #060709;
  border-top: 1px solid var(--border-color);
  padding: 80px 60px 40px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 340px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-nav h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-nav a:hover {
  color: var(--text-light);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .header-container {
    padding: 20px 30px;
  }
  
  .hero {
    height: 520px;
  }
  
  .hero-content-overlay {
    padding: 0 30px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .philosophy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .philosophy-image {
    order: -1;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 89px;
    left: 0;
    width: 100%;
    height: calc(100vh - 89px);
    background-color: var(--bg-deep);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .utility-link {
    display: none;
  }
  
  .hero {
    height: 460px;
  }
  
  .hero::after {
    background: linear-gradient(0deg, rgba(9, 11, 14, 0.98) 25%, rgba(9, 11, 14, 0.7) 65%, transparent 100%);
  }
  
  .hero-content-overlay {
    align-items: flex-end;
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .categories-section, .philosophy-section, .products-section {
    padding: 60px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOCKUP DESIGN SYSTEM RE-ALIGNMENT
   ========================================================================== */
/* Split Hero Section */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 600px;
  background-color: var(--bg-deep); /* Dark moody background */
}

.hero-text-side {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  background-color: var(--bg-card); /* Dark charcoal card background */
}

.hero-text-content {
  max-width: 520px;
}

.hero-text-content h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 300;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-text-content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}

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

/* Categories Grid (4 Columns) */
.categories-section {
  padding: 100px 40px;
  background-color: var(--bg-deep);
  border-bottom: 1px solid var(--border-color);
}

.categories-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.card-img-wrap {
  height: 280px;
  overflow: hidden;
  background-color: #0f1115;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .card-body {
  padding: 24px;
}

.category-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.category-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Philosophy Split (Ingredients Table & Ocean View Archway) */
.philosophy-section {
  padding: 100px 60px;
  background-color: var(--bg-deep);
}

.philosophy-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.philosophy-text {
  max-width: 560px;
}

.philosophy-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.philosophy-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Ingredients Table list styling */
.ingredients-list {
  border-top: 1px solid var(--border-color);
}

.ing-item {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.ing-item strong {
  font-family: var(--font-serif);
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.ing-item span {
  color: var(--text-muted);
}

/* Right Story Block Side with Window image */
.story-block-side {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

.story-info-box {
  padding: 40px;
}

.story-info-box h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.story-info-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.story-info-box .text-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
}

.philosophy-image {
  height: 300px;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Products Section (Signature Perfume Lineup 4 Columns) */
.products-section {
  padding: 120px 40px;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-color);
}

.products-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.product-image-box {
  height: 260px;
  background-color: #0c0e11;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-meta {
  padding: 24px;
}

.product-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.product-meta .price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 10px;
}

.product-meta .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsiveness overrides */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text-side {
    padding: 60px 40px;
  }
  .hero-image-side {
    height: 400px;
  }
  .categories-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .philosophy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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