/* ============================================================
   TWILIGHT STAFFING — Global Stylesheet
   ============================================================ */

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

:root {
  --navy: #0B1E3D;
  --navy-mid: #152C52;
  --navy-light: #1E3A66;
  --gold: #C8952A;
  --gold-light: #E8B84B;
  --gold-pale: #F5E6C8;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text-dark: #0B1E3D;
  --text-mid: #3D5278;
  --text-muted: #7A92B4;
  --border: rgba(200,149,42,0.2);
  --success: #5DE6A0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,30,61,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,149,42,0.25);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--gold-light); }

.nav-links {
  display: flex; gap: 1.75rem; list-style: none; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

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

/* ── MOBILE NAV ── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid rgba(200,149,42,0.2); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; display: inline-block; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--white);
  padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 500; font-size: 0.9rem;
  text-decoration: none; letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold-light); background: rgba(200,149,42,0.08); }

.btn-white {
  background: var(--white); color: var(--navy);
  padding: 0.8rem 1.75rem; border-radius: 4px;
  font-weight: 600; font-size: 0.875rem;
  text-decoration: none; display: inline-block; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

.btn-navy {
  background: var(--navy); color: var(--white);
  padding: 0.8rem 1.75rem; border-radius: 4px;
  font-weight: 600; font-size: 0.875rem;
  text-decoration: none; display: inline-block; transition: opacity 0.2s;
}
.btn-navy:hover { opacity: 0.85; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-mid); font-size: 1.05rem;
  line-height: 1.7; max-width: 560px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 130px 2rem 5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,149,42,0.07) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,149,42,0.15); border: 1px solid rgba(200,149,42,0.35);
  color: var(--gold-light); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700;
  color: var(--white); line-height: 1.15; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: normal; color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }

/* ── TAGS ── */
.tag {
  background: rgba(200,149,42,0.12); border: 1px solid rgba(200,149,42,0.25);
  color: var(--gold); font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 4px;
}
.tag-navy {
  background: rgba(11,30,61,0.07); border: 1px solid rgba(11,30,61,0.12);
  color: var(--text-mid); font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 4px;
}
.card-detail { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ── ROLE CARDS ── */
.role-card {
  background: var(--white); border: 1px solid rgba(11,30,61,0.08);
  border-radius: 12px; padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer; text-decoration: none; display: block;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11,30,61,0.1);
  border-color: var(--gold);
}
.role-badge {
  display: inline-block;
  background: var(--gold-pale); color: var(--gold);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 1rem;
}
.role-card h4 { font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 0.4rem; font-family: 'DM Sans', sans-serif; }
.role-card .location { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 1rem; }
.role-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; border-top: 1px solid rgba(11,30,61,0.06);
}
.role-pay { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.role-type { color: var(--text-muted); font-size: 0.78rem; }

/* ── TESTIMONIAL CARDS ── */
.testimonial-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.75rem; transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: rgba(200,149,42,0.35); }
.stars { color: var(--gold-light); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  color: rgba(255,255,255,0.85); font-size: 0.95rem;
  line-height: 1.7; font-style: italic; margin-bottom: 1.25rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar-sm {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(200,149,42,0.2); border: 1px solid rgba(200,149,42,0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; color: var(--gold-light); flex-shrink: 0;
}
.author-name { color: var(--white); font-weight: 600; font-size: 0.875rem; }
.author-title { color: var(--text-muted); font-size: 0.78rem; }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem; border: 1.5px solid rgba(11,30,61,0.12);
  border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--navy); background: var(--cream);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(200,149,42,0.15);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1200px; margin: 0 auto;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 1.3rem; margin-bottom: 0.75rem;
}
.footer-brand h3 span { color: var(--gold-light); }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.8rem; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.social-link:hover { background: rgba(200,149,42,0.15); border-color: rgba(200,149,42,0.3); color: var(--gold-light); }
.footer-col h4 {
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.45); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
