/*
  Low Blow LLC Redesigned Website Styles
  This stylesheet defines the colour palette, typography and layout for the
  redesigned Low Blow LLC site. The design aims to reflect a polished
  hardware/SaaS startup aesthetic with strong branding and easy navigation.
*/

/* Colour palette */
:root {
  --primary-color: #00a6ff; /* vibrant light blue used for highlights */
  --secondary-color: #081f3e; /* dark navy used for backgrounds */
  --accent-color: #ffc600; /* yellow accent used for calls to action */
  --light-color: #ffffff; /* white for contrast */
  --text-dark: #0a2540; /* dark text on light backgrounds */
  --max-width: 1200px;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a:hover {
  text-decoration: underline;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  font-weight: 600;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

.btn:hover {
  background-color: darken(var(--accent-color), 8%);
}

/* Header */
header {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner .logo img {
  height: 50px;
}

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

nav a {
  color: var(--light-color);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  .hero {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 1.75rem 0 1.75rem; /* makes hero smaller */
    min-height: auto !important; /* prevents taking full screen */
}
}

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

.hero-text {
  flex: 1 1 55%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Numbers section */
.numbers {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

.numbers h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--secondary-color);
}

.number-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.number-card {
  background-color: #f5f8fb;
  padding: 2rem;
  border-radius: 8px;
  flex: 1 1 260px;
  max-width: 300px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.number-card p {
  color: var(--text-dark);
  font-size: 1rem;
}

/* Section links (three columns) */
.section-links {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 3rem 0;
}

.section-links .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.section-links .card {
  background-color: #0f2f57;
  border-radius: 6px;
  padding: 1.5rem;
  flex: 1 1 30%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.section-links .card:hover {
  transform: translateY(-5px);
}

.section-links .card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--accent-color);
}

.section-links .card p {
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--light-color);
}

.section-links .card a {
  color: var(--primary-color);
  font-weight: bold;
}

/* Testimonials placeholder */
.testimonials {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.testimonials .logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonials .logo-row img {
  height: 40px;
  opacity: 0.6;
  filter: grayscale(100%);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 2rem 0;
  text-align: center;
}

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

footer .footer-links a {
  color: var(--primary-color);
  font-weight: 500;
}

footer p {
  font-size: 0.9rem;
}

/* Page specific styles */
.page-hero {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 2rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
}

/* Benefits sections for subpages */
.benefits {
  padding: 3rem 0;
  background-color: var(--light-color);
}

.benefits .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.benefits .benefit-card {
  flex: 1 1 260px;
  max-width: 350px;
  background-color: #f5f8fb;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefits .benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.benefits .benefit-card p {
  font-size: 0.95rem;
}

/* Process section for How It Works page */
.process {
  padding: 3rem 0;
  background-color: var(--light-color);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.process-step {
  flex: 1 1 200px;
  max-width: 280px;
  background-color: #f5f8fb;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.process-step h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* Contact form */
.contact-section {
  padding: 3rem 0;
  background-color: var(--light-color);
}

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

.contact-section label {
  font-weight: bold;
}

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

.contact-section textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-section button {
  align-self: flex-start;
}

/* Safety page */
.safety-section {
  padding: 3rem 0;
  background-color: var(--light-color);
  color: var(--text-dark);
}

.safety-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.safety-section ul {
  list-style: disc inside;
  margin-left: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 100%;
  }
  .hero-image {
    flex: 1 1 100%;
  }
  .numbers .number-grid,
  .section-links .cards,
  .benefits .benefit-grid,
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .section-links .card {
    flex: 1 1 100%;
    max-width: 400px;
  }
}

/* Machine photo section */
.machine-photo {
  padding: 2rem 0;
  text-align: center;
  background-color: var(--light-color);
}
.machine-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}