/* ================================================================
   INNER PAGES — Site Header, Pages, Posts, WooCommerce
   Inherits CSS variables from landing.css
================================================================ */

/* ── SITE HEADER (inner pages nav) ─────────────────────────── */
#site-header {
  background: var(--forest, #1c1c22);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.logo-sub {
  font-family: 'Fira Sans Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s;
}
.nav-menu a:hover { color: #fff; }

/* ── Dropdown submenus ───────────────────────────────────────
   display:none on hidden state guarantees zero layout impact.
   display:block !important on hover forces it on top of any
   WordPress or plugin CSS that might reset positioning.
──────────────────────────────────────────────────────────── */
.nav-menu li {
  position: relative;
  list-style: none;
}

/* Hidden state — completely removed from layout */
.nav-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

/* Visible state — absolutely positioned dropdown */
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block !important;
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 210px !important;
  z-index: 9999 !important;
  background: rgba(8, 20, 14, 0.98) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 36px rgba(0,0,0,.5) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  /* Slide-in animation */
  animation: subMenuIn .18s ease both !important;
}

@keyframes subMenuIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Small arrow caret above dropdown */
.nav-menu li:hover > .sub-menu::before,
.nav-menu li:focus-within > .sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(255,255,255,.15);
  width: 0; height: 0;
}
.nav-menu li:hover > .sub-menu::after,
.nav-menu li:focus-within > .sub-menu::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(8,20,14,.98);
  width: 0; height: 0;
}

/* Sub-menu items */
.nav-menu .sub-menu li {
  position: static !important;
  display: block !important;
  width: 100%;
}
.nav-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  transition: color .18s, background .18s;
  border-radius: 0;
}
.nav-menu .sub-menu a:hover {
  color: #d4a017;
  background: rgba(255,255,255,.07);
}
.header-cta {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #d4a017, #b8860b);
  color: #fff;
  border-radius: 60px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(184,134,11,.3);
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,11,.45);
}

/* ── MAIN CONTENT AREA ──────────────────────────────────────── */
#main-content { min-height: 60vh; }

/* ── PAGE / POST WRAPPER ────────────────────────────────────── */
.page-wrap {
  padding: 60px 0 80px;
}
.page-title,
.entry-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--forest, #1c1c22);
  line-height: 1.18;
  margin-bottom: 28px;
}
.entry-meta {
  font-size: 14px;
  color: #7a7d82;
  margin-bottom: 24px;
}
.entry-content {
  font-family: 'Fira Sans', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #3d4045;
  max-width: 740px;
}
.entry-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--forest, #1c1c22);
  margin: 36px 0 14px;
}
.entry-content h3 {
  font-size: 20px;
  color: var(--forest, #1c1c22);
  margin: 28px 0 12px;
}
.entry-content p  { margin-bottom: 18px; }
.entry-content ul,
.entry-content ol { padding-left: 28px; margin-bottom: 18px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a  { color: var(--forest-mid, #28282f); text-decoration: underline; }
.entry-content a:hover { color: var(--gold, #b8860b); }
.entry-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.entry-content blockquote {
  border-left: 4px solid var(--gold, #b8860b);
  margin: 28px 0;
  padding: 16px 24px;
  background: #fdf3d7;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #3d4045;
}

/* ── POST CARDS (index/archive) ─────────────────────────────── */
.posts-list { display: flex; flex-direction: column; gap: 28px; }
.post-card {
  background: #fff;
  border: 1px solid #f0ebe0;
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow .3s, transform .3s;
}
.post-card:hover {
  box-shadow: 0 8px 36px rgba(15,61,38,.1);
  transform: translateY(-2px);
}
.post-card .entry-title {
  font-size: 22px;
  margin-bottom: 10px;
}
.post-card .entry-title a {
  color: var(--forest, #1c1c22);
  text-decoration: none;
}
.post-card .entry-title a:hover { color: var(--gold, #b8860b); }
.post-card .entry-summary {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
  margin-bottom: 16px;
}
.read-more {
  font-weight: 600;
  font-size: 14px;
  color: var(--forest, #1c1c22);
  text-decoration: none;
}
.read-more:hover { color: var(--gold, #b8860b); }
.pagination { margin-top: 48px; }
.no-posts { color: #7a7d82; font-size: 16px; }

/* ── SITE FOOTER ────────────────────────────────────────────── */
#site-footer {
  background: #0e0e12;
  padding: 44px 0;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  line-height: 1.8;
}
.footer-links { margin-bottom: 14px; }
.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 13px;
}
.footer-nav a:hover { color: #d4a017; }
.footer-copy { color: rgba(255,255,255,.38); margin-bottom: 10px; }
.footer-disclaimer {
  max-width: 660px;
  margin: 12px auto 0;
  font-size: 11px;
  color: rgba(255,255,255,.24);
  line-height: 1.7;
}

/* ── WOOCOMMERCE OVERRIDES ──────────────────────────────────── */
.woo-wrap {
  padding: 50px 0 80px;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: #7a7d82;
  margin-bottom: 24px;
}
.woocommerce-breadcrumb a { color: var(--forest, #1c1c22); }

/* Product title */
.woocommerce div.product .product_title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
  color: var(--forest, #1c1c22) !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Playfair Display', serif;
  font-size: 32px !important;
  color: var(--forest, #1c1c22) !important;
  font-weight: 700;
}

/* Add to cart button */
.woocommerce .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  font-family: 'Fira Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 16px 36px !important;
  border-radius: 60px !important;
  background: linear-gradient(135deg, #d4a017, #b8860b) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(184,134,11,.3) !important;
  transition: all .25s !important;
  cursor: pointer !important;
}
.woocommerce .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 36px rgba(184,134,11,.45) !important;
  background: linear-gradient(135deg, #e0ab1e, #c09210) !important;
}

/* Product description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 16px;
  color: #3d4045;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 600;
  color: var(--forest, #1c1c22);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold, #b8860b);
}

/* Shop grid */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--forest, #1c1c22);
}
.woocommerce ul.products li.product .price {
  color: var(--gold, #b8860b);
  font-weight: 700;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 36px rgba(15,61,38,.12);
  transform: translateY(-3px);
  transition: all .3s;
}

/* Messages / notices */
.woocommerce-message,
.woocommerce-info {
  background: #e4e4ec !important;
  border-top-color: var(--forest, #1c1c22) !important;
  color: var(--forest, #1c1c22) !important;
}
.woocommerce-error {
  background: #fdecea !important;
  border-top-color: #0d2b5e !important;
}

/* Cart & Checkout */
.woocommerce table.shop_table th {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  color: var(--forest, #1c1c22);
  background: #e4e4ec;
}
.woocommerce #payment #place_order {
  width: 100%;
  border-radius: 60px !important;
  font-size: 18px !important;
  padding: 20px 40px !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .inner-header { flex-wrap: wrap; gap: 14px; }
  .nav-menu { display: none; } /* simplify — use mobile menu plugin if needed */
  .header-cta { font-size: 13px; padding: 10px 18px; }
  .page-wrap { padding: 40px 0 60px; }
  .entry-content { font-size: 16px; }
}
