/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container to centralize content */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Base body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: #333;
    color: #fff;
}

header h1 {
    text-align: center;
    padding: 1rem 0;
}

header nav ul {
    list-style: none;
    text-align: center;
    padding-bottom: 1rem;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Main section styling */
main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

section h2 {
    margin-bottom: 10px;
    text-align: center;
}

section p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Responsive image styling */
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

/* Gallery styling */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: calc(33.333% - 10px); /* Three images per row */
}

/* Photography Services Section */
#services {
    padding: 40px 0;
    background-color: #fff;  /* Or another color that suits your overall design */
    text-align: center;
}

#services h2 {
    margin-bottom: 30px;
    font-size: 2em;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service {
    flex: 1 1 300px;
    max-width: 450px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    text-align: left;
}

.service h3 {
    margin-bottom: 15px;
    color: #333;
}

.service p {
    line-height: 1.6;
}

.inquiry {
    margin-top: 30px;
    font-size: 1.1em;
    color: #555;
}


/* Container for the about section to allow side-by-side layout */
.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;  /* Align items at the top */
    gap: 20px;
}

/* The image container: it takes up about one-third or a fixed base while remaining flexible */
.about-image {
    flex: 1 1 300px;
}

/* Ensure the about image fits within its container */
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;  /* Optional: adds a subtle rounded effect */
}

/* The text container: takes up more space compared to the image */
.about-text {
    flex: 2 1 300px;
    text-align: justify;
    line-height: 1.6;
}

/* Optional: adjust padding/margins for better spacing on small screens */
@media (max-width: 600px) {
    .about-container {
        flex-direction: column;
    }
}


/* Footer styling */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
}
