/*
 * W9‑Liquidators Website Stylesheet
 *
 * This stylesheet defines the look and feel for the W9‑Liquidators
 * website. The design aims to convey professionalism and trust while
 * remaining clean and easy to navigate. It includes responsive rules to
 * ensure that the layout adapts gracefully to phones, tablets and
 * desktops.
 */

/* Root variables allow easy colour changes */
:root {
  --primary-color: #2c3e50;       /* Dark blue for headers and footers */
  --secondary-color: #e67e22;     /* Warm orange for accents */
  --light-color: #ffffff;
  --dark-color: #34495e;
}

/* Box sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Global body styles */
body {
  margin: 0;
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fafafa;
}

/* Header with logo and navigation */
header {
  background: var(--primary-color);
  color: var(--light-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Process flow diagram styles */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.flow-step {
  background: var(--light-color);
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
}

.flow-step i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.9rem;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--secondary-color);
  flex: 0 0 auto;
}

/* Hero section with background image and overlay */
.hero {
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--light-color);
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.6);
}

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

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Button styling */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--secondary-color);
  color: var(--light-color);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #d35400;
}

/* Generic section styling */
.section {
  padding: 4rem 2rem;
}

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

/* Services grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: var(--light-color);
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
}

.service-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* About section styles */
.about {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
}

/* Values / Why choose us section */
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  flex: 1 1 250px;
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.value-item p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}

/* Footer styling */
footer {
  background: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* Contact form styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #d35400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  nav ul li {
    margin-left: 1rem;
  }
}