/*
Theme Name: Walker Licensing
Theme URI: https://walkerlicensing.com
Author: Walker Licensing
Author URI: https://walkerlicensing.com
Description: Custom landing page theme for Walker Licensing — personalized concierge medical licensing services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: walker-licensing
*/

/* ─────────────────────────────────────────
   CSS RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #c0181c;
  --red-dark:   #9e1215;
  --red-light:  #e8393d;
  --white:      #ffffff;
  --off-white:  #f5f4f2;
  --gray-light: #e8e5e0;
  --gray-mid:   #aaa49c;
  --gray-dark:  #3a3530;
  --text:       #2a2520;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
#site-header {
  background: var(--red);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  animation: fadeDown .6s ease both;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo svg {
  width: 140px;
  height: 34px;
  opacity: 50%;
}


/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: calc(100vh - 64px - 80px);
}

/* ── Left Panel ── */
.hero-left {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,24,28,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero logo block */
.hero-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeUp .7s .1s ease both;
}
.hero-logo-block svg {
  width: 200px;
  height: 48px;
}

/* Heading */
.hero-heading {
  font-family: "Abhaya Libre", serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  color: var(--red);
  margin-bottom: 24px;
  animation: fadeUp .7s .2s ease both;
}

/* Body copy */
.hero-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #5a5550;
  max-width: 340px;
  text-align: center;
  animation: fadeUp .7s .3s ease both;
}

/* Divider */
.hero-divider {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 28px 0;
  animation: expand .7s .4s ease both;
  transform-origin: left;
}

/* CTA label */
.hero-cta-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--gray-mid);
  margin-bottom: 16px;
  max-width: 340px;
  line-height: 1.7;
  text-transform: uppercase;
  animation: fadeUp .7s .45s ease both;
}

/* Button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  padding: 15px 32px;
  border-radius: 4px;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: .9rem;
  letter-spacing: .06em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(192,24,28,.3);
  animation: fadeUp .7s .5s ease both;
}
.btn-contact:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,24,28,.4);
}
.btn-contact svg { flex-shrink: 0; }

/* ── Right Panel ── */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  animation: zoomIn 1.2s ease both;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 80px;
  background: linear-gradient(to right, var(--white), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   MAIN CONTENT AREA (for inner pages)
───────────────────────────────────────── */
.site-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
}

.entry-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 24px;
}

.entry-content p {
  font-size: .97rem;
  line-height: 1.8;
  color: #5a5550;
  margin-bottom: 16px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.footer-copy {
  font-size: .78rem;
  font-weight: 300;
  color: var(--gray-mid);
  letter-spacing: .02em;
}

.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .45;
  text-decoration: none;
}
.footer-logo-block svg {
  width: 116px;
  height: 28px;
  opacity: 20%;
}

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes zoomIn {
  from { transform: scale(1.06); opacity: .85; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 50vw;
  }
  .hero-left {
    padding: 56px 40px;
    align-items: center;
    text-align: center;
  }
  .hero-body { text-align: center; }
  .hero-divider { margin: 28px auto; }
  .hero-right::before { display: none; }
  #site-footer { padding: 0 24px; }
}

@media (max-width: 520px) {
  .hero-left { padding: 40px 24px; }
  #site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    height: auto;
    padding: 18px 24px;
  }
}
