/* =====================================================
   APEX HYDROVAC SERVICES
   COMPLETE WEBSITE STYLES
===================================================== */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: #18232d;
    background: #ffffff;
    line-height: 1.6;
}


a {
    text-decoration: none;
}


.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    background: #071b2d;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navigation {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


.logo {
    color: white;
}


.logo-main {
    font-size: 31px;
    font-weight: 900;
    letter-spacing: 4px;
}


.logo-sub {
    color: #d5aa27;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}


#mainNav {
    display: flex;
    gap: 24px;
}


#mainNav a {
    color: white;
    font-size: 14px;
    font-weight: 700;
}


#mainNav a:hover {
    color: #45a85a;
}


.header-button {
    background: #45a85a;
    color: white;
    padding: 13px 20px;
    font-size: 12px;
    font-weight: 900;
}


.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 680px;

    background:
        linear-gradient(
            rgba(7,27,45,0.82),
            rgba(7,27,45,0.82)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}


.hero-content {
    color: white;
}


.hero-text {
    max-width: 820px;
}


.eyebrow,
.section-label {
    color: #d5aa27;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}


.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    margin: 20px 0;
    font-weight: 900;
}


.hero h1 span {
    display: block;
    color: #45a85a;
}


.hero p {
    max-width: 720px;
    font-size: 19px;
    color: #e0e6ea;
    margin-bottom: 32px;
}


.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =====================================================
   BUTTONS
===================================================== */

.button {
    display: inline-block;
    padding: 15px 24px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
    border: 2px solid transparent;
    transition: 0.3s;
}


.primary {
    background: #45a85a;
    color: white;
}


.primary:hover {
    background: #358b48;
    transform: translateY(-2px);
}


.whatsapp {
    background: #25D366;
    color: white;
}


.whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}


/* =====================================================
   QUICK BAR
===================================================== */

.quick-bar {
    background: #d5aa27;
}


.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}


.quick-grid div {
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid rgba(0,0,0,0.15);
}


.quick-grid strong,
.quick-grid span {
    display: block;
}


.quick-grid strong {
    font-size: 14px;
}


.quick-grid span {
    font-size: 12px;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 100px 0;
}


.section-heading {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 55px;
}


.section-heading h2,
.content h2,
.contact-information h3 {
    color: #071b2d;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin: 12px 0 18px;
}


.section-heading p {
    color: #68747d;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: #f5f7f8;
}


.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


.photo-placeholder {
    min-height: 480px;

    background:
        linear-gradient(
            135deg,
            #071b2d,
            #153d58
        );

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}


.photo-placeholder strong {
    display: block;
    font-size: 35px;
    letter-spacing: 3px;
}


.photo-placeholder small {
    color: #d5aa27;
}


.content p {
    color: #65717a;
    margin-bottom: 18px;
}


.check-list {
    list-style: none;
    margin: 25px 0;
}


.check-list li {
    margin: 10px 0;
    font-weight: 700;
}


.check-list li::before {
    content: "✓";
    color: #45a85a;
    margin-right: 10px;
}


.text-button {
    color: #45a85a;
    font-weight: 900;
}


/* =====================================================
   SERVICES
===================================================== */

.services {
    background: white;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.service-card {
    background: #f5f7f8;
    padding: 35px;
    border-top: 4px solid #071b2d;
    transition: 0.3s;
}


.service-card:hover {
    transform: translateY(-6px);
    border-top-color: #45a85a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}


.service-card > span {
    color: #d5aa27;
    font-weight: 900;
}


.service-card h3 {
    color: #071b2d;
    font-size: 21px;
    margin: 15px 0;
}


.service-card p {
    color: #66717b;
    font-size: 14px;
    margin-bottom: 20px;
}


.service-card a {
    color: #45a85a;
    font-size: 12px;
    font-weight: 900;
}


/* =====================================================
   CONTRACTOR SECTION
===================================================== */

.contractor-section {
    background: #071b2d;
    color: white;
    padding: 80px 0;
}


.contractor-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


.contractor-content h2 {
    color: white;
    font-size: 42px;
    margin: 12px 0;
}


.contractor-content p {
    color: #c7d0d6;
}


/* =====================================================
   SAFETY
===================================================== */

.safety {
    background: #f5f7f8;
}


.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.safety-card {
    background: white;
    padding: 40px;
    border-bottom: 4px solid #45a85a;
}


.safety-card > span {
    color: #d5aa27;
    font-weight: 900;
}


.safety-card h3 {
    color: #071b2d;
    margin: 15px 0 10px;
}


.safety-card p {
    color: #66717b;
}


/* =====================================================
   AREAS
===================================================== */

.areas {
    background: #071b2d;
    color: white;
}


.areas-content {
    text-align: center;
    max-width: 850px;
}


.areas h2 {
    color: white;
    font-size: 48px;
    margin: 12px 0;
}


.areas p {
    color: #c9d1d7;
    margin-bottom: 30px;
}


.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}


.area-list span {
    border: 1px solid #d5aa27;
    padding: 9px 15px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: #f5f7f8;
}


.contact-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}


/* =====================================================
   CONTACT INFORMATION
===================================================== */

.contact-information {
    background: #071b2d;
    color: white;
    padding: 50px 42px;
}


.contact-information h3 {
    color: white;
    font-size: 34px;
}


.contact-information > p {
    color: #c7d0d6;
    margin-bottom: 30px;
}


.contact-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}


.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #45a85a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}


.contact-item small {
    display: block;
    color: #d5aa27;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.contact-item strong {
    display: block;
    color: white;
    margin-top: 5px;
}


