/* ============================================================
   IMPORT VARIABLES
   We always import variables first so everything below
   has access to our brand tokens
============================================================ */
@import 'variables.css';


/* ============================================================
   RESET
   Browsers have their own default styles (margins, padding,
   font sizes). A reset removes all of those so we start
   from a clean, predictable blank canvas.
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ============================================================
   BASE
   The foundational styles that apply to the whole site.
============================================================ */
html {
  scroll-behavior: smooth;  /* smooth scroll when clicking anchor links */
  font-size: 16px;          /* base font size — all rem units relate to this */
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden; /* prevent horizontal scroll on mobile */
}


/* ============================================================
   SCROLLBAR
   Custom scrollbar to match brand colours
============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #ffffff; }
::-webkit-scrollbar-track { background: #000000; border-radius: 2px; }


/* ============================================================
   TYPOGRAPHY HELPERS
   Reusable text classes you'll use across all pages
============================================================ */
.eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.section-title span {
  color: var(--brand-blue);
}


/* ============================================================
   LAYOUT HELPERS
   Reusable layout classes
============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-2xl);
}

.section-pad {
  padding: var(--sp-3xl) 0;
}


/* ============================================================
   BUTTONS
   All button styles in one place
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.75rem 1.8rem;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-red {
  background: var(--brand-red);
  color: var(--white);
  padding: 0.75rem 1.8rem;
}
.btn-red:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 0.73rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}


/* ============================================================
   UTILITIES
   Small single-purpose helper classes
============================================================ */
.text-blue  { color: var(--brand-blue); }
.text-red   { color: var(--brand-red); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--mid-grey); }

.bg-navy    { background: var(--navy-deep); }
.bg-navy-mid { background: var(--navy-mid); }
.bg-light   { background: var(--off-white); }

/* ============================================================
   MEDIA PARTNER BANNER
============================================================ */
.media-banner {
  width: 100%;
  line-height: 0;
}

.media-banner img {
  width: 100%;
  height: auto;
  display: block;
}
/* ============================================================
   WHATSAPP BUTTON
============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-btn svg { fill: #ffffff; }
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-3px);
}
