/* Vanguard Veterans Consulting - styles.css */

/* VARIABLES */

:root {
  --navy: #0b1f35;
  --navy-dark: #061423;
  --gold: #c99a2e;
  --red: #9f241f;
  --light: #f6f4ef;
  --white: #ffffff;
  --gray: #5f6872;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light);
  color: var(--navy);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92%);
  margin: auto;
}

/* TYPOGRAPHY */

h1, h2, h3, h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

a {
  text-decoration: none;
}

/* NAVBAR */

.navbar {
  background: var(--navy-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.logo span {
  color: var(--white);
  font-size: 1rem;
}

/* NAV */

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--white);
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--gold);
}

/* BUTTONS */

.btn,
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 11px 17px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn:hover,
.btn-primary:hover {
  background: #7f1c18;
}

/* ===================================== */
/* UNIFIED HERO COMPONENT */
/* ===================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: url("images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy);
}

/* Homepage hero (large, left aligned) */
.hero--home {
  min-height: 650px;
  text-align: left;
}

/* Interior page hero (shorter, centered) */
.hero--page {
  min-height: 420px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 35, 0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero--page .hero-content {
  margin: auto;
}

.hero h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
  color: #e8edf2;
}

/* VETERAN BADGE */

.veteran-badge {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* FEATURES */

.features {
  background: var(--white);
  padding: 60px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.features div {
  border-left: 4px solid var(--gold);
  padding: 20px;
}

/* SERVICES */

.services {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.services h2 {
  text-align: center;
  margin-bottom: 30px;
}

.card {
  background: #102b49;
  padding: 25px;
  border-radius: 8px;
}

.price {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card ul {
  list-style: none;
}

.card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* PROCESS */

.process {
  padding: 80px 0;
  background: var(--white);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* TESTIMONIALS */

.testimonials {
  background: var(--light);
  padding: 80px 0;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: left;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: var(--gold);
}

/* FAQ */

.faq {
  background: var(--white);
  padding: 80px 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 25px;
  padding: 20px;
  background: var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.faq-item h4 {
  margin-bottom: 8px;
  color: var(--navy);
}

.faq-item p {
  color: var(--gray);
}

/* CTA */

.cta {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

/* CONTACT */

.contact {
  padding: 80px 0;
  text-align: center;
  background: var(--white);
}

.contact-intro {
  margin-bottom: 20px;
  color: var(--gray);
}

.calendly-inline-widget {
  max-width: 900px;
  margin: 0 auto 25px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intake-box {
  max-width: 700px;
  margin: 30px auto;
  padding: 25px;
  background: var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.contact-email a {
  color: var(--gold);
  font-weight: bold;
}

/* FOOTER */

.footer {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 20px;
}

.footer-logo {
  width: 45px;
  margin-bottom: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-content {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
/* MOBILE OPTIMIZATION */

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .nav-content {
    flex-direction: column;
    gap: 14px;
    padding: 14px 0;
    text-align: center;
  }

  .logo {
    flex-direction: column;
    gap: 6px;
  }

  .site-logo {
    width: 50px;
    height: 50px;
  }

  .logo span {
    font-size: 0.95rem;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    font-size: 0.85rem;
  }

  nav .btn {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }

  .hero {
    min-height: 560px;
    text-align: center;
    background-position: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h2 {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .hero p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero {
    min-height: 360px;
    padding: 40px 0;
  }

  .page-hero h2 {
    font-size: 2.25rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .features,
  .services,
  .process,
  .testimonials,
  .faq,
  .about,
  .contact {
    padding: 55px 0;
  }

  .card,
  .testimonial-card,
  .faq-item,
  .intake-box {
    padding: 22px;
  }

  .calendly-inline-widget {
    height: 680px !important;
    min-width: 100% !important;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer {
    padding: 28px 12px;
  }
}

@media (max-width: 420px) {
  .hero h2,
  .page-hero h2 {
    font-size: 2rem;
  }

  .veteran-badge {
    font-size: 0.9rem;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .calendly-inline-widget {
    height: 620px !important;
  }
}
