/* Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: rgb(196, 201, 195);
    color: #1e1f1e;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    color: #0b3d0b;
    letter-spacing: 0.02em;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1a1a;
    color: white;
    padding: 1.5rem;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2rem;
}
header img {
    max-width: 100%;
    max-height: auto;
    margin-bottom: 1rem;
}
.navbar {
    width: 100%;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25rem 0.25rem;
    margin: 0;
}
.navbar-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: white;
    background-color: black;
    text-decoration: none;
    border: 2px black solid;
    border-radius: 25%;
    line-height: 1.2;
    white-space: normal;
}
.navbar-item:hover {
    background-color: white;
    color: black;
    border-color: gray;
    box-shadow: 0px 4px 5px green;
    border-color: white;
    border-radius: 25%;
}
.nav-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    row-gap: 0.1rem;
    column-gap: 0.5rem;
}
.nav-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 140px;
    max-width: 180px;
}
.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem 1.5rem;
}
a {
    color: green;
    text-decoration: none;
}
a:hover {
    color: darkgreen;
    text-decoration: underline;
    border: 3px, solid black;
    border-radius: 3%;
    box-shadow: 5px 7px 5px rgba(0,0,0,0.5);
}
.section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
    border: 2px solid rgb(0,0,0,0.1);
}
#section-title-p {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}
.services, .gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.services, .gallery, .contact {
    margin-bottom: 3rem;
}
.service-item {
    margin-bottom: 1rem;
    border: 2px, solid black;
    border-radius: 3%;
    box-shadow: 5px 7px 5px rgba(0,0,0,0.6);
    text-align: center;
}
.service-item-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 1%;
}
.service-item-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}
.service-item-image {
    width: 90%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    border-radius: 8px;
}
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#contact-section-title {
    width: 100%;
    text-align: center;
}
footer {
    text-align: center;
    padding: 1.5rem;
    background: #eee;
    margin-top: 3rem;
}

/* ------------------------------- */
/* RESPONSIVE BREAKPOINTS */
/* ------------------------------- */

/* Tablets (Portrait) - ~768px */
@media (min-width: 600px) {
    header h1 {
        font-size: 2.4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (Landscape) & Small Laptops - ~1024px */
@media (min-width: 900px) {
    .services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .service-item h3 {
        margin-top: 0;
    }
}

/* Desktops - 1200px+ */
@media (min-width: 1200px) {
    header h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding: 3rem 2rem;
    }
}
