/*
 * Hava Projects Website Stylesheet
 *
 * This stylesheet defines the visual appearance for the Hava Projects
 * marketing website. The design is intentionally minimal and
 * professional, using a restrained colour palette of deep blue,
 * soft grey and white. The layout is responsive so that pages
 * remain readable on desktops, tablets and mobile devices. Feel
 * free to add additional styles or modify existing ones to tailor
 * the site to your exact branding requirements.
 */

/* Global resets and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

a {
  color: #0a3e86;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container helper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and navigation */
header {
  background-color: #0a3e86;
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav li {
  margin: 0;
}

nav a {
  color: #ffffff;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero section */
.hero {
  background: linear-gradient(to right, #0a3e86, #0f5fa8);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #ffffff;
  color: #0a3e86;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background-color: #f0f0f0;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0a3e86;
  text-align: center;
}

/* Services overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: #f7f9fb;
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}

.service-item h3 {
  margin-bottom: 15px;
  color: #0a3e86;
  font-size: 20px;
}

.service-item p {
  font-size: 14px;
}

/* Footer */
footer {
  background-color: #0a3e86;
  color: #ffffff;
  padding: 40px 0;
}

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

footer h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

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

footer .footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  nav a {
    padding-left: 0;
  }
}

/* Gallery styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}