/*
Theme Name: DixieLand Consulting
Theme URI: https://dixielandconsulting.com
Author: Chuck Stewart
Author URI: https://dixielandconsulting.com
Description: Custom WordPress theme for DixieLand Consulting LLC — featuring web hosting, web design, AI integration, database, networking, and IT support services for Northwest Florida.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dixieland
Tags: business, consulting, it, technology, custom
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:       #0a2463;
  --navy-mid:   #163a8a;
  --navy-light: #1e4db7;
  --red:        #c41230;
  --red-dark:   #9b0e25;
  --gold:       #c9a84c;
  --gold-light: #dfc074;
  --off-white:  #f7f6f2;
  --border:     #e0ddd6;
  --text:       #1a1a1a;
  --text-mid:   #3d3d3d;
  --text-muted: #6b6b6b;
  --stripe:     linear-gradient(90deg, var(--red) 33.33%, #fff 33.33%, #fff 66.66%, var(--navy) 66.66%);
  --shadow-sm:  0 2px 8px rgba(10,36,99,.07);
  --shadow-md:  0 6px 24px rgba(10,36,99,.10);
  --shadow-lg:  0 14px 48px rgba(10,36,99,.14);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container        { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
.section-pad      { padding: 72px 0; }
.section-pad-sm   { padding: 48px 0; }
.text-center      { text-align: center; }
.text-white       { color: #fff !important; }
.text-gold        { color: var(--gold) !important; }
.text-red         { color: var(--red) !important; }
.text-muted       { color: var(--text-muted) !important; }
.bg-navy          { background: var(--navy); }
.bg-offwhite      { background: var(--off-white); }
.bg-white         { background: #fff; }
.stripe-border-top    { border-top: 4px solid transparent; border-image: var(--stripe) 1; }
.stripe-border-bottom { border-bottom: 4px solid transparent; border-image: var(--stripe) 1; }

/* Section label */
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  font-family: 'Source Sans 3', sans-serif;
}
.section-eyebrow.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary  { background: var(--red);   color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-navy     { background: var(--navy);  color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-gold     { background: var(--gold);  color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-white    { background: #fff; color: var(--red); font-weight: 800; }
.btn-white:hover { background: var(--off-white); color: var(--red); }
.btn-group    { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   NOTIFICATION BAR
   ============================================================ */
#dl-notif-bar {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 9px 48px 9px 20px;
  position: relative;
  z-index: 200;
  letter-spacing: .02em;
}
#dl-notif-bar a { color: #fff; text-decoration: underline; }
#dl-notif-bar a:hover { opacity: .85; }
.dl-notif-close {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: #fff; font-size: 1.2rem;
  cursor: pointer; opacity: .75; line-height: 1;
  transition: opacity .2s;
}
.dl-notif-close:hover { opacity: 1; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
#site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--stripe);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.site-logo span { color: var(--red); }
.site-logo:hover { color: var(--navy); }

#main-nav { display: flex; align-items: center; gap: 8px; list-style: none; }
#main-nav > li { position: relative; }
#main-nav > li > a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  display: block;
  border-radius: 4px;
  letter-spacing: .02em;
  transition: color .2s, background .2s;
}
#main-nav > li > a:hover,
#main-nav > li.current-menu-item > a { color: var(--navy); }
#main-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  min-width: 240px;
  z-index: 200;
  padding: 6px 0;
}
#main-nav li:hover > .sub-menu { display: block; }
#main-nav .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
#main-nav .sub-menu a:hover { color: var(--red); background: var(--off-white); }
.nav-cta-btn { margin-left: 8px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* SVG / CSS graphic background element */
#hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 65%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stripe);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
  padding: 76px 0 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow .flag { font-size: 1rem; }
#hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}
#hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,.76);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Hero graphic panel */
.hero-graphic {
  position: relative;
}
.hero-graphic-inner {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.hero-graphic-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe);
}

/* Animated circuit/tech SVG graphic */
.hero-tech-graphic {
  width: 100%;
  height: 240px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.hero-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  color: rgba(255,255,255,.6);
  font-size: 11px;
  letter-spacing: .5px;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.trust-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .22s, box-shadow .22s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.svc-card.accent { border-top-color: var(--red); }
.svc-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.svc-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.svc-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.svc-price {
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ============================================================
   HOSTING SECTION
   ============================================================ */
#hosting {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#hosting::before {
  content: '';
  position: absolute;
  left: -150px; bottom: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 65%);
  pointer-events: none;
}
#hosting > .stripe-border-top { border-image: var(--stripe) 1; }

.hosting-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.plan-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: background .22s;
}
.plan-card:hover { background: rgba(255,255,255,.10); }
.plan-card.popular {
  border: 2px solid var(--gold);
  background: rgba(201,168,76,.07);
}
.popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 4px;
}
.plan-tagline {
  color: rgba(255,255,255,.6);
  font-size: .83rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.plan-price { margin: 16px 0; }
.plan-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.plan-period {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  margin-left: 2px;
}
.plan-setup {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: .76rem;
  margin-top: 3px;
}
.plan-features {
  list-style: none;
  margin: 0 0 24px;
}
.plan-features li {
  font-size: .855rem;
  color: rgba(255,255,255,.75);
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}
.plan-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.plan-btn-outline {
  border: 2px solid rgba(255,255,255,.28);
  color: #fff;
}
.plan-btn-outline:hover { border-color: #fff; color: #fff; }
.plan-btn-gold { background: var(--gold); color: var(--navy); }
.plan-btn-gold:hover { background: var(--gold-light); color: var(--navy); }

/* ============================================================
   WEB DESIGN PRICING
   ============================================================ */
.web-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.web-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: box-shadow .22s;
}
.web-card:hover { box-shadow: var(--shadow-md); }
.web-card.featured { border: 2px solid var(--navy); }
.feat-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.web-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.web-tagline { color: var(--text-muted); font-size: .83rem; margin-bottom: 14px; }
.web-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.web-setup {
  display: block;
  color: var(--text-muted);
  font-size: .76rem;
  margin-top: 3px;
  margin-bottom: 16px;
}
.web-features {
  list-style: none;
  margin: 0 0 22px;
}
.web-features li {
  font-size: .855rem;
  color: var(--text-mid);
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.web-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--red);
  font-weight: 700;
}
.web-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}
.web-btn:hover { background: var(--red); color: #fff; }

/* ============================================================
   WHY CHUCK SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.why-item {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
}
.why-item::before { content: '→ '; color: var(--red); }
.chuck-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.chuck-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe);
}
.years-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--red);
  color: #fff;
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}
.years-badge .ynum { font-size: 1.4rem; line-height: 1; }
.years-badge .ytext { font-size: .5rem; letter-spacing: 1px; text-transform: uppercase; }
.chuck-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 4px; }
.chuck-title {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Source Sans 3', sans-serif;
}
.chuck-card p { color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.72; }

/* ============================================================
   TECH STACK LOGOS
   ============================================================ */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tech-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* ============================================================
   FOOTER CTA BAND
   ============================================================ */
#footer-cta {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.07) 0%, transparent 55%);
  pointer-events: none;
}
#footer-cta h2 { color: #fff; margin-bottom: 10px; }
#footer-cta p { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand span { color: var(--gold); }
.footer-about {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.footer-contact a {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: .85rem;
  margin-bottom: 7px;
  text-decoration: none;
}
.footer-contact a:hover { color: #fff; }
.footer-col-title {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-family: 'Source Sans 3', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--stripe);
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.72); }

.entry-content { max-width: 780px; }
.entry-content p { line-height: 1.82; margin-bottom: 1.3rem; }
.entry-content h2 { margin: 2.2rem 0 .8rem; }
.entry-content h3 { margin: 1.6rem 0 .6rem; }
.entry-content ul { list-style: disc; padding-left: 1.6rem; margin-bottom: 1.3rem; }
.entry-content ol { list-style: decimal; padding-left: 1.6rem; margin-bottom: 1.3rem; }
.entry-content blockquote {
  border-left: 4px solid var(--red);
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .hosting-plans,
  .web-plans { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #main-nav { display: none; }
  #main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px 5%;
    box-shadow: var(--shadow-md);
    z-index: 150;
  }
  .menu-toggle { display: flex; }
}
