/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 10%;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #ff6600;
}

/* Hero Section */
.hero {
    background: url('home-banner.jpg') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 70px; /* To prevent overlap with fixed header */
}

/* Dark Overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.cta-button {
    background: #ff6600;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
}

.cta-num {
    
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
}

.cta-button:hover {
    background: #e55b00;
}

.cta-num-red {
    
    color: red;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    animation: blinker 1s linear infinite;
}

.cta-num:hover {
    background: #e55b00;
}

.cta-num-red:hover {
    background: #e55b00;
    color: white;
}


.cta-num-menu {
    background: red;
    color: white;
    position: absolute;
}

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

.service-item {
    margin-top: 20px;
}

.service-item img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Financing Section */
.financing {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

/* Reviews Section */
.reviews {
    padding: 50px 20px;
    text-align: center;
}

.review-item {
    margin-top: 20px;
    font-style: italic;
}

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

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Financing Section */
.financing-section {
    background: #f8f8f8;
    padding: 60px 20px;
}

.financing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.financing-text {
    /** max-width: 50%; */
}

.financing-text h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.financing-text h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.financing-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.highlight {
    color: #d60000;
    font-weight: bold;
}

.zip-button {
    background: #d60000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

.zip-button:hover {
    background: #a00000;
}

.estimate-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Image & Navigation */
.financing-image {
    position: relative;
    max-width: 50%;
    text-align: center;
}

.financing-image img {
    width: 100%;
    border-radius: 10px;
}

.image-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.nav-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-buttons button {
    background: none;
    border: 2px solid #333;
    color: #333;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-buttons button:hover {
    background: #333;
    color: white;
}


/* Hero Section */
.hero-section {
    background: url('roofing-bg.jpg') center/cover no-repeat;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    padding: 40px;
}

/* Dark Overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay for contrast */
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-overlay h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-overlay h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button */
.hero-button {
    background: #d60000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.hero-button:hover {
    background: #a00000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 380px;
        padding: 20px;
    }

    .hero-overlay h1 {
        font-size: 28px;
    }

    .hero-overlay p {
        font-size: 16px;
    }

    .hero-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}


/* Our Process Section */
.process-section {
    background: #fff; /* Dark background */
    color: #d60000;
    padding: 60px 20px;
    text-align: center;
}

.process-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.process-step {
    max-width: 220px;
    text-align: center;
}

.process-step img {
    width: 150px;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 16px;
    font-weight: bold;
    color: #3cb4ff; /* Blue text color */
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #3cb4ff; /* Blue button */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 30px;
    transition: 0.3s;
}

.cta-button:hover {
    background: #1a8edb;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .process-step {
        max-width: 100%;
    }

    .cta-button {
        width: 80%;
        font-size: 14px;
        padding: 10px 20px;
    }
}



/* Our Promise Section */
.promise-section {
    background: #ffffff;
    padding: 60px 20px;
}

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

.promise-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left Image */
.promise-image {
    position: relative;
    width: 50%;
}

.promise-image img {
    width: 100%;
    border-radius: 10px;
}

/* Decorative dots */
.decorative-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background-image: radial-gradient(circle, red 10%, transparent 10%);
    background-size: 10px 10px;
}

/* Right Text */
.promise-text {
    width: 50%;
}

.promise-text h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

/* Promise Items */
.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.promise-item img {
    width: 24px;
    height: 24px;
}

.promise-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

.promise-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .promise-content {
        flex-direction: column;
        text-align: center;
    }

    .promise-image {
        width: 100%;
    }

    .promise-text {
        width: 100%;
    }

    .promise-item {
        flex-direction: column;
        align-items: center;
    }
}


/* FAQ Section */
.faq-section {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.faq-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #222;
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: auto;
    text-align: left;
}

/* FAQ Items */
.faq-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

/* Plus Icon */
.plus-icon {
    color: red;
    font-size: 20px;
    font-weight: bold;
}

/* FAQ Question */
.faq-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

/* FAQ Answer (Always Visible) */
.faq-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* Contact Us Button */
.faq-contact {
    margin-top: 30px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #222;
    color: #222;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.contact-button:hover {
    background: #222;
    color: white;
}



