/* Base styles */
:root {
  --primary: #d99a32;
  --red: #e3271f;
  --green: #0ba85a;
  --dark: #0b1117;
  --light: #ffffff;
  --gray: #f5f5f5;
  --text-dark: #333333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background-color: var(--dark);
  color: var(--light);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  /* Increase logo size for better visibility */
  height: 70px;
  width: auto;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-menu a:hover {
  color: var(--primary);
}
.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
}
.cta-buttons .btn {
  margin-left: 0.5rem;
}

/* Team label next to logo */
.team-label {
  margin-left: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  text-transform: uppercase;
}

/* About Us section */
.about-us {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0;
  text-align: left;
}
.about-us h2 {
  margin-top: 0;
  color: var(--primary);
}
.about-us p {
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Reviews section */
.reviews {
  background-color: var(--gray);
  color: var(--text-dark);
  padding: 3rem 0;
  text-align: left;
}
.reviews h2 {
  margin-top: 0;
  color: var(--primary);
  text-align: center;
}
.reviews .review {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}
.reviews .review p {
  margin: 0;
  font-style: italic;
}

/* WhatsApp call-to-action section */
.whatsapp-call {
  background: linear-gradient(90deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--light);
  padding: 3rem 0;
  text-align: center;
}
.whatsapp-call h3 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.whatsapp-call p {
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
}
.btn-lg {
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  margin-right: 0.5rem;
}
.btn-red {
  background-color: var(--red);
  color: var(--light);
  border-color: var(--red);
}
.btn-green {
  background-color: var(--green);
  color: var(--light);
  border-color: var(--green);
}
.btn-outline {
  border-color: var(--light);
  color: var(--light);
  background-color: transparent;
}
.btn-black {
  background-color: var(--dark);
  color: var(--light);
  border-color: var(--dark);
}
.btn:hover {
  opacity: 0.9;
}

/* Hero */
.hero {
  position: relative;
  /* Use a clean hero background showing only the house and banner */
  /* Use the team photo with MS logo as the hero background */
  background-image: url('images/hero_team.png');
  background-size: cover;
  background-position: center;
  color: var(--light);
  padding: 6rem 0 4rem;
  text-align: left;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Darker overlay to obscure underlying screenshot text */
  /* Increase opacity to hide background text */
  /* Further darken overlay to hide background text */
  background: rgba(0, 0, 0, 0.9);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-title {
  font-size: 3rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6e6e6;
}
.hero-features {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.feature-item {
  text-align: left;
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.hero-cta {
  margin-top: 2rem;
}

/* Description text under the quick help button */
.quick-help-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e6e6e6;
  max-width: 700px;
}
}

/* No phone section */
.no-phone {
  background-color: var(--gray);
  padding: 3rem 0;
  color: var(--text-dark);
  text-align: center;
}
.no-phone h2 {
  margin-top: 0;
}
.section-text {
  margin-bottom: 2rem;
}
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.icon-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.icon-card .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Steps section */
.steps {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0;
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
}
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Services section */
.services {
  background-color: var(--light);
  color: var(--text-dark);
  padding: 3rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background-color: var(--gray);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Quote form section */
.quote-form {
  background-color: var(--gray);
  padding: 3rem 0;
  text-align: center;
}
.quote-form h2 {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
.file-upload {
  display: block;
  text-align: left;
}
.file-upload input[type="file"] {
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0 1rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-col h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Social media links */
.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.social-links img {
  width: 24px;
  height: 24px;
  /* Invert colors so icons appear white on dark backgrounds */
  filter: invert(1);
  transition: opacity 0.2s ease;
}
.social-links a:hover img {
  opacity: 0.8;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  /* Stack header elements */
  .header-inner {
    flex-direction: column;
    align-items: center;
  }
  /* Hide navigation by default and show via burger toggle */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background-color: var(--dark);
    padding: 1rem 0;
    margin-top: 0.5rem;
  }
  .nav-menu.active {
    display: flex;
  }
  /* Show burger on mobile */
  .burger {
    display: block;
    margin-left: auto;
  }
  /* Hide call-to-action buttons in header on mobile */
  .cta-buttons {
    display: none;
  }
  /* Resize logo on mobile */
  .logo {
    height: 50px;
  }
  /* Center hero text */
  .hero {
    padding: 4rem 0 3rem;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .feature-item {
    text-align: center;
  }
  .hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .quick-help-desc {
    text-align: center;
    max-width: 100%;
  }
  /* Stack grids */
  .icons-grid,
  .steps-grid,
  .services-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 1rem;
  }
}
