/* ================================
   SWPT Landing Page Styles
   ================================ */

:root {
  --swpt-blue-dark: #0f1a20;
  --swpt-blue-med: #123042;
  --swpt-accent: #AFC6D4;
  --swpt-text-light: #ffffff;
  --swpt-header-h: 90px;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: var(--swpt-blue-dark);
  color: var(--swpt-text-light);
  overflow-x: hidden;
}

/* -----------------------------------
   HERO
----------------------------------- */
.swpt-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swpt-hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/dark_background.jpg") center / cover no-repeat;
  transform: scale(1.15);
  filter: brightness(0.55);
  z-index: 0;
}

/* Logo now behind sections */
.swpt-hero-logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.swpt-hero-logo img {
  width: clamp(240px, 50vw, 700px);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}

/* Scroll Hint */
.swpt-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease;
}


/* make scroll hint arrow centered below text */
.swpt-scroll-hint::after {
  content: "▾";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 6px;
  animation: swpt-bob 1.4s infinite ease-in-out;
}

@keyframes swpt-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* -----------------------------------
   HEADER
----------------------------------- */
.swpt-header {
  position: fixed;
  top: 0;
  height: var(--swpt-header-h);
  width: 100%;
  padding: 0 10% 0 24px;
  background: rgba(15, 26, 32, 0.92);
  border-bottom: 2px solid var(--swpt-accent);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* group logo + nav on the left */
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 50;
}

/* Visible for all but hero */
body.swpt-header-visible .swpt-header {
  transform: translateY(0);
}

.swpt-header-logo img {
  height: 55px;
}


.swpt-header-nav {
  display: flex;
  gap: 24px; /* reduced spacing to be closer to logo */
  margin-left: 3%; /* brings tabs nearer to the logo */
}

/* bring the nav links to the left of the header */


.swpt-header-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.swpt-header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--swpt-accent);
  transition: width 0.25s ease;
}
.swpt-header-nav a:hover::after {
  width: 100%;
}

.swpt-header-cta {
  background: var(--swpt-accent);
  color: #002946;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Montserrat';
  font-weight: 700;
  margin-left: 50%; /* pin CTA to the far right */
}


/* -----------------------------------
   FULL-VIEWPORT SECTIONS
----------------------------------- */
.swpt-about, .swpt-features, .swpt-contact {
  min-height: 100vh;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ABOUT */
.swpt-about {
  background: var(--swpt-blue-med);
}

.swpt-about h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.swpt-about-intro {
  max-width: 800px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.swpt-about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1100px, 92%);
}

/* Card layout adjustments for image banners */
.swpt-card {
  background: #fff;
  color: #002946;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  overflow: hidden; /* key */
  padding: 0; /* remove top padding */
}

.swpt-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  width: 100%;
}

.swpt-card-content {
  padding: 24px;
}

.swpt-card-content h2 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
}


/* FEATURES */
.swpt-features {
  background: var(--swpt-blue-dark);
}

.swpt-features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1100px, 92%);
}

.swpt-feature-card {
  background: #fff;
  color: #002946;
  padding: 32px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* CONTACT */
.swpt-contact {
  background: var(--swpt-blue-med);
}
