/* ==========================================================================
   Happy Hill Studio - CSS Design Tokens & Base Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --color-bg-ivory: #FAF7F0;
  --color-bg-cream: #F3EBDD;
  --color-bg-lavender-tint: #F5F2F9;
  --color-lavender: #D9D2EA;
  --color-lilac: #B8A8CF;
  --color-sage: #A9B7A0;
  --color-blue: #C9DCE8;
  --color-gold: #B79A68;
  --color-gold-hover: #9E8150;
  --color-charcoal: #34312E;
  --color-charcoal-light: #5C5752;
  --color-white: #FFFFFF;
  
  /* Fonts */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s ease;
  
  /* Container Widths */
  --container-width: 1280px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section,
[id] {
  scroll-margin-top: 96px;
}

body {
  background-color: var(--color-bg-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--color-lilac);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: 1.2;
}

p {
  font-weight: 300;
  color: var(--color-charcoal-light);
}

em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Grid & Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

.align-center {
  display: flex;
  align-items: center;
}

.block {
  display: block;
}

/* Buttons & Links */
.btn-primary {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--color-gold);
  background-color: transparent;
  color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold);
  z-index: -1;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  position: relative;
}

.btn-link .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-link:hover .arrow {
  transform: translateX(5px);
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-charcoal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Common Section Headers */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-charcoal-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Canvas falling petals background styling */
#petal-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10; /* Runs under interactive UI but above background images if styled properly */
}


/* ==========================================================================
   Header & Navigation
   ========================================================================== */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

#navbar.scrolled {
  background-color: rgba(250, 247, 240, 0.9);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(183, 154, 104, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--color-charcoal);
  transition: var(--transition-fast);
}

.logo-subtext {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-top: 0.2rem;
}

#navbar.scrolled .logo-text {
  color: var(--color-charcoal);
}

@media (min-width: 769px) {
  #navbar:not(.scrolled) .logo-text {
    color: var(--color-white);
  }
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  position: relative;
  opacity: 0.8;
}

#hero .nav-link {
  color: var(--color-white);
}

#navbar.scrolled .nav-link {
  color: var(--color-charcoal);
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-nav-cta {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1.5rem;
  transition: var(--transition-smooth);
}

#navbar.scrolled .btn-nav-cta {
  color: var(--color-charcoal);
  border-color: var(--color-gold);
}

.btn-nav-cta:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white) !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  transition: var(--transition-fast);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 135%;
  z-index: -1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(27, 26, 25, 0.6) 0%, 
    rgba(27, 26, 25, 0.3) 50%, 
    rgba(27, 26, 25, 0.5) 100%
  );
}

