/* ==========================================
   SMART ROOFING & SOLAR - CLEAN GLOBAL CSS
   Use as /assets/style.css
========================================== */

/* ---------- VARIABLES ---------- */

:root {
  --sr-blue: #0b1f3a;
  --sr-blue-2: #123b68;
  --sr-orange: #f28c28;
  --sr-light: #f8fafc;
  --sr-border: #e5e7eb;
  --sr-input: #dbe1e8;
  --sr-text: #1f2937;
  --sr-muted: #64748b;
  --sr-white: #ffffff;
  --sr-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --sr-radius: 16px;
  --sr-max: 1180px;
}

/* ---------- RESET ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--sr-text);
  background: var(--sr-white);
  line-height: 1.65;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- GLOBAL LAYOUT ---------- */

.container {
  width: min(var(--sr-max), 92%);
  margin: auto;
}

section {
  padding: 75px 0;
}

.section-light {
  background: var(--sr-light);
}

.grid-2,
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.section-title h2,
.content h2 {
  color: var(--sr-blue);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.content p,
.card p,
.faq-item p {
  color: #475569;
  line-height: 1.7;
}

/* ---------- HEADER ---------- */

.site-header {
  background: var(--sr-white);
  border-bottom: 1px solid var(--sr-border);
  position: relative;
  z-index: 9999;
}

.top-bar {
  background: var(--sr-blue);
  color: var(--sr-white);
  padding: 9px 20px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--sr-white);
  font-weight: 800;
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    max-width:1300px;
    margin:5px auto;
    min-height:100px;
    padding:0px 0px;
    gap:0px;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 25px;
  line-height: 1;
  color: var(--sr-blue);
  cursor: pointer;
  margin-right:20px;
}

.nav-menu {
  list-style: none;
  margin: 10px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-menu a {
  color: var(--sr-blue);
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--sr-orange);
}

.quote-btn {
  background: var(--sr-orange);
  color: var(--sr-white) !important;
  padding: 12px 18px;
  border-radius: 10px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--sr-white);
  border: 1px solid var(--sr-border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14);
  padding: 10px;
  z-index: 99999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: #fff7ed;
}

/* ---------- HERO ---------- */

.hero {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--sr-blue), var(--sr-blue-2));
  color: var(--sr-white);
}

.hero h1 {
  color: var(--sr-white);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin: 12px 0 20px;
}

.hero p {
  font-size: 18px;
  color: #e5edf7;
  line-height: 1.7;
}

.eyebrow {
  color: var(--sr-orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 900;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--sr-orange);
  color: var(--sr-white);
}

.btn-dark {
  background: #111827;
  color: var(--sr-white);
}

.btn:hover {
  opacity: 0.92;
}

.btn-large {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 900;
}

/* ---------- FORMS ---------- */

.quote-form-box,
.estimate-box,
.cta-box {
  background: var(--sr-white);
  color: var(--sr-text);
  border-radius: 18px;
  border: 1px solid var(--sr-border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.quote-form-box,
.estimate-box {
  padding: 34px;
}

.quote-form-box h2,
.estimate-box h2,
.cta-box h2 {
  color: var(--sr-blue);
  margin: 0 0 10px;
  line-height: 1.15;
}

.quote-form-box p,
.estimate-box p,
.cta-box p {
  color: var(--sr-muted);
}

.quote-form,
.estimate-box form,
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.estimate-box input,
.estimate-box select,
.estimate-box textarea,
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 15px;
  border: 1px solid var(--sr-input);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: var(--sr-white);
  color: var(--sr-text);
}

.quote-form textarea,
.estimate-box textarea,
.cta-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.estimate-box input:focus,
.estimate-box select:focus,
.estimate-box textarea:focus,
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--sr-orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.16);
}

.quote-form button,
.estimate-box button,
.cta-form button {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.cta-form label {
  display: block;
  font-weight: 800;
  color: var(--sr-blue);
  margin-bottom: 7px;
}

.full-width {
  grid-column: 1 / -1;
}

/* ---------- CARDS ---------- */

.card,
.nap-card,
.faq-item,
.gallery-card {
  background: var(--sr-white);
  border: 1px solid var(--sr-border);
  border-radius: var(--sr-radius);
  padding: 26px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.card h3 a {
  color: var(--sr-blue);
}

.card h3 a:hover {
  color: var(--sr-orange);
}

.icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.nap-card {
  margin-bottom: 20px;
}

.map-box iframe {
  border-radius: var(--sr-radius);
  box-shadow: var(--sr-shadow);
}

/* ---------- LISTS ---------- */

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sr-orange);
  font-weight: 900;
}

