/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}

.top-logo {
  max-width: 120px;
  height: auto;
}

.top-phone {
  font-size: 1.2rem;
  font-weight: bold;
  color: #c00;
  text-decoration: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  margin-top: 60px; /* to account for top bar */
  background: url('https://aainsulationcompany.com/images/blow-in-insulation.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,50,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color:#0BDA51;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #a00;
}

/* Services Section */
.services {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 30px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card h3 {
  color: rgb(25, 123, 255);;
  margin-bottom: 10px;
}

/* Reviews Section */
.reviews {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.reviews h2 {
  font-size: 2rem;
  color: #003366;
}

.reviews .subtext {
  margin-bottom: 20px;
  color: #666;
}

.reviews-embed {
  max-width: 900px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background: #003366;
  color: white;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, 
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.contact-form button {
  padding: 12px;
  background: #c00;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

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

/* Footer */
.footer {
  background: #001f3f;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .service-list {
    flex-direction: column;
  }
  .top-bar {
    flex-direction: column;
    gap: 5px;
  }
  .top-phone {
    font-size: 1rem;
  }
}
