/*
Theme Name:   Capitol Tee Child
Theme URI:    https://capitoltee.com
Description:  Capitol Tee child theme for Astra. Mobile-first, SEO-ready.
Author:       Capitol Tee
Author URI:   https://capitoltee.com
Template:     astra
Version:      1.0.0
*/

/* ─── COLOR VARIABLES ─────────────────────────────────────── */
:root {
  --ct-black:    #0A0A0C;
  --ct-orange:   #E87722;
  --ct-green:    #2D6A4F;
  --ct-white:    #FFFFFF;
  --ct-offwhite: #F5F5F5;
  --ct-gray:     #888888;
  --ct-border:   #1E1E20;
  --ct-font:     'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* ─── BASE ────────────────────────────────────────────────── */
body {
  font-family: var(--ct-font);
  background: var(--ct-white);
  color: var(--ct-black);
  margin: 0;
  padding: 0;
}

a {
  color: var(--ct-orange);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--ct-green); }

/* ─── HEADER ─────────────────────────────────────────────── */
.ct-header {
  background: var(--ct-black);
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.ct-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  gap: 32px;
}

/* Logo — far left */
.ct-logo {
  text-align: left;
  flex-shrink: 0;
}
.ct-logo img {
  max-height: 200px !important;
  height: auto !important;
  width: auto !important;
  display: block;
}

/* Brand text — center */
.ct-header-brand {
  text-align: center;
  line-height: 1;
  user-select: none;
  color: #FFFFFF !important;
}
.ct-header-brand .ct-brand-name {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  display: block;
}
.ct-header-brand .ct-brand-powered {
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.7) !important;
  text-transform: lowercase;
  margin: 3px 0;
  display: block;
}
.ct-header-brand .ct-brand-bpn {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem) !important;
  font-weight: 700 !important;
  color: #E87722 !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
  display: block;
}
.ct-header-brand .ct-brand-simulator {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem) !important;
  font-weight: 700 !important;
  color: #E87722 !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
  display: block;
}
.ct-header-brand .ct-brand-tagline {
  font-size: 0.7rem !important;
  color: rgba(255,255,255,0.8) !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 500;
  display: block;
}

/* Mobile-only simulator tagline (hidden on desktop) */
.ct-mobile-simulator {
  display: none;
}

/* Social icons */
.ct-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
.ct-social a {
  color: var(--ct-white);
  line-height: 1;
  transition: color 0.2s;
}
.ct-social a:hover { color: var(--ct-orange); }
.ct-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

