/* General styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #2E3B4E; /* Dark grey-blue */
    color: white;
    padding: 20px;
    text-align: left; /* Align text to the left for better space utilization */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Spread items across the width */
}

header img.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

header .header-text {
    margin-left: 20px;
    flex-grow: 1; /* Allow the text to grow and utilize space */
}

header h1 {
    margin: 5px 0; /* Reduce margin to make text more compact */
    font-size: 20px; /* Adjust the size as needed */
}

header h2 {
    margin: 5px 0; /* Reduce margin to make text more compact */
    font-size: 10px; /* Adjust the size as needed */
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Flex layout for even spacing */
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}

header nav ul li a:hover {
    background-color: #444;
}

/* Section styling */
section h3 {
    font-size: 24px;
    color: #2E3B4E; /* Same dark grey-blue color for section headers */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2E3B4E; /* Footer matching the header */
    color: white;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    header {
        flex-direction: column; /* Stack items vertically on smaller screens */
        text-align: center;
    }

    header img.profile-photo {
        width: 100px;
        height: 100px;
    }

    header .header-text {
        margin-left: 0;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .container {
        padding: 10px;
    }

    iframe {
        width: 100%;
        height: 500px;
    }
}

@media only screen and (max-width: 480px) {
    iframe {
        height: 600px;
    }
}

/* Styling for Photography page */
.photo-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.photo-item {
    text-align: center;
}

.photo-item img {
    width: 220px; /* Control image width */
    height: 220px; /* Control image height */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.photo-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #2E3B4E;
}

/* Responsive adjustments for smaller screens */
@media only screen and (max-width: 768px) {
    .photo-item img {
        width: 180px;
        height: 180px;
    }
}

@media only screen and (max-width: 480px) {
    .photo-gallery {
        flex-direction: column; /* Stack images vertically on small screens */
        align-items: center;
    }

    .photo-item img {
        width: 150px;
        height: 150px;
    }
}

