/* =========================================
   Kaufman County Transportation
   Elite Black & Gold – FINAL Stable CSS (Struvarion Locked)
   Single source of truth — no conflicts, no overrides
========================================= */

/* ---------- Tokens ---------- */
:root{
  --black:#07070a;
  --black2:#0c0d12;
  --gold:#d4af37;
  --gold2:#b8922e;

  --ink:#f3f4f6;
  --muted:rgba(243,244,246,.72);

  --line:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.04);

  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --max:1180px;

  --heroMin:520px;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  background:var(--black);
  color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-text-size-adjust:100%;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.kct-container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* =========================================
   HEADER (ONE SYSTEM)
========================================= */

.kct-header{
  position:sticky;top:0;z-index:50;
  background:rgba(7,7,10,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

/* Top row: logo + CTAs */
.kct-header-top{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:76px;
  padding:0 18px;
  max-width:var(--max);
  margin:0 auto;
}

.kct-brand{display:flex;align-items:center}
.kct-brand img{height:42px;width:auto}

/* CTAs right aligned */
.kct-header-cta{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
}

/* Desktop nav row */
.kct-nav-desktop{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 18px 12px;
  display:flex;
  justify-content:flex-end;
  gap:18px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.06);
}

.kct-nav-desktop a{
  opacity:.86;
  font-weight:800;
  letter-spacing:.01em;
}
.kct-nav-desktop a:hover{opacity:1}
.kct-nav-desktop a.is-active{color:var(--gold);opacity:1}

/* Mobile nav row (enabled only on mobile) */
.kct-nav-mobile{display:none}

/* =========================================
   BUTTONS
========================================= */

.kct-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--gold),var(--gold2));
  color:#140f02;
  font-weight:900;
  border:1px solid rgba(0,0,0,.35);
  box-shadow:0 10px 30px rgba(212,175,55,.18);
  cursor:pointer;
}
.kct-btn:hover{filter:brightness(1.05)}
.kct-btn:active{transform:translateY(1px)}

.kct-btn-ghost{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line);
  box-shadow:none;
  font-weight:850;
}
.kct-btn-ghost:hover{border-color:rgba(255,255,255,.22)}

/* =========================================
   HERO (Premium Alignment Lock)
   - Content block is vertically centered
   - Text stays left-aligned for conversion
   - Micro-lift + premium kicker (LOCKED)
========================================= */

.kct-hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:stretch;
  background:
    linear-gradient(90deg,
      rgba(7,7,10,.92) 0%,
      rgba(7,7,10,.65) 45%,
      rgba(7,7,10,.25) 70%,
      rgba(7,7,10,.05) 100%
    ),
    url('/assets/img/hero-airport.jpg') center/cover no-repeat;
  border-bottom:1px solid var(--line);
}

.kct-hero-inner{
  padding:44px 0 44px;       /* micro premium lift (was 56px top) */
  min-height:var(--heroMin);
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;    /* vertical centering */
  align-items:flex-start;    /* left aligned */
  text-align:left;
}

.kct-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;

  /* premium badge treatment */
  color:rgba(243,244,246,.82);
  background:rgba(0,0,0,.35);
  border:1px solid rgba(212,175,55,.22);

  font-weight:800;
}

.kct-h1{
  margin:14px 0 10px;
  font-size:clamp(34px,5.5vw,58px);
  line-height:1.06;
  letter-spacing:-.02em;
  max-width:980px;
}

.kct-sub{
  max-width:760px;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
}

.kct-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.kct-proof{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
  color:var(--muted);
  font-weight:800;
}
.kct-proof span{
  display:inline-flex;
  gap:8px;
  align-items:center;
}

/* =========================================
   SECTIONS / GRIDS
========================================= */

.kct-section{
  padding:54px 0;
  border-bottom:1px solid var(--line);
}

.kct-h2{
  font-size:28px;
  margin:0 0 10px;
  letter-spacing:-.01em;
}

.kct-muted{color:var(--muted)}

.kct-grid{display:grid;gap:16px}
.kct-grid-3{grid-template-columns:repeat(3,1fr)}
.kct-grid-2{grid-template-columns:repeat(2,1fr)}

/* =========================================
   CARDS
========================================= */

.kct-card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}

.kct-card h3{margin:0 0 8px}
.kct-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* =========================================
   TABLES
========================================= */

.kct-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.kct-table th,.kct-table td{
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.kct-table th{
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.kct-table tr:hover td{background:rgba(255,255,255,.03)}
.kct-price{font-weight:900;color:var(--gold)}

/* =========================================
   FORMS (Stable + readable)
========================================= */

.kct-form{display:grid;gap:12px}
.kct-field{display:grid;gap:8px}
.kct-label{font-weight:850;color:rgba(243,244,246,.9)}

.kct-input, .kct-select, .kct-textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:var(--ink);
  outline:none;
}

.kct-input:focus, .kct-select:focus, .kct-textarea:focus{
  border-color:rgba(212,175,55,.55);
  box-shadow:0 0 0 4px rgba(212,175,55,.12);
}

.kct-textarea{min-height:110px;resize:vertical}

/* Only enforce white selects inside booking forms (prevents global UI breakage) */
.kct-form select,
.kct-form .kct-select{
  background-color:#ffffff;
  color:#0f172a;
  border:1px solid rgba(0,0,0,.15);
}
.kct-form select option{background-color:#ffffff;color:#0f172a}

.kct-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(212,175,55,.10);
  border:1px solid rgba(212,175,55,.22);
}
.kct-total strong{font-size:18px}

.kct-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-weight:850;
}

/* Booking alert */
.kct-alert{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(212,175,55,.35);
  background: rgba(212,175,55,.10);
  color: var(--ink);
  font-weight: 850;
}

/* =========================================
   FOOTER
========================================= */

.kct-footer{padding:42px 0}

.kct-footer-inner{
  display:grid;
  gap:18px;
  grid-template-columns:1.3fr .7fr 1fr;
  align-items:start;
}

.kct-footer-brand{display:flex;gap:14px;align-items:center}

.kct-footer-links{display:grid;gap:10px}
.kct-footer-links a{color:var(--muted);font-weight:800}
.kct-footer-links a:hover{color:var(--ink)}

.kct-footer-contact{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}

.kct-footer-bottom{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  gap:12px;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 980px){
  .kct-grid-3{grid-template-columns:1fr}
  .kct-grid-2{grid-template-columns:1fr}
  .kct-footer-inner{grid-template-columns:1fr}

  .kct-hero{min-height:66vh}
  .kct-hero-inner{min-height:unset}
}

/* Mobile: swap nav rows + clean spacing */
@media (max-width: 768px){

  /* Hide desktop nav row completely */
  .kct-nav-desktop{display:none !important;}

  /* Mobile nav row */
  .kct-nav-mobile{
    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:16px;
    padding:12px 18px 14px;
    border-top:1px solid rgba(212,175,55,.22);
    background:rgba(0,0,0,.92);
    text-align:center;
    flex-wrap:wrap;
  }

  .kct-nav-mobile a{
    color:#fff;
    font-weight:850;
    font-size:14px;
    opacity:.92;
    padding:6px 4px;
    white-space:nowrap;
  }

  .kct-nav-mobile a.is-active{
    color:var(--gold);
    opacity:1;
  }

  /* Hero readability */
  .kct-h1{line-height:1.12;max-width:100%}
  .kct-sub{max-width:100%}
}