/* ============================================================
   CrewStaySA — Public Website Styles
   Colors: Navy #0d2240 | Gold #c9952a | White #ffffff
   ============================================================ */

:root {
  --navy:     #0d2240;
  --navy-mid: #122a52;
  --gold:     #c9952a;
  --gold2:    #e0a830;
  --gold-lt:  #fff7e6;
  --white:    #ffffff;
  --grey:     #f5f6f8;
  --text:     #2d3748;
  --muted:    #64748b;
}

/* ── Base ───────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* ── Helpers ────────────────────────────────────────────── */
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }
.fw-black     { font-weight: 900; }
.btn-navy     { background: var(--navy); color: #fff; border: none; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-gold     { background: var(--gold); color: #fff; border: none; }
.btn-gold:hover { background: var(--gold2); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #1fb855; color: #fff; }

/* ── Brand name ─────────────────────────────────────────── */
.brand-crew    { color: var(--gold); font-weight: 900; font-size: 1.4rem; }
.brand-stay    { color: #fff;        font-weight: 900; font-size: 1.4rem; }
.brand-sa      { color: rgba(255,255,255,.5); font-weight: 900; font-size: 1.4rem; }
.brand-sa-light { color: rgba(255,255,255,.4); font-weight: 900; font-size: 1.4rem; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.site-nav {
  background: transparent;
  transition: background .35s, box-shadow .35s;
  padding: .9rem 0;
}
.site-nav.scrolled {
  background: var(--navy) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .6rem 0;
}
.site-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem .75rem !important;
  border-radius: 6px;
  transition: all .2s;
}
.site-nav .nav-link:hover { color: #fff !important; background: rgba(255,255,255,.1); }
.site-nav .btn { border-radius: 8px; font-weight: 600; font-size: .875rem; }

/* ── HERO ───────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a1a30 0%, #0d2240 40%, #122a52 70%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9952a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(13,34,64,.3); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }

.hero-badge {
  display: inline-block;
  background: rgba(201,149,42,.15);
  border: 1px solid rgba(201,149,42,.4);
  color: var(--gold);
  border-radius: 50px;
  padding: .4rem 1.2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 1.5rem 0;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 600px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-pill {
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  color: rgba(255,255,255,.5);
  font-size: 2rem;
  text-decoration: none;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── TICKER ─────────────────────────────────────────────── */
.ticker-bar {
  background: var(--gold);
  overflow: hidden;
  padding: .65rem 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  color: var(--navy);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0 1.5rem;
}
.ticker-track .sep { color: rgba(13,34,64,.4); padding: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ───────────────────────────────────────────── */
.section       { padding: 100px 0; }
.section--grey { background: var(--grey); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.15;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SERVICE CARDS ──────────────────────────────────────── */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8ecf0;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,34,64,.1);
}
.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}
.service-tier  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .25rem; }
.service-name  { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.service-desc  { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-size: .95rem; }

.service-features       { list-style: none; padding: 0; margin: 0 0 2rem; }
.service-features li    { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .9rem; }
.service-features--light li { color: rgba(255,255,255,.75); }
.service-features--light li i { color: var(--gold) !important; }

/* ── VALUE CARDS ────────────────────────────────────────── */
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #e8ecf0;
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover { box-shadow: 0 8px 24px rgba(13,34,64,.08); transform: translateY(-3px); }
.value-icon {
  width: 52px; height: 52px;
  background: var(--gold-lt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.value-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.value-card p  { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-steps { position: relative; }
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #e8ecf0;
  height: 100%;
  position: relative;
  transition: box-shadow .2s;
}
.step-card:hover { box-shadow: 0 12px 32px rgba(13,34,64,.1); }
.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-icon {
  font-size: 2.2rem;
  color: var(--navy);
  margin: .75rem 0 1.25rem;
}
.step-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.step-card p  { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ── INDUSTRY GRID ──────────────────────────────────────── */
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 14px;
  padding: 1.5rem 2rem;
  min-width: 120px;
  transition: all .2s;
}
.industry-item:hover { border-color: var(--gold); background: var(--gold-lt); transform: translateY(-3px); }
.industry-item i { font-size: 1.8rem; color: var(--navy); }
.industry-item span { font-size: .8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-info-card {
  background: var(--grey);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ci-icon {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.ci-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.ci-value { color: var(--navy); font-weight: 600; text-decoration: none; display: block; }
.ci-value:hover { color: var(--gold); }

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 24px rgba(13,34,64,.06);
}
.contact-form-card .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-card .form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,34,64,.1);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-brand { font-size: 1.6rem; font-weight: 900; }
.footer-tagline { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; }
.footer-sub { color: rgba(255,255,255,.4); font-size: .8rem; }
.footer-heading {
  color: var(--gold);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3rem;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-admin-link { color: rgba(255,255,255,.25); text-decoration: none; font-size: .75rem; }
.footer-admin-link:hover { color: rgba(255,255,255,.5); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .hero-content { padding: 100px 0 60px; }
  .how-steps .step-line { display: none; }
  .contact-info-card, .contact-form-card { padding: 1.75rem; }
}
