/* =========================================
   GENERAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background-color: #ffffff;

    border-bottom: 1px solid #e5e5e5;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-content {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.site-header h1 {
    color: #16803c;

    font-size: 1.8rem;

    font-weight: 700;
}

.navigation {
    display: flex;

    gap: 25px;
}

.navigation a {
    color: #333333;

    text-decoration: none;

    font-weight: 600;

    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #16803c;
}


/* =========================================
   HERO SECTION
========================================= */

/*
   Large hero area designed for a future
   background photograph.

   For now, the background is a dark
   green/black color. When you are ready
   to add your photo, change the
   background-image below.
*/

.hero {
    position: relative;

    min-height: 750px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-image:
    linear-gradient(
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0.30)
    ),
    url("images/dragonfly.jpg");

    background-size: cover;
    background-position: center top;
    /*
       FUTURE BACKGROUND IMAGE:

       Replace the line below with:

       background-image:
           linear-gradient(
               rgba(0, 0, 0, 0.35),
               rgba(0, 0, 0, 0.35)
           ),
           url("images/hero.jpg");

       Keep background-size and
       background-position below.
    */

    background-size: cover;

    background-position: center;
}


/*
   Dark overlay over the future image.

   This keeps white text readable.
*/

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.30)
        );

    z-index: 1;
}


/*
   Large gradual fade at the bottom
   of the hero.

   This makes the image slowly disappear
   into the white Team section.
*/

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 220px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.35) 30%,
            rgba(255, 255, 255, 0.75) 65%,
            #ffffff 100%
        );

    z-index: 2;

    pointer-events: none;
}


/*
   Hero content sits above the
   background and overlay.
*/

.hero-content {
    position: relative;

    z-index: 3;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding-bottom: 100px;
}


/* Hero text */

.hero-text {
    max-width: 800px;

    margin: 0 auto;
}


/* Welcome text */

.welcome-text {
    color: #ffffff;

    font-weight: 700;

    letter-spacing: 4px;

    font-size: 0.95rem;

    margin-bottom: 18px;
}


/* Main hero heading */

.hero h2 {
    color: #ffffff;

    font-size: 4rem;

    line-height: 1.1;

    margin-bottom: 35px;

    font-weight: 700;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.25);
}


/*
   Sleek white outlined button.

   Transparent background + white border
   keeps the design clean over the image.
*/

.appointment-button {
    display: inline-block;

    background-color: transparent;

    color: #ffffff;

    border: 2px solid #ffffff;

    padding: 14px 32px;

    border-radius: 4px;

    text-decoration: none;

    font-weight: 600;

    letter-spacing: 0.5px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/*
   When the user hovers over the button,
   it becomes a clean white button.
*/

.appointment-button:hover {
    background-color: #ffffff;

    color: #16803c;

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;

    color: #16803c;

    font-size: 2.2rem;

    margin-bottom: 20px;
}

.section-introduction {
    text-align: center;

    max-width: 650px;

    margin: 0 auto 45px;

    color: #666666;
}


/* =========================================
   THE TEAM SECTION
========================================= */

.about-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: 40px;
}


/* Team image container */

.about-image {
    width: 100%;

    max-width: 650px;

    margin: 0 auto;
}


/* Placeholder before an actual image is added */

.image-placeholder {
    height: 400px;

    width: 100%;

    background-color: #eeeeee;

    border: 2px dashed #bbbbbb;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #777777;

    text-align: center;

    overflow: hidden;
}

.image-placeholder span {
    font-weight: 600;
}


/* Actual Team image */

.about-image img {
    display: block;

    width: 100%;

    height: 400px;

    object-fit: cover;

    /*
       Shows the upper-middle area of
       the team photograph.
    */

    object-position: center 35%;

    border-radius: 8px;
}


/* Team text */

.about-text {
    width: 100%;

    max-width: 750px;

    padding: 30px 0;

    text-align: center;
}

.about-text p {
    color: #555555;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================
   BEFORE & AFTER SECTION
========================================= */

.before-after-section {
    background-color: #f7faf8;
}


/*
   Controls the overall size of the
   Before / After area.
*/

.before-after-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    max-width: 850px;

    margin: 40px auto 0;
}


