/* =====================================================
   YLLOWTAP — Design System
   Quiet Luxury / Vogue Editorial / Minimal
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,400&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg-main:      #F7F5F2;
  --bg-secondary: #EFECE6;
  --bg-tertiary:  #E7E2DA;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted:   #888888;
  --accent:       #F4D84E;
  --divider:      #D8D3CB;
  --white:        #FFFFFF;
  --black:        #000000;
  --overlay-hero: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.08) 100%);

  /* Typography */
  --font-logo:    'Bodoni Moda', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --header-height: 88px;
  --section-gap:   120px;
  --side-padding:  80px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration:     0.3s;
}

/* ── Reset ── */
*, *::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: var(--font-body);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration) var(--ease);
}
a:hover { opacity: 0.6; }

img, video {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  padding: 0 var(--side-padding);
  transition: backdrop-filter var(--duration) var(--ease);
}

/* Logo */
.header__logo {
  font-family: var(--font-logo);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.header__logo-highlight {
  background: var(--accent);
  padding: 2px 6px;
  margin-left: -3px;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.header__nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: opacity var(--duration) var(--ease);
  white-space: nowrap;
}
.header__nav a:hover { opacity: 0.5; }

/* Right Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.header__actions a,
.header__actions button {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: opacity var(--duration) var(--ease);
}
.header__actions a:hover,
.header__actions button:hover { opacity: 0.5; }

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.header__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration) var(--ease);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-logo);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.mobile-menu__close {
  position: absolute;
  top: 28px; right: var(--side-padding);
  font-size: 28px;
  color: var(--text-primary);
  background: none; border: none; cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: var(--header-height);
}

/* Slider Container */
.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero__slide.active { opacity: 1; }

/* Background Media */
.hero__media {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
  z-index: 1;
}

/* Content */
.hero__content {
  position: absolute;
  left: var(--side-padding);
  bottom: 15%;
  z-index: 2;
  max-width: 520px;
}
.hero__subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-logo);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__cta {
  display: inline-block;
  height: 52px;
  line-height: 52px;
  padding: 0 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  border-radius: 0;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.hero__cta:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  opacity: 1;
}

/* Pagination */
.hero__pagination {
  position: absolute;
  bottom: 36px;
  left: var(--side-padding);
  z-index: 3;
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.hero__pagination span.active {
  color: var(--white);
}

/* Hero Controls (Audio + Video) */
.hero__controls {
  position: absolute;
  bottom: 36px;
  right: var(--side-padding);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}
.hero__control-btn:hover {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.4);
}

/* =====================================================
   SERVICE INFO BAR
   ===================================================== */
.service-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-main);
}
.service-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px var(--side-padding);
  border-right: 1px solid var(--divider);
}
.service-bar__item:last-child { border-right: none; }
.service-bar__icon {
  color: var(--text-secondary);
  flex-shrink: 0;
  opacity: 0.6;
}
.service-bar__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.service-bar__desc {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section {
  padding: var(--section-gap) var(--side-padding);
}
.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-logo);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--divider);
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-card {
  cursor: pointer;
}
.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-secondary);
  margin-bottom: 16px;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__img {
  transform: scale(1.04);
}
.product-card__brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.product-card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* View More */
.view-more {
  text-align: center;
  margin-top: 56px;
}
.view-more a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--text-secondary);
  padding-bottom: 4px;
  transition: all var(--duration) var(--ease);
}
.view-more a:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
  opacity: 1;
}

/* =====================================================
   ABOUT THE MOOD
   ===================================================== */
.mood-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.mood-section__img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mood-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mood-section__title {
  font-family: var(--font-logo);
  font-size: 44px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.mood-section__cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
  transition: all var(--duration) var(--ease);
}
.mood-section__cta:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

/* =====================================================
   TAROT TEASER
   ===================================================== */
.tarot-teaser {
  padding: var(--section-gap) var(--side-padding);
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.tarot-teaser::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 280px;
  color: var(--bg-tertiary);
  pointer-events: none;
  opacity: 0.5;
}
.tarot-teaser__inner {
  position: relative;
  z-index: 1;
}
.tarot-teaser__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.tarot-teaser__title {
  font-family: var(--font-logo);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.tarot-teaser__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}
.tarot-teaser__cta {
  display: inline-block;
  height: 48px;
  line-height: 48px;
  padding: 0 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  border: 1px solid var(--divider);
  background: transparent;
  transition: all var(--duration) var(--ease);
}
.tarot-teaser__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

/* =====================================================
   JOURNAL
   ===================================================== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.journal-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  margin-bottom: 18px;
}
.journal-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.journal-card:hover .journal-card__img {
  transform: scale(1.03);
}
.journal-card__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.journal-card__title {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--divider);
  padding: 64px var(--side-padding) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer__brand-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  font-weight: 500;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}
.footer__col a:hover { color: var(--text-primary); opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: 24px;
}
.footer__copy {
  font-size: 11px;
  color: var(--text-muted);
}
.footer__social {
  display: flex; gap: 20px;
}
.footer__social a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__social a:hover { color: var(--text-primary); opacity: 1; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --side-padding: 40px;
    --section-gap: 80px;
  }
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__title { font-size: 42px; }
  .service-bar { grid-template-columns: repeat(2, 1fr); }
  .service-bar__item:nth-child(2) { border-right: none; }
  .service-bar__item:nth-child(1),
  .service-bar__item:nth-child(2) { border-bottom: 1px solid var(--divider); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --side-padding: 20px;
    --header-height: 64px;
    --section-gap: 64px;
  }
  .header__logo { font-size: 22px; }
  .header__actions a:not(:last-child) { display: none; }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 10px; }
  .hero__desc { font-size: 13px; margin-bottom: 24px; }
  .hero__cta { height: 46px; line-height: 46px; padding: 0 24px; font-size: 10px; }
  .hero__content { left: var(--side-padding); bottom: 12%; max-width: 85%; }
  .hero__pagination { left: var(--side-padding); bottom: 24px; }
  .hero__controls { bottom: 24px; right: var(--side-padding); }
  .hero__control-btn { width: 36px; height: 36px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-bar { grid-template-columns: 1fr; }
  .service-bar__item { border-right: none; border-bottom: 1px solid var(--divider); }
  .service-bar__item:last-child { border-bottom: none; }
  .journal-grid { grid-template-columns: 1fr; }
  .section__title { font-size: 28px; }
  .mood-section { height: 50vh; }
  .mood-section__title { font-size: 30px; }
  .tarot-teaser__title { font-size: 28px; }
  .tarot-teaser::before { font-size: 160px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}