/* ============================================================
   DECIYA LIVING — Premium Dark Luxury Theme
   assets/css/style.css
   ============================================================ */

/* ── Google Fonts are loaded via functions.php wp_enqueue_style ── */

/* ── Design Tokens ── */
:root {
  --black:      #070706;
  --charcoal:   #11110F;
  --panel:      #171713;
  --panel-soft: #201F1A;
  --gold:       #D4AF37;
  --gold-soft:  #F0D991;
  --gold-dark:  #9B7A24;
  --ivory:      #F8F2E3;
  --cream:      #D8C8A8;
  --muted:      #9B9483;
  --line:       rgba(212, 175, 55, .22);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--ivory);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.05;
}

/* ── Utility: Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 15px 34px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: .3s ease;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.btn:hover {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold);
}
.btn-light {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--line);
}
.btn-light:hover {
  background: rgba(212, 175, 55, .1);
  color: var(--gold);
}

/* ── Eyebrow Label ── */
.eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* ══════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════ */
.deciya-topbar {
  background: linear-gradient(90deg, #070706, #201A0A, #070706);
  border-bottom: 1px solid var(--line);
  color: var(--gold-soft);
  text-align: center;
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.deciya-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 6, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.deciya-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
}
.deciya-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: .08em;
  font-weight: 400;
  font-size: 14px;
  flex-shrink: 0;
}
.deciya-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .08em;
}

/* Primary menu */
.deciya-nav .nav-primary ul {
  display: flex;
  gap: 34px;
  list-style: none;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.deciya-nav .nav-primary ul li a { color: var(--muted); transition: color .25s; }
.deciya-nav .nav-primary ul li a:hover { color: var(--gold-soft); }

/* Nav CTA */
.nav-shop-btn { flex-shrink: 0; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: .3s;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 6, .97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin-bottom: 28px; }
.mobile-menu ul li a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--ivory);
  letter-spacing: .06em;
}
.mobile-menu ul li a:hover { color: var(--gold-soft); }
.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.deciya-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, .12), transparent 32%),
    radial-gradient(circle at 70% 70%, rgba(212, 175, 55, .10), transparent 35%),
    linear-gradient(135deg, #070706, #11110F 60%, #070706);
}
.hero-copy {
  padding: 110px 70px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy h1 {
  font-size: clamp(54px, 7vw, 104px);
  color: var(--ivory);
  margin-bottom: 28px;
}
.hero-copy h1 em { color: var(--gold-soft); font-style: italic; }
.hero-copy .hero-sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 38px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-microtrust {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7D7667;
  font-family: 'Jost', sans-serif;
}

.hero-media {
  position: relative;
  min-height: 600px;
  background:
    linear-gradient(rgba(7, 7, 6, .1), rgba(7, 7, 6, .55)),
    url('<?php echo get_template_directory_uri(); ?>/assets/images/deciya-hero-dark.jpg') center / cover no-repeat,
    linear-gradient(135deg, #211F18, #0B0B09);
  border-left: 1px solid var(--line);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 0 80px rgba(212, 175, 55, .08);
  pointer-events: none;
}
.hero-media-inner {
  position: absolute;
  left: 40px;
  bottom: 40px;
  right: 40px;
  background: rgba(7, 7, 6, .78);
  color: var(--gold-soft);
  border: 1px solid var(--line);
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════ */
.deciya-trust {
  background: var(--charcoal);
  color: var(--ivory);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  padding: 0 26px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold-soft);
  font-weight: 400;
  margin-bottom: 4px;
}
.trust-item span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   SECTION (shared)
══════════════════════════════════════════════ */
.deciya-section { padding: 110px 60px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
}
.section-head h2 { font-size: clamp(42px, 5vw, 74px); }
.section-head h2 em { color: var(--gold-soft); font-style: italic; }
.section-head .section-desc {
  color: var(--muted);
  max-width: 430px;
  line-height: 1.7;
  font-family: 'Jost', sans-serif;
}

/* ══════════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
}
.product-card {
  background: linear-gradient(180deg, var(--panel), var(--charcoal));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: .3s ease;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .35);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, .45);
  box-shadow: 0 28px 95px rgba(212, 175, 55, .08);
}
.product-image {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, .16), transparent 45%),
    linear-gradient(135deg, #211F18, #0B0B09);
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image .img-placeholder {
  text-align: center;
  padding: 30px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-info { padding: 28px; }
.product-tag {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-info h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--ivory);
}
.product-info p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 18px;
  font-family: 'Jost', sans-serif;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.product-price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  color: var(--gold-soft);
  font-weight: 400;
}
.product-price s { color: #686153; font-size: 16px; }

/* ══════════════════════════════════════════════
   SPLIT (Stats / Lifestyle)
══════════════════════════════════════════════ */
.deciya-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel);
  color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split-copy {
  padding: 110px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy h2 {
  font-size: clamp(42px, 5vw, 72px);
  margin-bottom: 24px;
}
.split-copy h2 em { color: var(--gold-soft); font-style: italic; }
.split-copy p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  font-family: 'Jost', sans-serif;
}
.deciya-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 45px;
}
.stat-item { border-top: 1px solid var(--line); padding-top: 18px; }
.stat-item strong {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 46px;
  font-weight: 300;
  display: block;
}
.stat-item span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.split-media {
  min-height: 600px;
  background:
    linear-gradient(rgba(7, 7, 6, .2), rgba(7, 7, 6, .55)),
    url('<?php echo get_template_directory_uri(); ?>/assets/images/deciya-lifestyle-dark.jpg') center / cover no-repeat,
    linear-gradient(135deg, #211F18, #0B0B09);
}

/* ══════════════════════════════════════════════
   WHY DECIYA
══════════════════════════════════════════════ */
.deciya-why {
  background:
    radial-gradient(circle at 80% 10%, rgba(212, 175, 55, .10), transparent 26%),
    var(--black);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.why-card {
  background: var(--panel);
  padding: 44px 34px;
  border: 1px solid var(--line);
}
.why-card .why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 300;
}
.why-card h3 { font-size: 30px; margin-bottom: 14px; }
.why-card p { color: var(--muted); line-height: 1.7; font-family: 'Jost', sans-serif; }

/* ══════════════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════════════ */
.deciya-product-page {
  background: linear-gradient(180deg, #070706, #11110F);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 1 / 1.15;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, .15), transparent 48%),
    var(--panel);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 20px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumb {
  aspect-ratio: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumb:hover { border-color: var(--gold); }
.product-detail h2 { font-size: clamp(42px, 5vw, 72px); margin-bottom: 16px; }
.product-rating { color: var(--gold); margin-bottom: 18px; font-size: 14px; }
.product-rating span { color: var(--muted); }
.product-desc {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 520px;
  font-family: 'Jost', sans-serif;
}
.buy-box {
  border: 1px solid var(--line);
  padding: 28px;
  background: linear-gradient(180deg, var(--panel), var(--charcoal));
  margin: 28px 0;
}
.buy-box .buy-price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  color: var(--gold-soft);
  font-weight: 400;
}
.buy-box .buy-price s { color: #686153; }
.buy-box .buy-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  font-family: 'Jost', sans-serif;
}
.variant-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.variant-btn {
  flex: 1;
  padding: 13px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-family: 'Jost', sans-serif;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s;
}
.variant-btn:hover, .variant-btn.active { border-color: var(--gold); }
.add-to-cart-btn {
  width: 100%;
  border: none;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 13px;
  transition: opacity .2s;
}
.add-to-cart-btn:hover { opacity: .88; }
.feature-list { margin-top: 30px; border-top: 1px solid var(--line); }
.feature-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-row strong { display: block; margin-bottom: 4px; color: var(--ivory); }
.feature-row span { color: var(--muted); font-size: 14px; font-family: 'Jost', sans-serif; }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.deciya-faq { background: var(--charcoal); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}
.faq-item h3 { font-size: 27px; margin-bottom: 10px; color: var(--gold-soft); }
.faq-item p { color: var(--muted); line-height: 1.7; font-family: 'Jost', sans-serif; }

/* ══════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════ */
.deciya-final-cta {
  text-align: center;
  padding: 140px 30px;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, .16), transparent 36%),
    #070706;
  color: var(--ivory);
  border-top: 1px solid var(--line);
}
.deciya-final-cta h2 { font-size: clamp(42px, 6vw, 88px); margin-bottom: 22px; }
.deciya-final-cta h2 em { color: var(--gold-soft); font-style: italic; }
.deciya-final-cta p {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 38px;
  line-height: 1.7;
  font-family: 'Jost', sans-serif;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.deciya-footer {
  background: #050504;
  color: var(--ivory);
  padding: 60px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .deciya-logo { margin-bottom: 20px; }
.footer-brand p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
}
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a, .footer-col p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: 50px;
  color: #686153;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   INNER PAGES (page.php / single.php)
══════════════════════════════════════════════ */
.page-hero {
  padding: 100px 60px 60px;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, .10), transparent 32%),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 18px; }
