/* =====================================================
   Smart Roofing & Solar - Main Website CSS
   File path suggestion: /assets/css/style.css
   Use in HTML head: <link rel="stylesheet" href="/assets/css/style.css">
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* =====================================================
   Header + Top Bar + Navigation
===================================================== */

.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.top-bar {
  background: #0b1f3a;
  color: #fff;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  background: #fff;
  position: relative;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #0b1f3a;
  text-decoration: none;
  letter-spacing: -0.4px;
}

.logo span {
  color: #f28c28;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 12px 13px;
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #f28c28;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 245px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 9999;
}

.dropdown-menu a {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.city-menu {
  columns: 2;
  min-width: 390px;
}

.quote-btn {
  background: #f28c28;
  color: #fff !important;
  border-radius: 6px;
  margin-left: 8px;
}

.quote-btn:hover {
  background: #d97706;
  color: #fff !important;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #0b1f3a;
  line-height: 1;
}

/* =====================================================
   Hero Sections
===================================================== */

.hero {
  background: linear-gradient(rgba(11,31,58,0.82), rgba(11,31,58,0.82)), url('/assets/images/roofing-solar-contractor-fort-lauderdale-fl.webp') center/cover no-repeat;
  color: #fff;
  padding: 90px 0;
}

.hero-metal {
  background: linear-gradient(rgba(11,31,58,0.82), rgba(11,31,58,0.82)), url('/assets/images/metal-roofing-fort-lauderdale-fl.webp') center/cover no-repeat;
}

.hero-roof-repair {
  background: linear-gradient(rgba(11,31,58,0.82), rgba(11,31,58,0.82)), url('/assets/images/roof-repair-fort-lauderdale-fl.webp') center/cover no-repeat;
}

.hero-solar {
  background: linear-gradient(rgba(11,31,58,0.82), rgba(11,31,58,0.82)), url('/assets/images/solar-installation-fort-lauderdale-fl.webp') center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: center;
}

.eyebrow {
  color: #fbbf24;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: inherit;
}

.hero p {
  font-size: 18px;
  max-width: 720px;
  margin: 0 0 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   Buttons
===================================================== */

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  transition: 0.2s ease;
}

.btn-primary {
  background: #f28c28;
  color: #fff;
}

.btn-primary:hover {
  background: #d97706;
  color: #fff;
}

.btn-dark {
  background: #fff;
  color: #0b1f3a;
}

.btn-dark:hover {
  background: #e5e7eb;
  color: #0b1f3a;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: #0b1f3a;
}

/* =====================================================
   Forms
===================================================== */

.quote-form-box {
  background: #fff;
  color: #1f2937;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.quote-form-box h2 {
  margin: 0 0 10px;
  color: #0b1f3a;
  font-size: 24px;
  line-height: 1.2;
}

.quote-form-box p {
  margin: 0 0 12px;
  font-size: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px;
  margin: 8px 0;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(242,140,40,0.35);
  border-color: #f28c28;
}

.quote-form button {
  width: 100%;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  font-size: 16px;
}

/* =====================================================
   Sections + Layouts
===================================================== */

section {
  padding: 70px 0;
}

.section-light {
  background: #f8fafc;
}

.section-dark {
  background: #0b1f3a;
  color: #fff;
}

.section-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 42px;
}

.section-title h2 {
  color: #0b1f3a;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  line-height: 1.15;
}

.section-dark .section-title h2,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-title p {
  margin: 0;
  font-size: 17px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.content h2,
.content h3 {
  color: #0b1f3a;
  line-height: 1.2;
}

.content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 0;
}

.content h3 {
  font-size: 24px;
}

.content ul {
  padding-left: 20px;
}

.content li {
  margin-bottom: 7px;
}

/* =====================================================
   Cards + Icons
===================================================== */

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}

.card h3 {
  color: #0b1f3a;
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.card p {
  margin: 0;
}

.icon {
  width: 46px;
  height: 46px;
  background: #fff3e6;
  color: #f28c28;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 12px;
}

/* =====================================================
   Service Links / City Links
===================================================== */

.service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-links a {
  background: #fff;
  color: #0b1f3a;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-weight: 700;
  display: block;
}

.service-links a:hover {
  border-color: #f28c28;
  color: #f28c28;
}

/* =====================================================
   CTA Band
===================================================== */

.cta-band {
  background: #0b1f3a;
  color: #fff;
  text-align: center;
  padding: 55px 20px;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  color: #fff;
}

.cta-band p {
  margin: 0 auto 22px;
  max-width: 780px;
  font-size: 18px;
}

/* =====================================================
   FAQ
===================================================== */

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: #0b1f3a;
  font-size: 19px;
}

.faq-item p {
  margin: 0;
}

/* =====================================================
   Reviews / Trust Boxes
===================================================== */

.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}

.stars {
  color: #f59e0b;
  font-size: 20px;
  margin-bottom: 10px;
}

/* =====================================================
   Footer
===================================================== */

.footer {
  background: #08172b;
  color: #fff;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer h3,
.footer h4 {
  margin-top: 0;
  color: #fff;
}

.footer p {
  color: #d1d5db;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  display: block;
  margin: 7px 0;
  font-size: 14px;
}

.footer a:hover {
  color: #f28c28;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 35px;
  padding-top: 18px;
  text-align: center;
  color: #cbd5e1;
  font-size: 14px;
}

/* =====================================================
   Utility Classes
===================================================== */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.orange {
  color: #f28c28;
}

.dark-blue {
  color: #0b1f3a;
}

/* =====================================================
   Tablet + Mobile Responsive
===================================================== */

@media (max-width: 980px) {
  .top-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    max-height: 82vh;
    overflow-y: auto;
  }

  #menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: #f7f7f7;
    min-width: 100%;
  }

  .dropdown-menu a {
    padding-left: 35px;
    font-size: 14px;
  }

  .city-menu {
    columns: 1;
    min-width: 100%;
  }

  .quote-btn {
    margin: 10px 20px;
    text-align: center;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .logo {
    font-size: 18px;
  }

  .navbar {
    padding: 13px 5%;
  }

  .service-links {
    grid-template-columns: 1fr;
  }

  section {
    padding: 52px 0;
  }

  .hero {
    padding: 52px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quote-form-box {
    padding: 22px;
  }

  .top-bar {
    font-size: 13px;
  }
}
