/*
 * High Priority AS website styles
 *
 * This stylesheet defines the look and feel for the High Priority
 * website. The design is dark and understated to match the brand’s
 * low‑profile aesthetic, while strategic accents in gold evoke a
 * premium feeling. The layout adapts gracefully between desktop
 * and mobile devices using modern CSS features such as flexbox and
 * grid. Colour variables at the top make it easy to fine‑tune the
 * palette later.
 */

/* Colour palette */
:root {
  --primary-colour: #c8aa73; /* warm gold accent */
  --secondary-colour: #8a6d41; /* darker gold for hover states */
  --background-colour: #0b0b0b; /* near‑black background */
  --card-background: #111111; /* slightly lighter than page background */
  --text-colour: #ffffff; /* main text colour */
}

/* Global styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-colour);
  background-color: var(--background-colour);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--primary-colour);
}

/* Language toggle button */
.lang-toggle {
  border: 1px solid var(--primary-colour);
  background-color: transparent;
  color: var(--text-colour);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-toggle:hover {
  background-color: var(--primary-colour);
  color: var(--background-colour);
}

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
  /* Make the hero background follow the scroll for a parallax effect */
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-colour);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  margin: 0.3rem;
  border-radius: 4px;
  font-weight: 600;
  background-color: var(--primary-colour);
  color: var(--background-colour);
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--secondary-colour);
  color: var(--text-colour);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-colour);
  color: var(--primary-colour);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--primary-colour);
  color: var(--background-colour);
}

/* Main sections */
section {
  padding: 5rem 2rem;
}

/* Products section */
.products {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.products h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

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

.product-card {
  background-color: var(--card-background);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-card .btn {
  align-self: center;
  margin-top: 1.5rem;
}

/* About section */
.about-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.values {
  margin-top: 3rem;
}

.values h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.values-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-item {
  background-color: var(--card-background);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.value-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-colour);
}

.value-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: var(--card-background);
  color: var(--text-colour);
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

footer .footer-column {
  flex: 1 1 220px;
}

footer h4 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--primary-colour);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

footer a {
  color: var(--text-colour);
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: var(--primary-colour);
}

/* Responsive design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  header {
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
  }
  .hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  section {
    padding: 4rem 1rem;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Form styling for waitlist / contact forms */
.form-section {
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.6rem;
  border-radius: 4px;
  border: none;
  background-color: #1a1a1a;
  color: var(--text-colour);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

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

.form-submit {
  padding: 0.8rem 1.6rem;
  background-color: var(--primary-colour);
  border: none;
  border-radius: 4px;
  color: var(--background-colour);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.form-submit:hover {
  background-color: var(--secondary-colour);
  color: var(--text-colour);
}