.hero-content {
  color: var(--color-white);
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-headline {
  font-size: 4.5rem;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-headline em {
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.hero-ctas {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-ctas .btn-primary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero-ctas .btn-primary::before {
  background-color: var(--color-white);
}

.hero-ctas .btn-primary:hover {
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.hero-ctas .btn-link {
  color: var(--color-white);
}

.hero-ctas .btn-link::after {
  background-color: var(--color-white);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
  cursor: pointer;
  gap: 0.8rem;
}

.scroll-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 400;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-gold);
  animation: scrollAnim 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scrollAnim {
  0% {
    transform: translateY(-100%);
  }
  80% {
    transform: translateY(200%);
  }
  100% {
    transform: translateY(200%);
  }
}


/* ==========================================================================
   Intro Story Section
   ========================================================================== */

.intro-section {
  background-color: var(--color-bg-ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.intro-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-lavender);
  opacity: 0.7;
  margin-bottom: 0.5rem;
  display: block;
}

.intro-headline {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.intro-paragraph {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
}

.intro-subparagraph {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  line-height: 1.8;
}

.intro-right {
  position: relative;
}

.watermark-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chinese-watermark {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 28rem;
  color: var(--color-lavender);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transform: translate(-50px, -30px);
}

.image-frame {
  position: relative;
  width: 90%;
  aspect-ratio: 3/4;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.image-frame:hover .intro-img {
  transform: scale(1.04);
}


/* ==========================================================================
   Featured Collection (Masonry Grid)
   ========================================================================== */

.featured-section {
  background-color: var(--color-bg-cream);
}

.featured-section .section-header {
  margin-bottom: 5rem;
}

.featured-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem 2rem;
}

.masonry-item {
  width: 100%;
}

.more-dresses-item {
  display: none !important;
}

.featured-masonry.show-all .more-dresses-item {
  display: block !important;
}

.item-large {
  grid-column: span 7;
}

.item-small {
  grid-column: span 5;
  margin-top: 5rem; /* Offsets column */
}

.item-portrait {
  grid-column: span 4;
}

.item-wide {
  grid-column: span 8;
  margin-top: -3rem; /* Offsets vertical positioning */
}

/* Card Styling */
.product-card {
  width: 100%;
  position: relative;
  background-color: transparent;
  overflow: hidden;
}

.card-img-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.item-wide .card-img-wrap {
  aspect-ratio: 16/10;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.35);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(27, 26, 25, 0.8) 0%, rgba(27, 26, 25, 0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  z-index: 2;
}

.card-details {
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  color: var(--color-white);
}

.card-product-title {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.card-category {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.btn-card-action {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 0.2rem;
}

/* Hover States */
.product-card:hover .card-img {
  transform: scale(1.03);
}

.product-card:hover .card-overlay {
  opacity: 1;
}

.product-card:hover .card-details {
  transform: translateY(0);
}


/* ==========================================================================
   Color Collection
   ========================================================================== */

.colors-section {
  background-color: var(--color-bg-ivory);
  overflow: hidden;
}

.colors-section .section-header {
  margin-bottom: 4rem;
}

.color-interactive-grid {
  position: relative;
  width: 100vw;
  height: 70vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

/* Behind background previews */
.color-bg-previews {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.color-preview-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(250, 247, 240, 0.55);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.1);
}

.color-preview-panel.active {
  opacity: 0.8;
  transform: scale(1);
  z-index: 2;
}

/* Mask overlay on top of BG */
.color-interactive-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    var(--color-bg-ivory) 0%, 
    rgba(250, 247, 240, 0.1) 40%, 
    rgba(250, 247, 240, 0.1) 60%, 
    var(--color-bg-ivory) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Foreground triggers */
.color-triggers-container {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.color-trigger-item {
  flex: 1;
  background-color: rgba(250, 247, 240, 0.85);
  border: 1px solid rgba(183, 154, 104, 0.15);
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.color-trigger-item:hover, .color-trigger-item.active {
  background-color: rgba(250, 247, 240, 0.98);
  border-color: var(--color-gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(52, 49, 46, 0.05);
}

.color-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.color-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
}

.color-desc {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-charcoal);
  white-space: nowrap;
}


/* ==========================================================================
   Full Width Cinematic Banner
   ========================================================================== */

.cinematic-banner-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.1);
  transition: transform 10s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 49, 46, 0.45);
}

.banner-content {
  color: var(--color-white);
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.banner-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--color-blue);
  margin-bottom: 1rem;
  display: block;
}

.banner-title {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.banner-large-text {
  font-size: 3.5rem;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.btn-banner-action {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.8rem 2.2rem;
  transition: var(--transition-smooth);
}

.btn-banner-action .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-banner-action:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.btn-banner-action:hover .arrow {
  transform: translateX(5px);
}


/* ==========================================================================
   Lookbook Gallery Section
   ========================================================================== */

.lookbook-section {
  background-color: var(--color-bg-ivory);
  padding-bottom: 0 !important;
}

.lookbook-section .section-title {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.lookbook-ticker-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
  padding: 2rem 0 8rem 0;
  background-color: var(--color-bg-ivory);
}

.lookbook-ticker-track {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 48s linear infinite;
  will-change: transform;
}

.lookbook-ticker-container:hover .lookbook-ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  position: relative;
  width: 260px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s;
  cursor: pointer;
  z-index: 1;
}

.ticker-item:hover {
  transform: translateY(-20px) scale(1.18);
  z-index: 100;
}

/* Hiệu ứng so le bất đối xứng (Staggered) chéo độc đáo cho băng chuyền ảnh */
.ticker-item.stagger-1 {
  margin-top: 0;
}

.ticker-item.stagger-2 {
  margin-top: 5rem;
}

.ticker-item.stagger-3 {
  margin-top: 2.5rem;
}

.ticker-item.stagger-4 {
  margin-top: 7.5rem;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery-img-box {
  width: 100%;
  height: 400px; /* Tăng chiều cao tương xứng để giữ tỷ lệ dọc 5:7 */
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(52, 49, 46, 0.04);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
  border: 1px solid rgba(183, 154, 104, 0.1);
}

.ticker-item:hover .gallery-img-box {
  box-shadow: 0 25px 50px rgba(52, 49, 46, 0.25);
  border-color: rgba(183, 154, 104, 0.5);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
  display: block;
}

.ticker-item:hover .gallery-img {
  transform: scale(1.1);
}


/* ==========================================================================
   Pricing Section (Bảng giá dịch vụ chụp)
   ========================================================================== */

.pricing-section {
  background-color: var(--color-bg-cream);
  border-top: 1px solid rgba(183, 154, 104, 0.15);
  border-bottom: 1px solid rgba(183, 154, 104, 0.15);
}

.pricing-section .section-header {
  margin-bottom: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  align-items: stretch;
  margin-bottom: 5rem;
}

/* Base Pricing Card */
.pricing-card {
  background-color: var(--color-bg-ivory);
  border: 1px solid rgba(183, 154, 104, 0.25);
  padding: 3.5rem 2rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 25px rgba(52, 49, 46, 0.04);
}

.card-num {
  font-size: 2.2rem;
  color: var(--color-lilac);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.card-name {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: var(--color-charcoal);
  font-weight: 400;
}

.card-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-charcoal-light);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  min-height: 3rem; /* Keeps layout aligned */
}

.card-price-wrap {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
}

.card-price {
  font-size: 3.2rem;
  color: var(--color-charcoal);
  font-weight: 400;
  line-height: 1;
}

.card-price-unit {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-charcoal-light);
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
}

.card-features {
  list-style: none;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1; /* Pushes CTA to the bottom */
}

.card-features li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-charcoal-light);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.btn-card-cta {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-card-cta .arrow {
  transition: transform 0.3s ease;
}

.btn-card-cta:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.btn-card-cta:hover .arrow {
  transform: translateX(4px);
}

/* Featured Card: 1.499K Gói Trải Nghiệm */
.pricing-card.card-featured {
  background-color: #F6F3EC; /* Light warm champagne cream */
  border: 1px solid var(--color-gold);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(183, 154, 104, 0.08);
  overflow: hidden;
}

/* Subtle Shimmer Glow Animation */
.pricing-card.card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmerGlow 8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shimmerGlow {
  0% { left: -150%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.pricing-card.card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(183, 154, 104, 0.15);
}

.card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  white-space: nowrap;
}

.pricing-card.card-featured .btn-card-cta {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.pricing-card.card-featured .btn-card-cta:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Pricing Footer */
.pricing-footer {
  margin-top: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-footer-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.pricing-footer-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-charcoal-light);
  margin-bottom: 1.8rem;
}


/* ==========================================================================
   Booking Modal & Form Overlay
   ========================================================================== */

.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(52, 49, 46, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
}

.booking-modal-overlay.open {
  display: flex;
}

.booking-modal-content {
  background-color: var(--color-bg-ivory);
  border: 1px solid var(--color-gold);
  width: 90%;
  max-width: 640px;
  padding: 4rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(52, 49, 46, 0.15);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalReveal 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes modalReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-charcoal-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.booking-modal-close:hover {
  color: var(--color-gold);
}

.booking-modal-header h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.booking-package-indicator {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.booking-package-indicator strong {
  color: var(--color-gold);
  font-weight: 400;
}

/* Booking Form Elements */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--color-charcoal-light);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(52, 49, 46, 0.2);
  padding: 0.6rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  font-weight: 300;
  transition: border-color var(--transition-fast);
  border-radius: 0;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}

.form-group select {
  cursor: pointer;
  /* Reset default appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23B79A68' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1.5rem;
}

.booking-form .btn-submit-booking {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  padding: 1rem;
}

/* Success View */
.booking-success-wrap {
  display: none; /* Controlled by JS */
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-bg-cream);
  color: var(--color-gold);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid var(--color-gold);
}

.booking-success-wrap h4 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.booking-success-wrap p {
  font-size: 1rem;
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Quick Contacts */
.modal-quick-contacts {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(183, 154, 104, 0.15);
  padding-top: 2rem;
}

.quick-contact-title {
  font-size: 0.8rem;
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.modal-contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.modal-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-charcoal-light);
  transition: var(--transition-fast);
}

.modal-contact-link img,
.modal-contact-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.modal-contact-link:hover {
  color: var(--color-gold);
  transform: translateY(-1px);
}


/* ==========================================================================
   Responsive Adaptability (Pricing/Modal)
   ========================================================================== */

@media (max-width: 1199px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .pricing-card.card-featured {
    transform: none !important; /* Disables vertical scale shift on 2x2 */
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 2rem !important;
    padding: 2rem 20px 4rem 20px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch !important;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  
  .pricing-card {
    width: 290px !important;
    max-width: 80vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    padding: 3rem 1.8rem;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  
  .btn-card-cta {
    padding: 1rem;
  }
  
  .booking-modal-content {
    padding: 3rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .modal-contact-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .card-price {
    font-size: 2.8rem;
  }
}



/* ==========================================================================
   Product Showcase
   ========================================================================== */

.showcase-section {
  background-color: var(--color-bg-cream);
}

.showcase-section .section-header {
  margin-bottom: 6rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  margin-bottom: 9rem;
  align-items: center;
}

.showcase-item:last-child {
  margin-bottom: 0;
}

.showcase-item.reversed {
  grid-template-columns: 1fr 1.1fr;
}

.showcase-media {
  width: 100%;
}

.showcase-img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(52, 49, 46, 0.05);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.35);
  transition: transform 8s ease;
}

.showcase-item:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-info {
  display: flex;
  flex-direction: column;
}

.product-num {
  font-size: 3rem;
  color: var(--color-lilac);
  opacity: 0.6;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.product-name {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.product-description {
  font-size: 1.1rem;
  color: var(--color-charcoal);
  margin-bottom: 2.5rem;
}

.product-details-list {
  list-style: none;
  margin-bottom: 3.5rem;
  border-top: 1px solid rgba(183, 154, 104, 0.2);
  border-bottom: 1px solid rgba(183, 154, 104, 0.2);
  padding: 1.5rem 0;
}

.product-details-list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  display: flex;
  font-weight: 300;
}

.product-details-list li:last-child {
  margin-bottom: 0;
}

.product-details-list li strong {
  width: 130px;
  color: var(--color-gold);
  font-weight: 500;
  display: inline-block;
  flex-shrink: 0;
}


/* ==========================================================================
   Brand Experience (Values Grid)
   ========================================================================== */

.brand-experience-section {
  background-color: var(--color-bg-lavender-tint);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.value-icon-wrap {
  width: 80px;
  height: 80px;
  color: var(--color-gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-svg {
  width: 100%;
  height: 100%;
}

.value-num {
  font-size: 1.8rem;
  color: var(--color-lilac);
  opacity: 0.8;
  margin-bottom: 0.8rem;
}

.value-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.value-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-charcoal-light);
  font-weight: 300;
}


/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0;
}

.cta-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 12s ease;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 49, 46, 0.55);
}

.cta-content {
  color: var(--color-white);
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-title {
  font-size: 4rem;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 4rem;
}

.final-cta-section .btn-primary {
  border-color: var(--color-white);
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 1rem 3rem;
  letter-spacing: 0.1em;
}

.final-cta-section .btn-primary::before {
  background-color: var(--color-white);
}

.final-cta-section .btn-primary:hover {
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.cta-socials {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer-section {
  background-color: var(--color-bg-cream);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(183, 154, 104, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  margin-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  line-height: 1;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  line-height: 1.8;
  max-width: 360px;
}

.footer-links-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.footer-col-title {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--color-charcoal);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.address-info li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(183, 154, 104, 0.15);
  padding-top: 3rem;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(52, 49, 46, 0.6);
}

.footer-social-icons a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 0.2rem;
}

.footer-social-icons a:hover {
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}



/* ==========================================================================
   Happy Hill Film Collection Section — Vertical 9:16 Experience
   ========================================================================== */

.films-section {
  background-color: var(--color-bg-ivory);
  position: relative;
  overflow: hidden;
  padding-top: 4rem !important;
}

.films-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 7vw;
  font-weight: 400;
  text-transform: uppercase;
  color: #706A63;
  opacity: 0.04;
  white-space: nowrap;
  letter-spacing: 0.2em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.films-gallery-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5rem 2rem;
  position: relative;
  z-index: 2;
  margin-top: 6rem;
}

/* Staggered offsets for 1024px to 1439px viewports */
.films-gallery-container .film-item[data-film-id="1"] {
  grid-column: 5 / 9;
  grid-row: 1;
}

.films-gallery-container .quote-item-1 {
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: center;
  padding-right: 2rem;
}

.films-gallery-container .film-item[data-film-id="2"] {
  grid-column: 8 / 12;
  grid-row: 2;
  margin-top: 4rem;
}

.films-gallery-container .film-item[data-film-id="3"] {
  grid-column: 2 / 6;
  grid-row: 3;
  margin-top: -2rem;
}

.films-gallery-container .quote-item-2 {
  grid-column: 7 / 12;
  grid-row: 3;
  align-self: center;
  padding-left: 2rem;
}

.films-gallery-container .film-item[data-film-id="4"] {
  grid-column: 8 / 12;
  grid-row: 4;
  margin-top: 3rem;
}

.films-gallery-container .film-conversion-card {
  grid-column: 2 / 7;
  grid-row: 4;
  align-self: center;
  padding-right: 2rem;
  margin-top: 3rem;
}

/* Video Containers */
.film-item {
  width: 100%;
  max-width: 380px;
  justify-self: center;
}

.video-container-wrap {
  width: 100%;
}

.video-ratio-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background-color: #22201F;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.6s ease;
}

.film-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-ratio-container.fit-contain .film-video {
  object-fit: contain;
}

/* Custom Play Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(34, 31, 28, 0.7) 0%, rgba(34, 31, 28, 0.15) 50%, rgba(34, 31, 28, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  z-index: 2;
  cursor: pointer;
  transition: background 0.4s ease, opacity 0.5s ease;
}

.play-button-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 14px solid #FAF7F0;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.play-text {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: #FAF7F0;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-meta-info {
  margin-top: auto;
  color: #FAF7F0;
}

.film-label-num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-bg-cream);
  opacity: 0.9;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}

.film-label-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.3rem;
  display: block;
}

.film-label-duration {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.75;
}

/* Sound Button Overlay */
.film-sound-control {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(34, 31, 28, 0.45);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background-color 0.25s, transform 0.25s;
}

.film-sound-control:hover {
  background-color: rgba(34, 31, 28, 0.85);
  transform: scale(1.1);
}

.film-sound-control .sound-icon {
  font-size: 0.9rem;
}

/* Active playback rules */
.video-ratio-container.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-ratio-container.playing .film-sound-control {
  opacity: 1;
  pointer-events: auto;
}

/* Hover scales */
.video-ratio-container:hover {
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.video-ratio-container:hover .film-video {
  transform: scale(1.02);
}

.video-ratio-container:hover .play-circle {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Editorial Quotes */
.editorial-quote-wrap {
  width: 100%;
  max-width: 460px;
}

.editorial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 3.5rem;
  line-height: 1.3;
  color: #706A63;
  font-weight: 300;
}

/* Conversion Card Styling */
.film-conversion-card {
  max-width: 480px;
}

.conv-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.conv-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.conv-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.conv-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn-secondary-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--color-charcoal-light);
  display: inline-block;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--color-charcoal-light);
  transition: var(--transition-fast);
}

.btn-secondary-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Staggered Delay classes */
.delay-100 {
  transition-delay: 0.1s !important;
}
.delay-200 {
  transition-delay: 0.2s !important;
}
.delay-300 {
  transition-delay: 0.3s !important;
}

@media (min-width: 1440px) {
  .films-gallery-container {
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 0 48px !important;
  }
  .films-gallery-container .film-item[data-film-id="1"] {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
    margin-top: 120px !important;
  }
  .films-gallery-container .film-item[data-film-id="2"] {
    grid-column: 4 / 7 !important;
    grid-row: 1 !important;
    margin-top: 0 !important;
  }
  .films-gallery-container .film-item[data-film-id="3"] {
    grid-column: 7 / 10 !important;
    grid-row: 1 !important;
    margin-top: 180px !important;
  }
  .films-gallery-container .film-item[data-film-id="4"] {
    grid-column: 10 / 13 !important;
    grid-row: 1 !important;
    margin-top: 60px !important;
  }
  
  .films-gallery-container .quote-item-1 {
    grid-column: 1 / 7 !important;
    grid-row: 2 !important;
    margin-top: 100px !important;
    padding-right: 4rem;
  }
  .films-gallery-container .quote-item-2 {
    display: none !important;
  }
  .films-gallery-container .film-conversion-card {
    grid-column: 7 / 13 !important;
    grid-row: 2 !important;
    margin-top: 100px !important;
    padding-left: 2rem;
  }
}

/* ==========================================================================
   Micro Interactions & Animations (Scroll reveal)
   ========================================================================== */

/* Classes trigger by Intersection Observer in JS */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animations on Hero load */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
  transition-delay: 0.2s; /* for scroll reveal */
}

.delay-3 {
  animation-delay: 0.6s;
  transition-delay: 0.4s; /* for scroll reveal */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   Responsive Adaptability (UX Rules)
   ========================================================================== */

@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  .intro-grid, .footer-grid, .showcase-item {
    gap: 4rem;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 6rem 0;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .intro-right {
    order: 1; /* Place text first, image second on mobile */
  }
  
  .chinese-watermark {
    font-size: 20rem;
    transform: translate(-30px, -20px);
  }

  /* Make intro image frame UI/UX friendly on mobile */
  .image-frame {
    width: 85% !important;
    max-width: 340px !important;
    aspect-ratio: 4/5 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(183, 154, 104, 0.25) !important;
    box-shadow: 0 20px 45px rgba(52, 49, 46, 0.08) !important;
  }
  
  .featured-masonry {
    gap: 2rem;
  }
  
  .item-large, .item-small, .item-portrait, .item-wide {
    grid-column: span 6;
    margin-top: 0 !important;
  }
  
  .color-interactive-grid {
    height: auto;
    flex-direction: column;
    padding: 2rem 0;
  }
  
  .color-bg-previews {
    display: none; /* Hide interactive background swap on smaller devices */
  }
  
  .color-triggers-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .color-trigger-item {
    flex: 0 0 calc(50% - 1rem);
    background-color: var(--color-bg-cream);
  }
  
  .lookbook-ticker-container {
    padding: 1rem 0 4rem 0 !important;
  }

  .ticker-item {
    width: 180px !important;
  }

  .gallery-img-box {
    height: 260px !important;
  }

  .ticker-item.stagger-2 {
    margin-top: 2rem !important;
  }

  .ticker-item.stagger-3 {
    margin-top: 1rem !important;
  }

  .ticker-item.stagger-4 {
    margin-top: 3rem !important;
  }
  
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .showcase-item.reversed {
    grid-template-columns: 1fr;
  }
  
  .showcase-media {
    order: -1;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-links-wrap {
    gap: 2rem;
  }
  
  .editorial-quote {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 1rem 0;
    background-color: rgba(250, 247, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(183, 154, 104, 0.1);
  }
  
  .nav-link {
    color: var(--color-charcoal) !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-ivory);
    flex-direction: column;
    padding: 8rem 3rem 3rem 3rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(52, 49, 46, 0.05);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta-wrap {
    display: none;
  }
  
  .hero-headline {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .hero-ctas .btn-primary {
    width: 100%;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .intro-headline {
    font-size: 2.2rem;
  }
  
  .featured-masonry {
    grid-template-columns: 1fr;
  }
  
  .item-large, .item-small, .item-portrait {
    grid-column: span 12;
  }
  
  .item-wide {
    display: none !important;
  }
  
  .featured-masonry.show-all .item-wide {
    display: block !important;
  }
  
  .color-trigger-item {
    flex: 0 0 100%;
  }
  
  .banner-large-text {
    font-size: 2.2rem;
  }
  
  .product-name {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-socials {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-links-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  /* Films section responsive for mobile devices */
  .films-section {
    padding: 6rem 0;
  }
  .films-watermark {
    font-size: 10vw;
  }
  .films-gallery-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 2rem !important;
    padding: 2rem 20px 4rem 20px !important;
    margin-top: 2rem !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch !important;
  }
  .films-gallery-container::-webkit-scrollbar {
    display: none;
  }
  .film-item {
    width: 280px !important;
    max-width: 80vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
  }
  .editorial-quote-wrap {
    width: 240px !important;
    max-width: 70vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(183, 154, 104, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 10px 30px rgba(52, 49, 46, 0.03) !important;
  }
  .editorial-quote {
    font-size: 1.8rem !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
  .film-conversion-card {
    width: 280px !important;
    max-width: 80vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    padding: 3rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(183, 154, 104, 0.2) !important;
  }
  .conv-buttons {
    align-items: center !important;
    width: 100%;
  }
  .conv-buttons .btn-primary {
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(250, 247, 240, 0.85); /* Ivory with glass blur */
  border: 1px solid rgba(183, 154, 104, 0.45);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(52, 49, 46, 0.08);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 6px 20px rgba(183, 154, 104, 0.4);
  transform: translateY(-2px);
}

.scroll-to-top-btn .arrow {
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover .arrow {
  transform: translateY(-2px);
}


/* ==========================================================================
   Lookbook Lightbox Modal
   ========================================================================== */
.lookbook-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(28, 26, 24, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lookbook-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 3rem;
  font-weight: 200;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--color-white);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lookbook-lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

/* Respect users who prefer less motion and avoid hiding content behind animations. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal,
  .scroll-reveal.revealed,
  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  #petal-canvas {
    display: none;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid rgba(183, 154, 104, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: var(--color-white);
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 1.5rem;
  text-align: center;
}

/* Support for SVG checkmarks and speaker controls instead of Emojis */
.success-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.success-svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: var(--color-gold);
}

.film-sound-control .sound-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-sound-control .sound-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* Optimize Lookbook Lightbox for mobile devices */
@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
  .lightbox-content {
    max-width: 95vw;
  }
  .lightbox-caption {
    font-size: 1rem;
    margin-top: 1.2rem;
  }

  /* Move Video 3 (Film 03) to the 1st position on mobile swipe track */
  .film-item[data-film-id="3"] {
    order: 1 !important;
  }
  .film-item[data-film-id="1"] {
    order: 2 !important;
  }
  .editorial-quote-wrap.quote-item-1 {
    order: 3 !important;
  }
  .film-item[data-film-id="2"] {
    order: 4 !important;
  }
  .editorial-quote-wrap.quote-item-2 {
    order: 5 !important;
  }
  .film-item[data-film-id="4"] {
    order: 6 !important;
  }
  .film-conversion-card {
    order: 7 !important;
  }
}
