/* ============================================
   GULF COAST EVENT SERVICES - GLOBAL STYLES
   ============================================ */

:root {
  /* Surfaces */
  --navy: #103148;
  --teal-dark: #1D5156;
  --deepest: #0d2a3d;
  --accent: #477A6F;
  --footer: #0a2234;

  /* Brand */
  --gold: #D9A049;
  --gold-2: #EBB85F;   /* lighter gold for small text on teal surfaces */
  --cream: #F6E699;    /* headings */

  /* Text: near-white for body & secondary copy (high contrast on every surface) */
  --sage: #EEF2F1;     /* body & secondary text */

  /* Lines */
  --border: rgba(179, 201, 187, 0.28);
  --border-gold: rgba(217, 160, 73, 0.30);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.5rem, 5vw, 5rem);

  /* Spacing scale (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;

  /* Type scale */
  --fs-eyebrow: 0.8rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 3vw, 2.25rem);
  --lh-body: 1.65;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--sage);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--cream);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible,
.accordion-q:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-heading {
  color: var(--cream);
  font-size: var(--fs-h2);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--sage);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease;
}

.site-nav.nav-scrolled {
  border-bottom: 1px solid rgba(217, 160, 73, 0.15);
}

.nav-scrolled {
  background: #103148;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  width: 100%;
  padding: 8px var(--gutter);
  height: 90px;
  max-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-brand:hover {
  opacity: 1;
}

.badge-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav-wordmark {
  height: auto;
  width: 240px;
  max-width: none;
  object-fit: contain;
  display: block;
  /* logo art is a single dark-navy color on transparent, recolored to white for contrast on the navy nav */
  filter: brightness(0) invert(1);
}

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

.nav-links a {
  color: var(--sage);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--cream);
  opacity: 1;
}

.nav-links a.active {
  color: var(--cream);
  font-weight: 600;
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--footer);
  border-top: 1px solid rgba(217, 160, 73, 0.3);
  padding: 1.5rem 0;
  color: var(--sage);
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left,
.footer-right {
  opacity: 0.75;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-seal {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--sage);
  opacity: 0.75;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(238, 242, 241, 0.6);
  text-decoration: none;
}

.footer-credit .avd-name {
  color: #fff;
  font-weight: 600;
}

.footer-credit .avd-dot {
  color: #b6ff1a; /* acid green */
  font-weight: 700;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--gold);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: -4px;
  color: var(--sage);
  opacity: 0.75;
  border-radius: 8px;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--gold);
  opacity: 1;
  transform: translateY(-1px);
}

.footer-left a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-left a:hover,
.footer-left a:focus-visible {
  color: var(--gold);
}

/* ============================================
   LEGAL / LONG-FORM CONTENT
   ============================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal-meta {
  color: var(--gold-2);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: var(--sage);
  margin-bottom: 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal .legal-contact strong {
  color: var(--cream);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
  opacity: 1;
}

.btn-solid {
  background: var(--gold);
  color: var(--navy);
}

.btn-solid:hover {
  background: transparent;
  color: var(--gold);
}

/* ============================================
   HERO (HOME)
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(10,34,52,0.85) 0%, rgba(10,34,52,0.65) 45%, rgba(10,34,52,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  align-self: center;
  max-width: calc(520px + var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 1rem 0;
  letter-spacing: -0.01em;
}

.hero-content .hero-sub {
  color: var(--sage);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin-bottom: 2rem;
  font-style: italic;
}

/* ============================================
   PAGE HERO BANNER (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(217, 160, 73, 0.15);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0;
}

.page-hero p {
  color: var(--sage);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--teal-dark);
  padding: 2.5rem 0;
}

.stats-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(246, 230, 153, 0.25);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: "Lexend", sans-serif;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 5rem 0;
}

.section-deep {
  background: var(--deepest);
}

.section-navy {
  background: var(--navy);
}

.section-teal {
  background: var(--teal-dark);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.card {
  background: rgba(16, 49, 72, 0.5);
  border: 1px solid rgba(131, 165, 134, 0.3);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.card-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 0;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.card p {
  color: var(--sage);
  font-size: 0.95rem;
}

.section-link {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial {
  background: var(--teal-dark);
  border: 1px solid rgba(131, 165, 134, 0.35);
  border-radius: 8px;
  padding: 2rem;
}

.testimonial blockquote {
  color: var(--cream);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial cite {
  color: var(--gold-2);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip {
  background: var(--teal-dark);
  text-align: center;
}

.contact-strip h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-strip p {
  color: var(--sage);
  margin-bottom: 2rem;
}

.contact-strip p a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-strip .contact-info {
  margin-bottom: 1.5rem;
}

.contact-strip .contact-info a {
  color: var(--cream);
  margin: 0 0.5rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-img {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid rgba(131, 165, 134, 0.3);
  background: rgba(16, 49, 72, 0.4);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
}

.accordion-q:hover {
  background: rgba(217, 160, 73, 0.05);
}

.accordion-toggle {
  color: var(--gold);
  margin-left: 1rem;
  transition: transform 0.25s ease;
  line-height: 0;
  flex-shrink: 0;
}

.accordion-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.accordion-item.open .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--sage);
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-a {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block h2 {
  color: var(--cream);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-block p {
  margin-bottom: 1.5rem;
  color: var(--sage);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--sage);
}

.contact-detail .icon {
  color: var(--gold);
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail a {
  color: var(--cream);
}

.contact-form {
  background: rgba(16, 49, 72, 0.4);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(131, 165, 134, 0.3);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.25rem;
  line-height: 1.4;
}

.form-status.success {
  color: #86efac;
}

.form-status.error {
  color: #fca5a5;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-group label {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(131, 165, 134, 0.4);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 160, 73, 0.25);
}

.form-group label .req {
  color: var(--gold-2);
  margin-left: 0.15rem;
}

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

/* ============================================
   ABOUT / FOUNDER
   ============================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.founder-img {
  display: block;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(217, 160, 73, 0.2);
}

.founder-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.founder-text p {
  color: var(--sage);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(217, 160, 73, 0.2);
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid rgba(131, 165, 134, 0.15);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat {
    border-bottom: 1px solid rgba(246, 230, 153, 0.2);
    padding-bottom: 1.25rem;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: none;
    padding-top: 1.25rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid,
  .contact-grid,
  .testimonial-grid,
  .cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-img {
    height: 280px;
  }

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

@media (max-width: 560px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(246, 230, 153, 0.2);
  }
  .stat:last-child {
    border-bottom: none;
  }
  section {
    padding: 3.5rem 0;
  }
}
