/* =============================================
   Houston Facilities Maintenance — style.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1a3c6e;
  --orange:  #e87722;
  --light:   #f5f7fa;
  --dark:    #1a1a2e;
  --gray:    #666;
  --white:   #ffffff;
  --radius:  6px;
  --shadow:  0 2px 16px rgba(0,0,0,0.09);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.center { text-align: center; margin-top: 36px; }

/* BUTTONS */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: #c9621a; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--white);
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--white); color: var(--blue); }

.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.2s;
}
.btn-nav:hover { background: #c9621a; }

/* HEADER */
header {
  background: var(--blue);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--orange); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 60%, #2a5298 100%);
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0.92;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.92rem;
  opacity: 0.88;
}

/* SERVICES STRIP */
.services-strip {
  padding: 80px 0;
  background: var(--light);
}

.services-strip h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }

.service-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* WHY US */
.why-us {
  padding: 80px 0;
  background: var(--white);
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.why-text p {
  color: var(--gray);
  margin-bottom: 24px;
}

.why-list {
  margin-bottom: 32px;
}

.why-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.placeholder-image {
  background: linear-gradient(135deg, var(--blue), #2a5298);
  border-radius: 12px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

/* SERVICE AREAS */
.areas {
  padding: 80px 0;
  background: var(--light);
  text-align: center;
}

.areas h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.areas > .container > p {
  color: var(--gray);
  margin-bottom: 40px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.areas-grid a {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.areas-grid a:hover {
  background: var(--blue);
  color: var(--white);
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), #c9621a);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.92;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: #ccc;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-col a[href^="tel"] {
  color: var(--orange);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #888;
}

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 60%, #2a5298 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* CONTENT SECTIONS */
.content-section {
  padding: 70px 0;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.content-section p {
  color: var(--gray);
  margin-bottom: 16px;
  max-width: 760px;
}

/* CONTACT FORM */
.contact-form {
  background: var(--light);
  padding: 70px 0;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-wrap h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.form-wrap p {
  color: var(--gray);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.form-group textarea { height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: #c9621a; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .why-us .container { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 14px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
}
