/*
 * ScammHunter Website Stylesheet
 *
 * This stylesheet defines the global look and feel for the ScammHunter website.
 * The design utilises a dark theme with teal and magenta accents to evoke
 * professionalism, trust and a hint of urgency – colours often associated
 * with finance and cybersecurity. Elements are laid out using modern CSS
 * techniques like flexbox and grid to ensure a responsive experience across
 * different screen sizes. Media queries adjust the layout and typography
 * appropriately for tablets and mobile devices.
 */

/* Colour palette variables for easy maintenance */
:root {
  --bg-dark: #08101f;        /* deep navy background for main sections */
  --bg-light: #0e1a33;       /* slightly lighter shade for contrast */
  --primary-color: #00bfa5;  /* teal accent representing security and growth */
  --secondary-color: #ff416c;/* magenta accent suggesting caution and urgency */
  --neutral-light: #e6f1ff;  /* light text for high contrast */
  --neutral-grey: #a8b2d1;   /* muted grey for secondary text */
  --card-bg: #0d223e;        /* card background for sections */
  --border-radius: 8px;      /* consistent rounded corners */
  --transition-speed: 0.3s;  /* base transition time */
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Global resets and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--neutral-light);
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(8, 16, 31, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

nav .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

nav .logo img {
  /* Set logo height smaller for a balanced header. Reduced from 120px to 80px */
  height: 80px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 2rem;
}

nav li a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neutral-light);
}

nav li a:hover {
  color: var(--secondary-color);
}

/* Hero section */
/* Hero section with banner background and overlay */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 90vh;
  /* Blend a semi‑transparent gradient over the banner image for readability */
  background: linear-gradient(135deg, rgba(13,36,56,0.85) 0%, rgba(8,16,31,0.85) 100%),
              url('images/banner.png') no-repeat center/cover;
  /* Adjust top padding to accommodate the updated logo size in the fixed header */
  padding-top: 6rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 2rem;
  color: var(--neutral-grey);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  background-color: var(--primary-color);
  color: #08101f;
  font-weight: 600;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: #08101f;
}

/* Section headings */
section {
  padding: 4rem 0;
  background-color: var(--bg-dark);
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

/* How we work section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed) ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  fill: var(--primary-color);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-light);
}

.step p {
  font-size: 0.95rem;
  color: var(--neutral-grey);
}

/* Report form section */
.report-section {
  background-color: var(--bg-light);
  border-top: 4px solid var(--primary-color);
}

.form-container {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--bg-dark);
  color: var(--neutral-light);
  font-size: 0.95rem;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary-color);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1 1 300px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.form-footer .checkbox {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--neutral-grey);
}

.form-footer input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* About founders section */
.founders-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.founder-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition-speed) ease;
}

.founder-card:hover {
  transform: translateY(-6px);
}

.founder-card img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-card .content {
  padding: 1.5rem;
}

.founder-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.founder-card p {
  font-size: 0.95rem;
  color: var(--neutral-grey);
}

/* Collaboration section */
.collaboration {
  background-color: var(--bg-dark);
}

.collaboration-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.collaboration img {
  max-width: 400px;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.collaboration .text {
  max-width: 500px;
}

.collaboration .text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.collaboration .text p {
  font-size: 0.95rem;
  color: var(--neutral-grey);
  margin-bottom: 1rem;
}

/* Policies section */
.policies {
  background-color: var(--bg-light);
  border-top: 4px solid var(--secondary-color);
}

.policies p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 0.9rem;
  color: var(--neutral-grey);
  text-align: center;
}

.policies .policy-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.policies .policy-links a {
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #070d1a;
  padding: 2rem 0;
  text-align: center;
  color: var(--neutral-grey);
  font-size: 0.8rem;
}

footer .footer-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

footer .footer-links a {
  color: var(--primary-color);
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}