/* version 1.4 */
/* =========================
   Global Styles
   ========================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* =========================
   Header
   ========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff; /* White header bar */
  color: #111;
  border-bottom: 1px solid #ddd; /* subtle separator */
}

header .logo img {
  max-height: 120px; /* shrink logo consistently */
  width: auto;      /* maintain aspect ratio */
}

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

header nav a {
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  color: #ff6600; /* accent color */
}

/* Responsive tweak */
@media (max-width: 600px) {
  header .logo img {
    max-height: 50px; /* smaller logo on mobile */
  }
}

/* =========================
   Hero Section
   ========================= */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

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

.hero p {
  font-size: 1.2rem;
}

.hero .cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.hero .cta:hover {
  background: #e65c00;
}

/* =========================
   Sections
   ========================= */
section {
  padding: 3rem 2rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #111;
}

/* Shared section title style */
.section-title {
  color: #ff6600;       /* same accent orange as Services h3 */
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
}

/* Shared content box style (About, Contact, etc.) */
.content-box {
  background-color: #f9f9f9;   /* matches Services cards */
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  margin: 20px auto;
  max-width: 800px;
}

/* =========================
   Services Grid
   ========================= */
.service-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.service {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.service h3 {
  margin-top: 0;
  color: #ff6600;
}

/* =========================
   Contact Form
   ========================= */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  font-weight: bold;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font: inherit;
}

form button {
  padding: 0.75rem;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #e65c00;
}

/* Image in lower right */
.image-callout {
  text-align: right;
  margin-top: 2rem;
}

.corner-gif {
  max-width: 200px;
  height: auto;
  opacity: 0.85;
  border-radius: 4px;
}

/* =========================
   Footer
   ========================= */
footer {
  text-align: center;
  padding: 1rem;
  background: #f4f4f4;
  color: #555;
  border-top: 1px solid #ddd;
}

/* =======================
   About
   ======================= */
.content-box {
  background-color: #f5f5f5;   /* light grey background */
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 800px;
}

/* =======================
   404 Page
   ======================= */
#error-404 {
  text-align: center;
  padding: 80px 20px;
}

#error-404 h1 {
  font-size: 6rem;
  margin: 0;
  color: #e74c3c; /* bold red accent */
}

#error-404 h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #333;
}

#error-404 p {
  margin: 20px 0;
  color: #666;
}

#error-404 .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

#error-404 .btn:hover {
  background: #555;
}
