html {
    min-width: 300px;
}

body {
    font-family: Helvetica,Arial,sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: white;
}

header {
    /* background-image: url('../images/navbar_bc.png'); */
    background-color: black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80px; /* Adjust this value as needed */
    position: fixed;
    width: 100%;
    z-index: 1000;
}

main {
    padding: 60px 5%;
    width: 100%;
    box-sizing: border-box;
}

section {
    scroll-margin-top: 80px; /* adjust this value to match your navbar height */   
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    height: 79px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: red;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
}

#hero {
    background-image: url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 80px; /* Add padding-top equal to header height */
}

#hero_background {
    background-color: rgba(0, 0, 0, 0.822);
    padding: 30px;
    border-radius: 15px;
    max-width: 1268px;
    width: 90%;
    margin: 0 auto;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
    text-align: left;
}

.cta-button {
    display: inline-block;
    background-color: #e31b23;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c41820;
}

.service-button {
    margin-top: 10px;
    display: inline-block;
    background-color: #e31b23;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #c41820;
}


footer {
    background-color: black;
    color: white;
    padding: 60px 5%;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-section {
    flex: 1;
    margin-right: 30px;
}

.footer-section h3 {
    color: orange;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: orange;
}

.footer-section a {
    display: inline-block;
    margin-right: 10px;
}

.footer-section img {
    max-width: 100px;
    width: 150px;
    height: auto;
    object-fit: contain;
    margin: 5px;
    vertical-align: middle;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
}

.copyright a {
    color: white;
    text-decoration: none;
}

.copyright a:hover {
    color:orange;
}

@media (max-width: 768px) {
    .flood-advice-content {
        padding: 20px;
    }

    .advice-columns {
        flex-direction: column;
    }

    .advice-column {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        background-color: #333;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        color: white;
    }

    #hero {
        padding-top: 100px; /* Increase padding-top for mobile */
    }

    #hero h1 {
        font-size: 2.5rem; /* Reduce font size for mobile */
    }

    #hero_background {
        padding: 20px;
    }

    .footer-section a {
        margin-right: 5px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
    }
}








/* ---------- New Pages ---------- */
#about {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#services {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#additional-services {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#locations {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#faq {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#contact {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#water-damage-intro {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#fire-damage-intro {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Header ---------- */
.as-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.as-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.as-gold-rule {
    width: 80px;
    height: 4px;
    background: #D4900A;
    margin: 0.5rem auto 0.75rem;
    border-radius: 2px;
}

.as-gold-rule-fullpage {
    width: 100%;
    height: 2px;
    background: #D4900A;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin-bottom: 50px;
    margin-top: 50px;
}

.as-tagline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
}

.as-intro {
    font-size: 0.95rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Body: grid + sidebar ---------- */
.as-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* ---------- 8-card grid ---------- */
#about .as-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

#services .as-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

#additional-services .as-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

#locations .as-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 1.25rem;
}

#water-damage-advice .as-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

#fire-damage-advice .as-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.as-card {
    text-align: center;
}

/* Photo placeholder — replace with real <img> */
#services .as-img-wrap {
    width: 100%;
    height: 300px;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#additional-services .as-img-wrap {
    width: 100%;
    height: 100px;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services .as-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#additional-services .as-img-wrap img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

/* Fallback icon shown when no image is loaded */
.as-img-wrap i {
    font-size: 2.2rem;
    color: #D4900A;
    display: none; /* hide if img loads; you can remove this line to always show icon */
}

/* Small black icon circle below the photo */
.as-icon-wrap {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem;
}

.as-icon-wrap i {
    font-size: 1.1rem;
    color: #D4900A;
}

.as-card h3 {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
}

.as-card p {
    font-size: 0.75rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ---------- Dark sidebar ---------- */
.as-sidebar {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

.as-sidebar-title {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #D4900A;
    line-height: 1.35;
    margin: 0 0 1.5rem;
    letter-spacing: 0.5px;
}

.as-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.as-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.as-sidebar-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-sidebar-icon i {
    font-size: 1.5rem;
    color: #D4900A;
}

.as-sidebar-text h4 {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0 0 0.25rem;
}

.as-sidebar-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Bottom banner ---------- */
.as-footer-banner {
    margin-top: 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.as-banner-left {
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #D4900A;
}

.as-banner-right {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/*Locations Section */
#locations .as-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    width: 80%;
    text-align: left;
}

#locations .as-card h3 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0 0 1rem;
    text-align: left;
}

#locations .as-card p {
    font-size: 0.85rem;
    color: #555;
    margin: 0 0 0.75rem;
    line-height: 1.6;
    text-align: left;
}

#locations .as-card a {
    color: #D4900A;
    text-decoration: none;
}

#locations .as-card a:hover {
    text-decoration: underline;
}

.loc-label {
    font-size: 0.72rem !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a !important;
    margin-bottom: 0.25rem !important;
}

.loc-map {
    margin-top: 1.25rem;
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
}

.loc-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* about us section */
#about .as-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

#about .as-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

#about .as-card p {
    font-size: 0.85rem;
}

#about .as-icon-wrap {
    margin: 0 auto 0.75rem;
}

/* water page */
#water-damage-advice .as-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    width: 90%;
    text-align: left;
    padding-left: 10px;
    margin-top: 10px;
}

#fire-damage-advice .as-card {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    width: 90%;
    text-align: left;
    padding-left: 10px;
    margin-top: 10px;
}

/* contact section */
#contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

input, textarea, button {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
}

button {
    background-color: #e31b23;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #c41820;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 0.75rem;

    background: #f9f9f9;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    position: relative;
}

/* Remove default browser arrow */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

/* Gold chevron on the right */
.faq-item summary::after {
    content: '\f078'; /* fa-chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: #D4900A;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary i {
    font-size: 1rem;
    color: #D4900A;
    width: 20px;
    text-align: center;
}

.faq-item[open] summary {
    border-bottom: 1px solid #e8e8e8;
}

.faq-item p {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

.faq-item:hover summary {
    background: #f0f0f0;
}

#privacy-policy {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.privacy-block {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
}

.privacy-block .as-icon-wrap {
    margin: 0 auto 0.75rem;
}

.privacy-block h3 {
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
    text-align: center;
}

.privacy-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.privacy-block p:last-child {
    margin-bottom: 0;
}

.privacy-block a {
    color: #D4900A;
    text-decoration: none;
}

.privacy-block a:hover {
    text-decoration: underline;
}

.privacy-block strong {
    color: #1a1a1a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .as-body {
        grid-template-columns: 1fr;
    }

    .as-sidebar {
        /* Move sidebar above banner but below grid on smaller screens */
        order: 2;
    }
}

@media (max-width: 768px) {
    .as-header h2 {
        font-size: 1.8rem;
    }

    .as-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #about .as-grid {
        grid-template-columns: 1fr;
    }


    #services .as-grid {
        grid-template-columns: 1fr;
    }

    #additional-services .as-grid {
        grid-template-columns: 1fr;
    }

    #locations .as-grid {
        grid-template-columns: 1fr;
    }


    #water-damage-advice .as-grid {
        grid-template-columns: 1fr;
    }

    #fire-damage-advice .as-grid {
        grid-template-columns: 1fr;
    }

    .as-footer-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

}

@media (max-width: 480px) {
    #additional-services {
        padding: 2rem 1rem;
    }

    .as-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}