/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.main-header {
  background-color: #fff;
  color: #111;
  padding: 0.5rem 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
  padding-right: 2rem;
}

.main-header .logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: #ff0000; /* Red color for all links */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav a:hover {
  color: #cc0000; /* Darker red on hover */
}

/* Hero Section */
.hero {
  background: url('hero.jpg') no-repeat center center/cover;
  color: #fff;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  width: 100%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #ff0000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: #cc0000;
  color: #fff;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  background-color: #f4f4f4;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  border-left: 5px solid #ff0000;
}

.card h3 {
  margin-bottom: 1rem;
  color: #111;
}

/* Testimonials Section */
.testimonials {
  background-color: #f4f4f4;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 2rem;
}

.testimonial {
  max-width: 700px;
  margin: auto;
  background-color: #fff;
  border-left: 5px solid #ff0000;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.testimonial .quote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: bold;
  color: #222;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #ff0000;
  color: #fff;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #cc0000;
}

.contact-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Link Styling */
a {
  color: #ff0000; /* Red for all links */
  text-decoration: none; /* Remove underline */
}

a:hover {
  color: #cc0000; /* Darker red on hover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Header/Nav: keep horizontal but scaled down */
  .main-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  nav ul {
    display: flex;
    gap: 0.75rem;      /* less space between items */
    margin-left: auto; /* push nav to right */
  }

  nav a {
    font-size: 0.875rem; /* smaller text */
  }

  /* Logo at mobile: increase by one‑third over previous 106px */
  .main-header .logo {
    max-width: 106px * 4/3; /* equals ~141px */
    /* use a concrete value for compatibility: */
    max-width: 142px;
  }

  /* Further zoom hero to center */
  .hero {
    height: 60vh;
    background-size: 250%;      /* extra zoom */
    background-position: center; /* keep center visible */
    padding: 1.5rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  /* Stack service cards vertically */
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }

  .contact-form {
    width: 100%;
    padding: 0 1rem;
  }

  .about h2 {
    font-size: 1.6rem;
  }

  .about p {
    font-size: 1rem;
  }

  .testimonials h2 {
    font-size: 2rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}
