/* Revised styles.css to visually match harrysolutions.co.uk */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #003366;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo-img {
  width: 40px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #ffcc00;
}

.hero {
  background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?fit=crop&w=1950&q=80') no-repeat center center/cover;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #003366;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #0055aa;
}

#services {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f5f8fc;
  color: #333;
}

#services h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-box {
  width: 300px;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
  text-align: left;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-box h1, .service-box h3 {
  font-size: 1.2rem;
  color: #003366;
  margin: 0.5rem 0;
}

.service-box p {
  font-size: 0.95rem;
  color: #333;
}

.info-box {
  background-color: #e8f1fa;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
  border-radius: 8px;
}

.info-box h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003366;
}

.info-box p,
.info-box li {
  color: #333;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  list-style: none;
}

footer {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

footer .socials {
  margin-top: 1rem;
}

footer a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
}

footer a:hover {
  color: #ffcc00;
}

/* Responsive Navigation */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    background-color: #003366;
    padding: 1rem;
    border-radius: 8px;
    display: none;
  }

  nav.active ul {
    display: flex;
  }

  nav ul li a {
    display: block;
    padding: 0.5rem 0;
  }
}

/* Call Now Button */
.call-now-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffcc00;
  color: #003366;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 10000;
}

.call-now-btn:hover {
  background-color: #e6b800;
}

/* Modal */
.modal-content {
  background-color: #fff;
  color: #003366;
  border-radius: 10px;
}
form {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  color: #333;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.checkbox-group {
  margin-top: 5px;
}

.checkbox-group label {
  font-weight: normal;
  display: block;
}

.submit-button {
  margin-top: 20px;
  text-align: center;
}

button {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}
