/* ═══════════════════════════════════════════════════════
   Grand Texas Vending — Main Stylesheet
   Colors: Navy #1B2B5E | Gold #C9921A | Light Gold #E8B84B
   ═══════════════════════════════════════════════════════ */

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

:root {
  --navy:       #1B2B5E;
  --navy-dark:  #111d42;
  --navy-light: #243572;
  --gold:       #C9921A;
  --gold-light: #E8B84B;
  --gold-pale:  #FDF3DC;
  --white:      #ffffff;
  --off-white:  #F8F9FC;
  --gray-100:   #F1F3F8;
  --gray-300:   #D1D5E0;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --text:       #1F2937;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray-700); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title { margin-bottom: 1rem; }
.section-sub   { font-size: 1.05rem; color: var(--gray-500); max-width: 580px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,146,26,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
}
.logo-icon {
  font-size: 1.6rem;
  color: var(--gold);
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* ══════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(17,29,66,.92) 0%, rgba(27,43,94,.80) 100%),
    url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,146,26,.2);
  border: 1px solid rgba(201,146,26,.4);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', serif;
}

.hero h1 span { color: var(--gold-light); }

.hero-sub {
  color: rgba(255,255,255,.80);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}

.stat-item { color: var(--white); }
.stat-num  { font-size: 2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat-label{ font-size: .8rem; color: rgba(255,255,255,.65); margin-top: .25rem; text-transform: uppercase; letter-spacing: .08em; }


/* ══════════════════════════════════════════
   SECTIONS — shared
══════════════════════════════════════════ */
section { padding: 96px 0; }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }


/* ══════════════════════════════════════════
   HOME — WHAT WE DO (icon cards)
══════════════════════════════════════════ */
.what-we-do { background: var(--off-white); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p  { font-size: .9rem; }


/* ══════════════════════════════════════════
   HOME — WHY CHOOSE US
══════════════════════════════════════════ */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(201,146,26,.15);
  border-radius: 50%;
}

.why-visual-icon {
  font-size: 4rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.why-visual h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.why-visual p  { color: rgba(255,255,255,.75); }

.why-list { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
}

.why-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.why-item p  { font-size: .88rem; }


/* ══════════════════════════════════════════
   HOME — CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 { color: var(--white); }
.cta-inner p  { color: rgba(255,255,255,.7); margin-top: .5rem; }


/* ══════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-top: .75rem; max-width: 560px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-card-header i {
  font-size: 2.2rem;
  color: var(--gold-light);
}
.service-card-header h3 { color: var(--white); font-size: 1.15rem; }

.service-card-body { padding: 1.75rem; }
.service-card-body p { font-size: .92rem; margin-bottom: 1.25rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--gray-700);
}
.feature-list li i { color: var(--gold); font-size: .9rem; }

.process-section { background: var(--off-white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.process-step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h4 { margin-bottom: .4rem; }
.process-step p  { font-size: .88rem; }


/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: var(--white);
  text-align: center;
}
.about-img-block i { font-size: 5rem; color: var(--gold-light); display: block; margin-bottom: 1.5rem; }
.about-img-block h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .75rem; }
.about-img-block p  { color: rgba(255,255,255,.75); font-size: .95rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.value-card i { font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.value-card h4 { margin-bottom: .4rem; }
.value-card p  { font-size: .88rem; }

.area-section {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}
.area-section h2 { color: var(--white); margin-bottom: 1rem; }
.area-section p  { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 2.5rem; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.area-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: .45rem 1.1rem;
  border-radius: 100px;
  font-size: .88rem;
}
.area-tag.highlight {
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}


/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p  { font-size: .95rem; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: .88rem; color: var(--navy); }
.contact-detail-text span   { font-size: .88rem; color: var(--gray-500); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

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

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group label span { color: var(--gold); }

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,43,94,.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  font-weight: 500;
}
.alert-error   { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }

/* thanks page */
.thanks-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.thanks-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.thanks-icon {
  width: 80px; height: 80px;
  background: #F0FDF4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #16A34A;
  margin: 0 auto 1.5rem;
}
.thanks-card h2 { margin-bottom: .75rem; }
.thanks-card p  { margin-bottom: 1.75rem; }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; }
.footer-tagline { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: .75rem; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact p { color: rgba(255,255,255,.6); font-size: .88rem; margin-bottom: .5rem; }
.footer-contact i { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1.5rem 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }

  .why-grid,
  .about-intro,
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

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

  .hero-stats { gap: 1.5rem; }

  .cta-inner { flex-direction: column; text-align: center; }
}