/* Hide menu toggle on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto; 
}

/* Mobile */
@media (max-width: 768px) {
    nav ul {
        display: none; /* hide menu by default */
        flex-direction: column;
        gap: 15px;
        padding-top: 15px;
    }

    nav ul.show {
        display: flex; /* show when toggled */
    }

    .menu-toggle {
        display: block; /* show hamburger */
    }
}

/* Header container already uses flex */
.header-container {
    display: flex;
    justify-content: space-between; /* pushes left + right apart */
    align-items: center;
}

/* Mobile layout */
@media (max-width: 768px) {

    /* Hide nav menu by default */
    nav ul {
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }

    /* Logo stays left, toggle stays right */
    .logo img {
        width: 80px; /* adjust as needed */
    }

    .menu-toggle {
        display: block;
        margin-left: auto;     /* push to right */
        font-size: 30px;
        cursor: pointer;
        background: none;
        border: none;
    }
}












/* Responsive Design */
@media screen and (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}





/* ===== Mobile header override — put at end of stylesheet ===== */
@media (max-width: 768px) {
  /* Force header row and keep logo left + toggle right */
  .header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Logo size */
  .logo img {
    width: 80px;
    height: auto;
  }

  /* Show the hamburger and ensure it's on the right */
  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 2;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #111;
  }

  /* Ensure nav sits full width under header when open */
  nav {
    order: 3;
    width: 100%;
  }

  /* Hide nav links by default; show when .show is toggled by JS */
  nav ul {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
    text-align: center;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    display: block;
  }
}

/* Make sure toggle hidden on desktop */
.menu-toggle {
  display: none;
}

/* ---------- MOBILE HEADER OVERRIDE (place at end of stylesheet) ---------- */
.menu-toggle {
  display: none; /* default desktop hidden */
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  padding: 6px;
}

/* ensure it sits above other elements (header is fixed) */
header { z-index: 1000; position: fixed; top: 0; left: 0; right: 0; }

/* mobile layout */
@media (max-width: 768px) {
  .header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* show the hamburger on mobile */
  .menu-toggle {
    display: block !important;
    order: 2;
    margin-left: auto;
    color: #111; /* change to white (#fff) if your header bg is dark */
    z-index: 1100; /* above the fixed header content */
  }

  /* size the logo appropriately */
  .logo img {
    width: 80px;
    height: auto;
  }

  /* hide nav links by default and show when toggled */
  header nav {
    order: 3;
    width: 100%;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
    text-align: center;
    background: #fff; /* optional — keeps dropdown readable */
    margin-bottom: 0;
  }

  header nav ul.show {
    display: flex;
  }

  header nav ul li {
    display: block;
  }
}

/* =========================
   MOBILE HEADER OVERRIDE
   Paste this at END of stylesheet
   ========================= */

.menu-toggle { display: none; }

/* Always keep header single row and on top */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #fff; /* keep same bg as your header */
}

/* Desktop: default rules apply */
@media (max-width: 768px) {
  /* Force header to be a row (override conflicting column rule) */
  .header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 6%;
  }

  /* Logo sizing */
  .logo { order: 1; }
  .logo img {
    width: 72px;    /* tune as needed */
    height: auto;
    display: block;
  }

  /* Hamburger on the right */
  .menu-toggle {
    display: block !important;
    order: 3;               /* ensure it sits after logo and before nav in layout */
    margin-left: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #111;            /* change to #fff if header bg is dark */
    z-index: 1300;
    padding: 6px;
  }

  /* Place nav after toggle in visual order but keep it full width when opened */
  nav {
    order: 2;
    width: 100%;
    margin-left: 0;
  }

  /* Hide the list by default (important: override any earlier display rule) */
  header nav ul {
    display: none !important;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 0 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
    background: #fff; /* keep dropdown background consistent */
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* When JS toggles .show the menu appears */
  header nav ul.show {
    display: flex !important;
  }

  /* nav items are block so they stack nicely */
  header nav ul li {
    display: block;
    padding: 8px 0;
  }

  /* ensure anchors are full width and easy to tap */
  header nav ul li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
  }
}