/*
 * Stylesheet for the Halo!Pos landing page
 *
 * Colour palette:
 *   --primary:   #0A1931 (navy blue)
 *   --secondary: #185ADB (medium blue)
 *   --accent:    #FFC947 (warm yellow)
 *   --light:     #F9FAFC (very light gray)
 *   --dark:      #051923 (almost black)
 */

:root {
  --primary: #0A1931;
  --secondary: #185ADB;
  --accent: #FFC947;
  /* Slightly darker versions for hover states */
  --secondary-hover: #1449bf;
  --accent-hover: #e5b43e;
  --light: #F9FAFC;
  --dark: #051923;
  --text-light: #ffffff;
  --text-dark: #222222;
}

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: var(--light);
  color: var(--text-dark);
}

/* Container to align content centrally and restrict width */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
.site-header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  /*
   * Use a background image combined with a dark overlay for the hero.
   * The image is located at images/hero.png. The overlay ensures that
   * text remains readable on top of the picture. Adjust the gradient
   * values if you replace the image.
   */
  background: linear-gradient(rgba(10, 25, 49, 0.7), rgba(10, 25, 49, 0.7)),
    url('images/hero.png') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  padding: 100px 0 120px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark);
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

/* Features Section */
.features-section {
  padding: 60px 0;
  background-color: var(--light);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background-color: #ffffff;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 1.2rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature:hover {
  transform: translateY(-4px);
}

/* Solutions Section */
.solutions-section {
  padding: 60px 0;
  background-color: var(--primary);
  color: var(--text-light);
}

.solutions-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.solutions-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1rem;
  text-align: center;
}

.solutions-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.solutions-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  padding-left: 25px;
}

.solutions-list li:last-child {
  border-bottom: none;
}

.solutions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--light);
}

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

.contact-section p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background-color: var(--secondary);
  color: var(--text-light);
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--secondary-hover);
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Brands Section */
.brands-section {
  padding: 60px 0;
  background-color: var(--light);
}

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

.brands-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: var(--text-dark);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  justify-items: center;
}

.brand-item {
  background-color: #ffffff;
  border: 1px solid #e5e8ef;
  border-radius: 6px;
  padding: 15px;
  font-weight: bold;
  color: var(--secondary);
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.brand-item:hover {
  transform: translateY(-3px);
}