/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --cream: #F2EDE4;
  --dark:  #1C1A14;
  --oak:   #5C3310;
  --gold:  #B8884A;
  --lt-border: #DDD5C8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Source Sans 3', system-ui, sans-serif;
}

/* ── HEADER ─────────────────────────────────────── */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--lt-border);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 125px;
  position: relative;
  z-index: 100;
}

.logo-wrap img {
  height: 68px;
  width: auto;
  display: block;
}

.logo-placeholder {
  height: 68px;
  width: 68px;
  background: var(--lt-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
   color: #999;
  text-align: center;
}

/* ── NAV ─────────────────────────────────────────── */

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  display: block;
}

.main-nav > li > a:hover {
  border-color: var(--gold);
  color: var(--oak);
}

.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
  border-color: var(--oak);
  color: var(--oak);
}

/* ── DROPDOWN ────────────────────────────────────── */

/* extend the li hover area so cursor can reach the sub-menu */
.main-nav > li.menu-item-has-children {
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.main-nav > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 14px;
  opacity: .5;
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--cream);
  border: 1px solid var(--lt-border);
  border-top: 2px solid var(--oak);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.main-nav > li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
}

.main-nav .sub-menu li {
  border-bottom: 1px solid var(--lt-border);
}

.main-nav .sub-menu li:last-child {
  border-bottom: none;
}

.main-nav .sub-menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 11px 18px;
  display: block;
  white-space: nowrap;
  border-bottom: none;
}

.main-nav .sub-menu a:hover {
  background: #EDE7DE;
  color: var(--oak);
}

/* ── CONTACT BUTTON ──────────────────────────────── */

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--lt-border);
  flex-shrink: 0;
}

.header-cta {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--oak);
  padding: 9px 18px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold);
}

/* ── HERO ────────────────────────────────────────── */

.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #3B2510 0%, #5C3D1E 40%, #8C6030 70%, #C49A60 100%);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,6,.88) 0%, rgba(20,14,6,.45) 45%, rgba(20,14,6,.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 56px;
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-primary {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 12px 26px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  white-space: nowrap;
}

.hero-badge {
  position: absolute;
  bottom: 32px;
  right: 44px;
  z-index: 2;
  text-align: right;
}

.hero-badge span {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  line-height: 2;
}
