/* ===== TEXANTIDES SHARED CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500&display=swap');

:root {
  --navy: #0a1628;
  --deep-blue: #0d2244;
  --steel-blue: #1a4a7a;
  --water-blue: #1e7bbf;
  --sky: #3da5d9;
  --rust: #c94b2a;
  --gold: #d4922a;
  --sand: #e8d5a3;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-dark: #0d1a2e;
  --text-mid: #3a4a5c;
  --pipe-gray: #8a9bb0;
  --font-display: 'Playfair Display', serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 15rem;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 123, 191, 0.2);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.3);
  border-bottom-color: transparent;
  padding: 0.7rem 4rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

.navbar-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
}

.navbar-logo-text span {
  color: var(--water-blue);
}

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

.navbar-links a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--water-blue);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.navbar-links a:hover {
  color: var(--sky);
  transform: scale(1.06);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
  animation: waveUnderline 0.6s ease forwards;
}

@keyframes waveUnderline {
  0%   { width: 0; }
  60%  { width: 110%; }
  80%  { width: 95%; }
  100% { width: 100%; }
}

.navbar-links a.active {
  color: var(--sky);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 2px solid var(--water-blue);
  padding: 3rem 4rem 1.5rem;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
}

.footer-logo span { color: var(--water-blue); }

.footer-logo-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--pipe-gray);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-contact {
  text-align: center;
}

.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pipe-gray);
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--sand);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact-item:hover { color: var(--sky); }

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--water-blue);
}

.footer-texas-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.texas-flag {
  width: 70px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.copy-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--water-blue);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}

.copy-bubble.show {
  opacity: 1;
  transform: translateY(0);
}

.copy-bubble::after {
  content: '';
  position: absolute;
  top: 100%; right: 20px;
  border: 5px solid transparent;
  border-top-color: var(--water-blue);
}

.footer-bottom {
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--pipe-gray);
  font-family: var(--font-body);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--water-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--water-blue);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sky);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--white);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pipe-gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(30,123,191,0.3);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--water-blue);
  background: rgba(30,123,191,0.1);
}

.form-group select option {
  background: var(--deep-blue);
  color: var(--white);
}

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

.char-count {
  font-size: 0.75rem;
  color: var(--pipe-gray);
  text-align: right;
  margin-top: 4px;
}

.consent-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--water-blue);
  cursor: pointer;
}

.consent-group label {
  font-size: 0.78rem;
  color: var(--pipe-gray);
  line-height: 1.5;
  cursor: pointer;
}

.consent-group label a {
  color: var(--sky);
  text-decoration: underline;
}

/* ===== SECTION TITLES ===== */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--water-blue);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--water-blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
}

.section-title.light { color: var(--white); }

/* ===== PIPE DIVIDER ===== */
.pipe-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.pipe-divider::before, .pipe-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--water-blue), transparent);
}

.pipe-divider-dot {
  width: 8px; height: 8px;
  background: var(--water-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar.scrolled { padding: 0.7rem 1.5rem; }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(30,123,191,0.3);
  }

  .navbar-links.open { display: flex; }
  .hamburger { display: flex; }

  footer { padding: 2rem 1.5rem 1rem; }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-texas-wrap {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }
}