.page-content {
  padding: 70px 60px;
  max-width: 860px;
}
.page-content p { color: var(--muted); line-height: 1.85; margin-bottom: 22px; font-size: 17px; font-family: 'Jost', sans-serif; }
.page-content h2 { font-size: 40px; margin: 40px 0 18px; }
.page-content h3 { font-size: 30px; margin: 32px 0 14px; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .deciya-nav {
    padding: 16px 22px;
  }
  .deciya-nav .nav-primary { display: none; }
  .deciya-nav .nav-shop-btn { display: none; }
  .nav-toggle { display: flex; }

  .deciya-topbar { font-size: 9px; line-height: 1.6; }

  .deciya-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 24px 50px; }
  .hero-media { min-height: 440px; border-left: none; border-top: 1px solid var(--line); }

  .deciya-trust { grid-template-columns: 1fr 1fr; padding: 24px; }
  .trust-item { padding: 14px; border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:last-child, .trust-item:nth-child(3) { border-bottom: none; }

  .deciya-section { padding: 78px 24px; }
  .section-head { display: block; }
  .section-head .section-desc { margin-top: 18px; }

  .products-grid { grid-template-columns: 1fr; }
  .deciya-split { grid-template-columns: 1fr; }
  .split-copy { padding: 78px 24px; }
  .split-media { min-height: 380px; }

  .why-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }

  .deciya-footer { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero { padding: 80px 24px 40px; }
  .page-content { padding: 50px 24px; }
}