.before-after-column {
    width: 100%;

    text-align: center;
}


/*
   Two images stacked vertically.
*/

.comparison-images {
    display: flex;

    flex-direction: column;

    gap: 25px;
}


/*
   Controls the size of each image.
*/

.comparison-image {
    width: 100%;

    max-width: 375px;

    margin: 0 auto;
}


/*
   Actual Before / After images.
*/

.comparison-image img {
    display: block;

    width: 100%;

    height: 220px;

    object-fit: contain;

    background-color: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/*
   Slight hover effect on real images.
*/

.comparison-image img:hover {
    transform: translateY(-3px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);
}


/*
   Placeholder styling.
*/

.comparison-placeholder {
    width: 100%;

    height: 220px;

    background-color: #eeeeee;

    border: 2px dashed #bbbbbb;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #777777;

    text-align: center;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.comparison-placeholder:hover {
    transform: translateY(-3px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.10);
}

.comparison-placeholder span {
    font-weight: 600;
}


/* Before / After labels */

.comparison-label {
    color: #16803c;

    font-size: 1.5rem;

    margin-top: 20px;

    text-transform: uppercase;

    letter-spacing: 1px;

    text-align: center;
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    text-align: center;
}

.contact-section > .container > p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #555555;
}

.phone-container {
    margin: 30px auto;

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.phone-label {
    color: #555555;

    font-size: 1.1rem;
}

.phone-number {
    color: #16803c;

    font-size: 2rem;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.phone-number:hover {
    color: #10652f;

    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;

    color: #777777;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background-color: #123d25;

    color: #ffffff;

    text-align: center;

    padding: 40px 0;
}

.site-footer h3 {
    margin-bottom: 10px;

    font-size: 1.4rem;
}

.site-footer p {
    color: #d8e5dc;

    margin-bottom: 10px;
}

.site-footer .copyright {
    margin-top: 20px;

    font-size: 0.85rem;

    color: #b8c9bd;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 700px;
    }

    .hero h2 {
        font-size: 3.4rem;
    }

    .before-after-grid {
        gap: 50px;

        max-width: 750px;
    }

    .comparison-image {
        max-width: 330px;
    }

    .comparison-image img {
        height: 200px;
    }

    .comparison-placeholder {
        height: 200px;
    }

}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 700px) {

    /* Header */

    .header-content {
        flex-direction: column;

        padding: 20px 0;
    }

    .navigation {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .site-header h1 {
        font-size: 1.5rem;

        text-align: center;
    }


    /* Hero */

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-bottom: 80px;
    }

    .hero h2 {
        font-size: 2.8rem;
    }

    .welcome-text {
        font-size: 0.85rem;

        letter-spacing: 3px;
    }

    .appointment-button {
        padding: 13px 26px;
    }


    /* Team */

    .about-content {
        display: flex;

        flex-direction: column;

        gap: 30px;
    }

    .about-image {
        max-width: 550px;
    }

    .about-image img {
        height: 350px;

        object-position: center 35%;
    }

    .image-placeholder {
        height: 350px;
    }


    /* Before & After */

    .before-after-grid {
        grid-template-columns: 1fr;

        gap: 60px;

        max-width: 500px;
    }

    .comparison-image {
        max-width: 400px;
    }

    .comparison-image img {
        height: 240px;
    }

    .comparison-placeholder {
        height: 240px;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 500px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 60px 0;
    }


    /* Hero */

    .hero {
        min-height: 600px;
    }

    .hero h2 {
        font-size: 2.3rem;
    }

    .welcome-text {
        font-size: 0.8rem;

        letter-spacing: 2.5px;
    }

    .appointment-button {
        padding: 12px 24px;
    }


    /* Team */

    .about-image {
        max-width: 100%;
    }

    .about-image img {
        height: 300px;
    }

    .image-placeholder {
        height: 300px;
    }


    /* Before & After */

    .before-after-grid {
        gap: 50px;
    }

    .comparison-image {
        max-width: 100%;
    }

    .comparison-image img {
        height: 200px;
    }

    .comparison-placeholder {
        height: 200px;
    }


    /* Contact */

    .phone-number {
        font-size: 1.6rem;
    }

}