* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #1a3a5f;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: #f8c15c;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f8c15c;
}

nav ul li a.active {
    color: #f8c15c;
    font-weight: 700;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/api/placeholder/1200/500');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Gallery Styles */
.gallery-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #1a3a5f;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.gallery-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.category-btn:hover {
    background-color: #ddd;
}

.category-btn.active {
    background-color: #1a3a5f;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 58, 95, 0.8);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    filter: brightness(0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin-top: 50px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s;
}

.modal.show .modal-content {
    opacity: 1;
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #f8c15c;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 50px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.modal-nav button {
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-nav button:hover {
    color: #f8c15c;
}

/* Book Now Button */
.book-now-container {
    text-align: center;
    margin: 50px 0;
}

.book-now-btn {
    display: inline-block;
    background-color: #1a3a5f;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.book-now-btn:hover {
    background-color: #0f2642;
}

/* Footer Styles */
footer {
    background-color: #1a3a5f;
    color: white;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-container h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f8c15c;
}

.footer-container ul {
    list-style: none;
}

.footer-container ul li {
    margin-bottom: 8px;
}

.footer-container ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-container ul li a:hover {
    color: #f8c15c;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    color: #ddd;
    font-size: 0.9rem;
}

/* Animation for gallery items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Loading indicator */
.loading {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    color: #1a3a5f;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    color: #666;
    grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-container {
        position: relative;
        text-align: center;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-item {
        height: 200px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .close-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-nav {
        padding: 0 20px;
    }

    .modal-nav button {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 80%;
        margin: 5px 0;
    }
}