/* Contact block — right column: phone/text/email then social row below */
.ct-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.ct-contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.ct-contact-info a.ct-phone {
  color: var(--ct-white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ct-contact-info a.ct-phone:hover { color: var(--ct-orange); }

.ct-text-btn {
  display: inline-block;
  background: var(--ct-orange);
  color: var(--ct-white) !important;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.ct-text-btn:hover {
  background: var(--ct-green) !important;
  color: var(--ct-white) !important;
}

.ct-contact-info a.ct-email {
  color: var(--ct-gray);
  font-size: 13px;
}
.ct-contact-info a.ct-email:hover { color: var(--ct-orange); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.ct-nav {
  background: #111113;
  border-top: 2px solid var(--ct-orange);
}
.ct-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}
.ct-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.ct-nav ul li {
  position: relative;
}
.ct-nav ul li a {
  display: block;
  color: var(--ct-white);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.ct-nav ul li a:hover,
.ct-nav ul li.current-menu-item > a {
  color: var(--ct-orange);
  background: rgba(232,119,34,0.08);
}

/* Dropdowns */
.ct-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ct-black);
  border-top: 2px solid var(--ct-orange);
  min-width: 200px;
  flex-direction: column;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ct-nav ul li:hover > ul { display: flex; }
.ct-nav ul li ul li a {
  padding: 12px 18px;
  border-bottom: 1px solid var(--ct-border);
  font-size: 13px;
  text-transform: none;
}

/* Book Now button in nav */
.ct-nav .ct-book-now {
  margin-left: auto;
  padding: 8px 22px;
  background: var(--ct-orange);
  color: var(--ct-white) !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  white-space: nowrap;
}
.ct-nav .ct-book-now:hover {
  background: var(--ct-green) !important;
  color: var(--ct-white) !important;
}

/* ─── HERO ───────────────────────────────────────────────── */
.ct-hero {
  background: var(--ct-black);
  color: var(--ct-white);
  text-align: center;
  padding: 90px 24px 80px;
  position: relative;
  overflow: hidden;
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,119,34,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.ct-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.ct-hero h1 span { color: var(--ct-orange); }
.ct-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.ct-hero-powered {
  font-size: 13px;
  color: var(--ct-gray);
  margin-top: 24px;
  letter-spacing: 0.5px;
}
.ct-hero-powered a { color: var(--ct-green); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.ct-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.ct-btn-primary {
  background: var(--ct-orange);
  color: var(--ct-white) !important;
}
.ct-btn-primary:hover {
  background: #d06315;
  color: var(--ct-white) !important;
  transform: translateY(-1px);
}
.ct-btn-secondary {
  background: transparent;
  color: var(--ct-white) !important;
  border: 2px solid var(--ct-white);
}
.ct-btn-secondary:hover {
  border-color: var(--ct-orange);
  color: var(--ct-orange) !important;
}
.ct-btn-green {
  background: var(--ct-green);
  color: var(--ct-white) !important;
}
.ct-btn-green:hover {
  background: #1e4d38;
  color: var(--ct-white) !important;
}

/* ─── SECTION WRAPPERS ───────────────────────────────────── */
.ct-section {
  padding: 64px 24px;
}
.ct-section-dark {
  background: var(--ct-black);
  color: var(--ct-white);
}
.ct-section-light {
  background: var(--ct-offwhite);
  color: var(--ct-black);
}
.ct-section-white {
  background: var(--ct-white);
  color: var(--ct-black);
}
.ct-container {
  max-width: 1100px;
  margin: 0 auto;
}
.ct-section-title {
  text-align: center;
  margin-bottom: 48px;
}
.ct-section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.ct-section-title p {
  font-size: 1.05rem;
  color: var(--ct-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.ct-section-dark .ct-section-title h2 { color: var(--ct-white); }
.ct-section-dark .ct-section-title p   { color: rgba(255,255,255,0.6); }

/* ─── CARDS GRID ─────────────────────────────────────────── */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.ct-card {
  background: var(--ct-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ct-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.ct-card-dark {
  background: #111113;
  border: 1px solid var(--ct-border);
  color: var(--ct-white);
}
.ct-card-body {
  padding: 28px 24px;
}
.ct-card-icon {
  width: 48px;
  height: 48px;
  background: var(--ct-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.ct-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.ct-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ct-gray);
  margin: 0 0 16px;
}
.ct-card-dark p { color: rgba(255,255,255,0.6); }
.ct-card-dark h3 { color: var(--ct-white); }

/* ─── STEPS (HOW IT WORKS) ───────────────────────────────── */
.ct-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
}
.ct-step-number {
  width: 56px;
  height: 56px;
  background: var(--ct-orange);
  color: var(--ct-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.ct-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.ct-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
}

/* ─── SEO FOOTER BLOCK ───────────────────────────────────── */
.ct-seo-block {
  background: #111113;
  color: rgba(255,255,255,0.55);
  padding: 40px 24px;
  font-size: 13px;
  line-height: 1.8;
  border-top: 1px solid var(--ct-border);
}
.ct-seo-block .ct-container { max-width: 900px; }
.ct-seo-block h2 {
  color: var(--ct-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.ct-footer {
  background: var(--ct-black);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 20px 24px;
  font-size: 12px;
  border-top: 1px solid var(--ct-border);
}
.ct-footer a { color: var(--ct-orange); }

/* ─── INNER PAGE HERO ────────────────────────────────────── */
.ct-page-hero {
  background: var(--ct-black);
  color: var(--ct-white);
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 3px solid var(--ct-orange);
}
.ct-page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 12px;
}
.ct-page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin: 0;
}

/* ─── CONTACT INFO ───────────────────────────────────────── */
.ct-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ct-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ct-contact-icon {
  width: 40px;
  height: 40px;
  background: var(--ct-orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ct-contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ct-gray);
  margin: 0 0 4px;
}
.ct-contact-item a,
.ct-contact-item p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--ct-black);
}
.ct-contact-item a:hover { color: var(--ct-orange); }

/* ─── FAQ BLOCKS (AEO) ───────────────────────────────────── */
.ct-faq {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ct-faq summary {
  background: var(--ct-offwhite);
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
}
.ct-faq summary:hover { background: #ebebeb; }
.ct-faq-answer {
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  border-top: 1px solid #e0e0e0;
}

/* ─── BLOG LIST ──────────────────────────────────────────── */
.ct-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.ct-blog-card {
  background: var(--ct-white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.ct-blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.ct-blog-card-body {
  padding: 24px 20px;
}
.ct-blog-card .ct-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ct-orange);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.ct-blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.ct-blog-card p {
  font-size: 0.9rem;
  color: var(--ct-gray);
  margin: 0 0 16px;
  line-height: 1.6;
}

/* ─── PHOTO STRIP (scrolling image ticker) ───────────────── */
.ct-photo-strip {
  background: var(--ct-black);
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--ct-orange);
  border-bottom: 3px solid var(--ct-orange);
}
.ct-photo-strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ct-scroll 40s linear infinite;
}
.ct-photo-strip-track:hover { animation-play-state: paused; }
.ct-photo-strip-track img {
  height: 320px;
  width: auto;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  filter: brightness(0.85) saturate(0.9);
  transition: filter .3s, transform .3s;
}
.ct-photo-strip-track img:hover {
  filter: brightness(1) saturate(1.25);
  transform: scale(1.02);
  z-index: 1;
}
@keyframes ct-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .ct-photo-strip-track img { height: 180px; }
}

/* ─── POWERED BY BANNER ──────────────────────────────────── */
.ct-powered-by {
  text-align: center;
  padding: 28px 24px;
  background: #0d0d0f;
  border-top: 1px solid var(--ct-border);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}
.ct-powered-by a {
  color: var(--ct-green);
  font-weight: 600;
}
.ct-powered-by a:hover { color: var(--ct-orange); }

/* ─── MOBILE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .ct-header {
    position: relative;
    padding: 0 12px;
  }
  /* Mobile: logo centered, brand text hidden, contact stacked below */
  .ct-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }
  .ct-header-brand {
    display: none !important;
  }
  .ct-mobile-simulator {
    display: block !important;
    color: #E87722 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    letter-spacing: 0.3px;
    line-height: 1.2;
  }
  .ct-logo {
    text-align: center;
  }
  .ct-logo img {
    max-height: 195px !important;
  }
  .ct-contact-block {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .ct-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .ct-contact-info a.ct-phone {
    font-size: 14px;
  }
  .ct-contact-info a.ct-email {
    display: none;
  }
  .ct-text-btn {
    font-size: 13px;
    padding: 6px 20px;
  }
  /* Social icons: centered horizontal row */
  .ct-social {
    justify-content: center;
    gap: 16px;
  }
  .ct-social svg {
    width: 20px;
    height: 20px;
  }
  /* Nav also scrolls on mobile */
  .ct-nav {
    position: relative;
  }
  .ct-nav ul {
    flex-direction: column;
    width: 100%;
  }
  .ct-nav ul li ul {
    position: static;
    box-shadow: none;
    border-top: none;
    background: #1a1a1c;
  }
  .ct-nav ul li:hover > ul { display: flex; }
  .ct-nav .ct-book-now {
    margin: 8px auto;
    display: block;
    text-align: center;
  }
  .ct-nav-inner {
    flex-direction: column;
    padding: 8px 16px;
  }
  .ct-hero { padding: 56px 16px; }
  .ct-section { padding: 48px 16px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ct-logo img { max-height: 80px !important; }
  .ct-social svg { width: 16px; height: 16px; }
  .ct-contact-info a.ct-phone { font-size: 12px; }
  .ct-text-btn { font-size: 11px; padding: 4px 10px; }
  .ct-hero h1 { font-size: 1.8rem; }
  .ct-btn { padding: 12px 24px; font-size: 14px; }
}
