/* =========================================
   BASIC SETTINGS
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1120px, 90%);
    margin: auto;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   NAVIGATION
========================================= */

.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid #e8edf2;
}

.nav-container {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .logo {
    font-size: 1.3rem;
    font-weight: 800;
} */

/* Add this when you add logo and remove above */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    font-size: 1.25rem;
    transition: 0.2s;
}

nav a:hover {
    opacity: 0.65;
}

.nav-contact {
    background: #087ea4;
    color: white;

    padding: 12px 20px;

    border-radius: 8px;
}

.menu-button {
    display: none;

    background: none;
    border: none;

    font-size: 1.8rem;

    cursor: pointer;
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-block;

    padding: 15px 25px;

    border-radius: 8px;

    font-weight: bold;
    font-size: 1rem;

    cursor: pointer;

    border: none;

    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary-button {
    background: #087ea4;
    color: white;
}

.secondary-button {
    border: 2px solid white;
    color: white;
}

.outline-button {
    border: 2px solid #087ea4;
    color: #087ea4;
    background: transparent;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 650px;

    
       /* Replace this later with the client's
       pool image.*/

       background:
           linear-gradient(
               rgba(0, 0, 0, 0.45),
               rgba(0, 0, 0, 0.45)
           ),
           url("images/download (8).jpg");

       background-size: cover;
       background-position: center;
    
    /* replace with this background */
    /* background:
        linear-gradient(
            135deg,
            #087ea4,
            #075985
        ); */

    color: white;

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 750px;
}

.eyebrow,
.section-label {
    font-size: 0.8rem;

    font-weight: bold;

    letter-spacing: 2px;

    color: #0ea5c6;

    margin-bottom: 12px;
}

.hero .eyebrow {
    color: white;
}

.hero-description {
    font-size: 1.25rem;

    max-width: 650px;

    margin: 25px 0;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

/* .hero-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
} */


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 100px 0;
}

.alternate-section {
    background: #f5f8fa;
}

.section-intro {
    max-width: 650px;

    color: #667085;

    margin-bottom: 40px;
}


/* =========================================
   SERVICE CARDS
========================================= */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.card {
    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    padding: 30px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-bottom: 15px;
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}


/* =========================================
   GALLERY
========================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.gallery-heading {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.gallery-placeholder {
    height: 300px;

    background: #dce8ed;

    border-radius: 14px;

    display: flex;

    justify-content: center;
    align-items: center;

    color: #667085;

    font-weight: bold;
}

.gallery-grid img {
    width: 100%;

    height: 300px;

    object-fit: cover;

    border-radius: 14px;
}

.gallery-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 60px;
}

.about-highlight {
    background: #f5f8fa;

    padding: 35px;

    border-radius: 14px;
}

.about-highlight h3 {
    margin-bottom: 20px;
}

.about-highlight ul {
    list-style: none;
}

.about-highlight li {
    margin: 15px 0;
}

.about-highlight li::before {
    content: "✓ ";

    color: #087ea4;

    font-weight: bold;
}


/* =========================================
   REVIEWS
========================================= */

.stars {
    color: #f59e0b;

    margin-bottom: 15px;

    letter-spacing: 3px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    text-align: center;
}

.contact-intro {
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.contact-card {
    background: #f5f8fa;

    padding: 30px;

    border-radius: 14px;
}

.contact-card h3 {
    margin-bottom: 15px;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: #111827;

    color: white;

    padding: 60px 0 25px;
}

.footer-content {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}

.footer-business {
    font-size: 1.3rem;
}

.copyright {
    text-align: center;

    margin-top: 50px;

    color: #9ca3af;
}

/* =========================================
   SCROLL REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .menu-button {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 80px;

        left: 0;
        right: 0;

        background: white;

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;

        border-bottom:
            1px solid #e5e7eb;
    }

    nav.active {
        display: flex;
    }

    .card-grid,
    .gallery-grid,
    .about-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 600px;
    }

}