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

body {
    font-family: 'Verdana', sans-serif;
    background-color: #f0f8ff;
    color: #333;
    padding: 0;
    text-align: center;
}

header {
    background-color: #005f73;
    padding: 0;
    background-image: url('path/to/your/boat_image.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

header nav {
    background-color: #005f73; /* Solid deep ocean blue */
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #0a9396;
    border-radius: 5px;
}

main {
    margin-top: 80px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: none;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.5em;
    color: #ee9b00;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

footer {
    background-color: #005f73; /* Solid deep ocean blue to match nav */
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

form label {
    margin-bottom: 5px;
}

form input, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #333;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    background-color: #0a9396;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #94d2bd;
}


.profile-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ccc;
}



@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    main {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
}

/* Rest of your existing CSS */

/* Photo Album Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Consistent grid size */
    gap: 10px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 250px; /* Set a fixed height for gallery items */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container while preserving aspect ratio */
    object-position: center; /* Ensures images are centered */
    transition: transform 0.3s ease;
}

/* Hover effect on images */
.gallery-item:hover img {
    transform: scale(1.1); /* Slight zoom-in effect on hover */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusts for smaller screens */
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Smaller grid for mobile */
    }
}