.contact-link {
    display: block;
    color: #45a85a;
    font-size: 11px;
    font-weight: 900;
    margin-top: 8px;
}


.contact-link:hover {
    color: #d5aa27;
}


.contact-item em {
    display: block;
    color: #84939e;
    font-size: 11px;
    margin-top: 8px;
}


.contact-services {
    margin-top: 30px;
}


.contact-services h4 {
    color: #d5aa27;
    margin-bottom: 10px;
}


.contact-services p {
    color: #c7d0d6;
    line-height: 2;
}


/* =====================================================
   QUOTE FORM
===================================================== */

.quote-form {
    background: white;
    padding: 50px 42px;
}


.form-heading h3 {
    color: #071b2d;
    font-size: 32px;
    margin: 8px 0;
}


.form-heading p {
    color: #66717b;
    margin-bottom: 30px;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


.form-group {
    margin-bottom: 18px;
}


.form-group label {
    display: block;
    color: #071b2d;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d4dadd;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #45a85a;
}


.form-group textarea {
    resize: vertical;
}


.submit-button {
    width: 100%;
    border: none;
    cursor: pointer;
}


#formMessage {
    margin-top: 15px;
    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #04111d;
    color: white;
    padding-top: 65px;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
    gap: 40px;
    padding-bottom: 55px;
}


.footer-logo {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: 4px;
}


.footer-title {
    color: #d5aa27;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}


.footer-grid h4 {
    color: #d5aa27;
    margin-bottom: 15px;
}


.footer-grid p,
.footer-grid a {
    color: #aeb9c0;
    font-size: 14px;
}


.footer-grid a {
    display: block;
    margin: 8px 0;
}


.footer-grid a:hover {
    color: #45a85a;
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    color: #84929c;
    font-size: 12px;
}


/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;

    width: 60px;
    height: 60px;

    background: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    z-index: 999;
}


.floating-whatsapp:hover {
    transform: scale(1.08);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 950px) {

    #mainNav {
        gap: 12px;
    }

    .header-button {
        display: none;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .navigation {
        min-height: 70px;
    }


    .menu-button {
        display: block;
        cursor: pointer;
    }


    #mainNav {
        display: none;

        position: absolute;
        top: 70px;
        left: 0;

        width: 100%;

        background: #071b2d;

        padding: 20px;

        flex-direction: column;
    }


    #mainNav.active {
        display: flex;
    }


    .hero {
        min-height: 600px;
    }


    .hero h1 {
        font-size: 43px;
    }


    .hero p {
        font-size: 16px;
    }


    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .service-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }


    .section {
        padding: 70px 0;
    }


    .photo-placeholder {
        min-height: 350px;
    }


    .contractor-content {
        flex-direction: column;
        align-items: flex-start;
    }


    .contractor-content h2 {
        font-size: 34px;
    }


    .contact-information,
    .quote-form {
        padding: 35px 25px;
    }

}

.hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .hero-image img {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .hero-image img {
        height: 280px;
    }
}

/* =========================================
   APEX HERO - FINAL VERSION
========================================= */

.hero {
    background: #eef2f5;
    padding: 80px 0;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #d5aa27;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-text h1 {
    color: #071b2d;
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 25px;
    font-weight: 900;
}

.hero-text h1 span {
    display: block;
    color: #45a85a;
}

.hero-text p {
    color: #394b59;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 16px 25px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.button.primary {
    background: #45a85a;
    color: #ffffff;
}

.button.primary:hover {
    background: #328843;
    transform: translateY(-2px);
}

.button.whatsapp {
    background: #45a85a;
    color: #ffffff;
}

.button.whatsapp:hover {
    background: #328843;
    transform: translateY(-2px);
}


/* =========================================
   HERO PHOTO
========================================= */

.hero-photo {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.hero-photo img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}


/* =========================================
   ABOUT IMAGE
========================================= */

.about-image {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .hero {
        padding: 60px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-photo img {
        height: 400px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .hero {
        padding: 45px 20px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-photo img {
        height: 280px;
    }

    .about-image img {
        height: 300px;
    }

    .button {
        width: 100%;
        text-align: center;
    }

}/* =========================================
   FINAL APEX LAYOUT FIX
========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   HERO
========================================= */

.hero {
    width: 100%;
    padding: 75px 0;
    overflow: hidden;
}

.hero-inner {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px;
    align-items: center;
}

.hero-text {
    min-width: 0;
}

.hero-text h1 {
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.05;
    margin: 0 0 25px;
    word-wrap: break-word;
}

.hero-text p {
    max-width: 600px;
}

.hero-photo {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 15px;
}

.hero-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


/* =========================================
   ABOUT SECTION
========================================= */

.two-column {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.content {
    min-width: 0;
}


/* =========================================
   HEADER
========================================= */

header {
    width: 100%;
    overflow: hidden;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .hero-inner,
    .two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-photo {
        max-width: 700px;
        margin: 0 auto;
    }

    .about-image {
        max-width: 700px;
        margin: 0 auto;
    }
}


@media (max-width: 600px) {

    .container,
    .hero-inner,
    .two-column {
        width: 90%;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 35px;
    }

    .hero-photo img {
        height: 300px;
    }

    .about-image img {
        height: 300px;
    }

    .logo img {
        width: 135px;
    }
}/* FINAL HERO TEXT SIZE FIX */

.hero-text {
    max-width: 620px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.08;
    max-width: 600px;
}

.hero-text p {
    max-width: 580px;
}

@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 42px;
    }
}
