/* General Styles */

body {
    margin: 0;
    font-family: "Playfair Display", "Bookman Old Style", serif;
    text-align: center;
}

header {
    position: relative;
    background: url('images/Pastel-flowers.jpg') no-repeat center center/cover;
    color: black;
    padding: 40px 5%;
    font-size: 2em;
    text-align: center;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
}


/* Softens transition between header and .feature-columns-container */

header::after {
    content: "";
    position: absolute;
    bottom: -30px;
    /* Extends shadow into the next section */
    left: 0;
    width: 100%;
    height: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left-aligns content */
    gap: 20px;
    /* Adds spacing between logo and text */
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    /* Keeps it from getting too wide */
    margin: 0 auto;
    /* Ensures it's centered within the header */
    white-space: nowrap;
    /* Prevents title & subtitle from breaking */
}

.header-top img {
    border: 3px solid black;
    border-radius: 5px;
    /* Softens corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    /* Adds a shadow around the image */
}

.header-title {
    display: flex;
    align-items: baseline;
    /* Keeps text aligned properly */
    gap: 10px;
    /* Spacing between words */
    font-weight: normal;
    white-space: nowrap;
    margin: 0;
    font-size: inherit;
}

h1.header-title {
    font-size: inherit;
    font-weight: inherit;
}


/* Responsive adjustments for smaller screens */

@media (max-width: 768px) {
    .header-title {
        flex-direction: column;
        /* Stacks the title and subtitle */
        align-items: center;
        /* Centers the text */
        white-space: normal;
        /* Allows wrapping */
    }
    .title,
    .subtitle {
        font-size: 2em;
        /* Reduce font size for mobile */
        text-align: center;
        /* Ensures centered text on mobile */
    }
    .header-top {
        flex-direction: column;
        /* Stack logo and title for better mobile display */
        text-align: center;
    }
    .header-top img {
        width: 80px;
        /* Make the logo smaller */
        margin-bottom: 10px;
        /* Add spacing */
    }
}

.header-top img {
    width: 100px;
    height: auto;
}

.title {
    font-size: 2.5em;
}

.subtitle {
    font-size: 2em;
    opacity: 0.9;
}

.llc {
    font-size: 1em;
}

.header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 80%;
    margin: 20px auto 0 auto;
    /* Centers below the header-top */
}

.description,
.service-area,
.header-contact-text {
    font-size: 1em;
    opacity: 0.9;
}

.header-contact-phone {
    font-size: 1em;
    font-weight: bold;
    opacity: 0.9;
}

.feature-columns-container {
    background-color: black;
    display: flex;
    justify-content: center;
}

.feature-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 80px;
    /* Increase spacing between columns */
    max-width: 900px;
    /* Set a specific width to center properly */
    width: 100%;
    /* Ensure it doesn’t shrink too much */
}

.feature-text {
    margin: 7px 0;
    font-size: 1.5em;
    font-weight: 300;
    color: #C5C5C5;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
}


/* Responsive Image Gallery */

.image-gallery {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 5%;
    flex-wrap: wrap;
    text-align: center;
    background-color: black;
}

.image-gallery p {
    margin: 7px 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #C5C5C5;
}


/* Image Items */

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    max-width: 300px;
    min-width: 150px;
}

.image-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.uses-container {
    display: flex;
    justify-content: center;
    margin: 0;
    background-color: black;
    position: relative;
    /* Needed for absolute positioning of shadow */
    padding: 20px 0;
    /* Ensure padding for visual spacing */
}


/* Softens transition between .uses-container and .contact-area */

.uses-container::after {
    content: "";
    position: absolute;
    bottom: 5px;
    /* Extends shadow into .contact-area */
    left: 0;
    width: 100%;
    height: 30px;
    /* Adjust thickness of shadow */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.uses-text {
    font-size: 1.5em;
    font-weight: 300;
    color: #C5C5C5;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    margin: 0/* Remove unnecessary margin */
}

.uses-container p {
    margin: 10px 0;
    /* Ensure there's no large gap between paragraphs */
}

.contact-area {
    position: relative;
    background: url('images/Pastel-flowers.jpg') no-repeat center center/cover;
    color: black;
    font-size: 2.5em;
    text-align: center;
    overflow: hidden;
    padding: 10px;
}

.contact-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
}


/* Softens the transition between contact-area and footer */

.contact-area::after {
    content: "";
    position: absolute;
    bottom: -30px;
    /* Extends shadow into the footer */
    left: 0;
    width: 100%;
    height: 30px;
    /* Adjust thickness of shadow */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
    z-index: 2;
}

.contact-area p {
    position: relative;
    z-index: 2;
}

.contact-area h1 {
    font-size: 1.5em;
    font-style: italic;
}

.contact-area p {
    font-style: normal;
}


/* Footer */

footer {
    text-align: center;
    padding: 1px;
    background-color: white;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    /* Keeps it looking good on large screens */
    margin: 0 auto;
    /* Centers the footer content */
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    font-size: 1em;
    white-space: nowrap;
    /* Prevents text from wrapping */
}