/* ============================================
   Georgia Tax Aid — styles.css
   Brand: Bulldog Red #BA0C2F, Arch Black #000, Chapel Bell White #FFF
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #BA0C2F;
  --red-dark: #9a0a27;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --gray-text: #555555;
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --header-height: 130px;
  --nav-height: 48px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--nav-height));
}

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.header-logo img {
  height: 100px;
  width: auto;
}

.header-phone {
  text-align: right;
}

.header-phone .phone-label {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-phone .phone-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* Navigation Bar */
.nav-bar {
  background: var(--red);
}

.nav-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 12px 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--red);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 60px 24px 70px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero .hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Video Embed */
.video-container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* ============================================
   FEATURES (3-column)
   ============================================ */
.features {
  background: var(--gray-light);
  padding: 60px 24px;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(186, 12, 47, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.contact-section {
  padding: 60px 24px;
  background: var(--white);
}

.contact-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-section .section-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.contact-section .section-header p {
  font-size: 15px;
  color: var(--gray-text);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full-width {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--gray-text);
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-primary);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: var(--white);
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--red-dark);
}

.btn-submit:active {
  transform: scale(0.99);
}

.sms-consent {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

.sms-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-contact {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.footer-attribution {
  font-size: 12px;
}

.footer-attribution a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-attribution a:hover {
  color: var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
}

.about-hero h1 {
  font-size: 28px;
  font-weight: 800;
}

.about-hero p {
  font-size: 16px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.about-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-text .contact-info {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.about-text .contact-info strong {
  color: var(--black);
}

.about-image-placeholder {
  background: var(--gray-light);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: #ccc;
  fill: none;
  stroke-width: 1.5;
}

/* Process steps */
.process-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 24px;
  font-size: 20px;
  font-weight: 700;
}

.process-steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px 60px;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-top {
    padding: 12px 16px;
  }

  .header-logo img {
    height: 75px;
  }

  .header-phone .phone-label {
    font-size: 12px;
  }

  .header-phone .phone-number {
    font-size: 22px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-bar-inner {
    justify-content: flex-end;
  }

  .hero {
    padding: 40px 16px 50px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero .hero-sub {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 40px 16px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-image-placeholder {
    order: -1;
  }

  .step {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }

  .header-phone .phone-number {
    font-size: 18px;
  }

  .contact-section .section-header h2 {
    font-size: 22px;
  }
}