/* ---------- GALLERY ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  padding: 18px;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

/* ---------- SERVICE LINKS ---------- */

.services-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.services-links a {
  background: var(--sr-white);
  color: var(--sr-blue);
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--sr-border);
  font-weight: 800;
  display: block;
}

.services-links a:hover {
  border-color: var(--sr-orange);
  color: var(--sr-orange);
  background: #fff7ed;
}

/* ---------- CTA ---------- */

.cta {
  background: var(--sr-blue);
  color: var(--sr-white);
  text-align: center;
}

.cta h2 {
  color: var(--sr-white);
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 0;
}

.cta p {
  max-width: 850px;
  margin: 0 auto 28px;
  color: #e5edf7;
}

.final-cta-section {
  padding: 80px 0;
  background: var(--sr-light);
}

.cta-box {
  max-width: 960px;
  margin: auto;
  padding: 50px;
}

.cta-box h2,
.cta-box p,
.cta-contact {
  text-align: center;
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto 26px;
}

.cta-contact {
  margin-bottom: 30px;
}

.cta-phone {
  display: inline-block;
  color: var(--sr-orange);
  font-size: 28px;
  font-weight: 900;
}

/* ---------- FOOTER ---------- */

.footer,
.site-footer,
.pr-footer,
footer {
  background: var(--sr-blue);
  color: var(--sr-white);
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h3,
.footer h4,
.site-footer h3,
.site-footer h4,
.pr-footer h3,
.pr-footer h4,
footer h3,
footer h4 {
  color: var(--sr-white);
  margin-top: 0;
}

.footer p,
.site-footer p,
.pr-footer p,
footer p {
  color: #dbeafe;
  line-height: 1.7;
}

.footer a,
.site-footer a,
.pr-footer a,
footer a {
  color: var(--sr-white);
  display: inline-block;
  margin: 4px 8px 4px 0;
}

.footer a:hover,
.site-footer a:hover,
.pr-footer a:hover,
footer a:hover {
  color: var(--sr-orange);
}

/* ---------- MOBILE ---------- */

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .gallery-grid,
  .services-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-form-box,
  .estimate-box {
    margin-top: 24px;
    padding: 26px;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0 5px;
    border-top: 1px solid var(--sr-border);
  }

  #menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 6px 0 0 14px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 14px;
  }

  .logo {
    font-size: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .cta-phone {
    font-size: 24px;
  }
}
.hero-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.hero-form h2,
.hero-form p {
  color: #10233f;
}

.hero-form p {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 26px;
}

.hero-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  font-size: 15px;
  color: #10233f;
  background: #fff;
  box-sizing: border-box;
}

.hero-form textarea {
  min-height: 110px;
  resize: vertical;
}

.hero-form button {
  width: 100%;
  min-height: 54px;
  background: #f58a1f;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.hero-form button:hover {
  background: #d97312;
}

@media (max-width: 768px) {
  .hero-form {
    padding: 24px;
  }

  .hero-form .form-row {
    grid-template-columns: 1fr;
  }
}
.hero-form-card{
    background:#fff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
    max-width:620px;
    width:100%;
}

.hero-form-card h2{
    margin:0 0 12px;
    color:#0b1f3a;
    font-size:38px;
    line-height:1.2;
    font-weight:800;
}

.hero-form-card p{
    margin:0 0 28px;
    color:#555;
    font-size:18px;
    line-height:1.6;
}

.hero-form-card form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.hero-form-card .form-row{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea{
    width:100%;
    padding:14px 18px;
    border:1px solid #d7dce3;
    border-radius:8px;
    font-size:16px;
    font-family:inherit;
    color:#222;
    background:#fff;
    transition:.2s;
    box-sizing:border-box;
}

.hero-form-card textarea{
    min-height:120px;
    resize:vertical;
}

.hero-form-card input:focus,
.hero-form-card select:focus,
.hero-form-card textarea:focus{
    outline:none;
    border-color:#f68b1f;
    box-shadow:0 0 0 3px rgba(246,139,31,.15);
}

.hero-form-card button{
    width:100%;
    padding:18px;
    background:#f68b1f;
    color:#fff;
    border:none;
    border-radius:10px;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.hero-form-card button:hover{
    background:#dd7611;
}

@media(max-width:768px){

.hero-form-card{
    padding:28px;
}

.hero-form-card .form-row{
    grid-template-columns:1fr;
}

.hero-form-card h2{
    font-size:30px;
}

}
.logo{
    display:flex;
    align-items:center;
    margin-right:15px;   /* was 40px */
}

.logo-img{
    width:300px;
    height:auto;
}

.logo-img:hover {
    transform: scale(1.03);
}

