/*
Theme Name: Astra Child — OHL
Theme URI: https://ohanaholidaylighting.com
Description: Astra child theme for Ohana Holiday Lighting. Includes brand colors, typography, and component overrides.
Author: Ohana Holiday Lighting
Author URI: https://ohanaholidaylighting.com
Template: astra
Version: 1.0.0
Text Domain: astra-child-ohl
*/

/* ---- OHL brand tokens ---- */
:root{
  --ohl-charcoal:#0F1419;
  --ohl-gold:#C9A55B;
  --ohl-gold-bright:#E5BD6B;
  --ohl-gold-deep:#A6863F;
  --ohl-cream:#F7F5F0;
  --ohl-stone:#E8E3D9;
  --xmas-evergreen:#1B5E47;
  --xmas-coral:#E85A4F;
  --xmas-mango:#F2A65A;
  --xmas-cream:#FFF8EE;
  --xmas-night:#0A1F2E;
}

/* ---- Typography overrides ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=DM+Sans:wght@400;500;600;700&family=Caveat:wght@500;700&display=swap');

body, .ast-container, p, li {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  color: #0F1419;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, .entry-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); }

/* ---- Buttons ---- */
.btn, .wp-block-button__link, .ast-custom-button {
  background: var(--ohl-charcoal) !important;
  color: #fff !important;
  padding: .95rem 1.6rem;
  border-radius: 999px !important;
  font-weight: 500;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-primary { background: var(--ohl-charcoal) !important; color: #fff !important; }
.btn-primary:hover { background: var(--ohl-gold) !important; color: var(--ohl-charcoal) !important; }
.btn-outline { background: transparent !important; color: var(--ohl-charcoal) !important; border: 1px solid var(--ohl-charcoal) !important; }

/* ---- Header ---- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid #E5E2DA; }
.ast-primary-header-bar { padding: 1rem 0; }

/* ---- Eyebrow + lede ---- */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ohl-gold-deep);
  margin-bottom: 1rem;
}
.lede { font-size: 1.25rem; color: #5A6470; line-height: 1.55; }

/* ---- Hero / area pages ---- */
.hero-area, .hero {
  background: linear-gradient(180deg, #0F1419 0%, #1A2028 100%);
  color: #fff;
  padding: 5rem 2rem;
  border-radius: 0;
  margin-bottom: 3rem;
}
.hero-area h1, .hero h1 { color: #fff; }
.hero-area .eyebrow { color: var(--ohl-gold); }

/* ---- Christmas-brand pages ---- */
.brand-xmas .hero-area, .brand-xmas .hero {
  background: linear-gradient(180deg, var(--xmas-night) 0%, #0E1F2E 100%);
}
.brand-xmas .eyebrow { color: var(--xmas-mango); }
.brand-xmas .btn-primary { background: var(--xmas-coral) !important; color: #fff !important; }

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid #E5E2DA;
  border-radius: 20px;
  padding: 2rem;
  transition: all .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--ohl-gold); }

/* ---- Footer ---- */
.site-footer { background: var(--ohl-charcoal); color: rgba(255,255,255,.7); }
.site-footer h4, .site-footer .widget-title { color: #fff; }
.site-footer a { color: rgba(255,255,255,.65); }
.site-footer a:hover { color: var(--ohl-gold-bright); }

/* ---- Mobile sticky bar ---- */
.ohl-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--ohl-charcoal);
  padding: .75rem;
  gap: .5rem;
}
.ohl-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: .85rem;
  border-radius: 8px;
  background: var(--ohl-gold);
  color: var(--ohl-charcoal);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 760px) {
  .ohl-mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---- Quote shell + financing ---- */
.financing-callout {
  background: linear-gradient(135deg, #F7F5F0, #fff);
  border: 1px solid var(--ohl-gold);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Chat widget shell (re-styled to match OHL) ---- */
.chat-toggle {
  background: var(--ohl-charcoal) !important;
  color: var(--ohl-gold) !important;
}
