/*
  Global styles for the welding services lead‑generation site. The layout uses
  a mobile‑first design with simple flexbox containers. Colours can be
  customised easily via the CSS variables defined at the top. Font sizes and
  spacing are chosen for readability. If you prefer a different colour
  scheme, adjust the --primary and --accent variables.
*/

:root {
  --primary: #1f2937; /* dark blue/grey */
  --accent: #e0ac2e; /* welding‑inspired gold/yellow */
  --light: #f5f5f5;
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light);
}

header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 10px 0;
}

header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

header nav a {
  color: var(--text-light);
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

header nav a:hover {
  text-decoration: underline;
}

.phone {
  background-color: var(--accent);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

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

#hero {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url('https://images.unsplash.com/photo-1526662092594-e98c4f7c6dee?auto=format&fit=crop&w=1650&q=80');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 60px 20px;
  text-align: center;
}

#hero h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

.cta-btn:hover {
  background-color: #cc972a;
}

section {
  padding: 40px 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.services-list li {
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.services-list h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.services-list p {
  font-size: 0.95rem;
}

#about p {
  font-size: 1rem;
  max-width: 800px;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

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

button[type="submit"] {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
  background-color: #14213d;
}

.privacy-notice {
  font-size: 0.8rem;
  margin-top: 10px;
  color: #555;
}

footer {
  background-color: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer p {
  font-size: 0.9rem;
}