/* General Reset and Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Navigation Styles */
nav {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 10px 0;
}
/* Flip Animation for Images */
.gallery-image {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
/* Hover Effects for Gallery Images */
.gallery-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    margin: 10px;
    cursor: pointer;
    border: 3px solid transparent;
}

.gallery-image:hover {
    transform: scale(1.1);
    opacity: 0.8;
    border-color: #007BFF; /* Highlight border on hover */
}


.gallery-image:hover {
    transform: rotateY(180deg);
    border-color: #007BFF;
}

/* Backface of the image */
.gallery-image::before {
    content: "Explore More";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 123, 255, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s;
    backface-visibility: hidden;
}

.gallery-image:hover::before {
    opacity: 1;
}


nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #556;
}

/* Banner Styles */
header {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    color: white;
    text-align: center;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* Section and Content Styles */
.content-section {
    padding: 20px;
    background: white;
    margin: 20px 10%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.toggle-button {
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.toggle-button:hover {
    background-color: #0055bb;
}

.info-section {
    display: none;
    text-align: center;
}

/* Image Gallery Styles */
.gallery-image {
    width: 100%;
    max-width: 300px;
    margin: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-image.expanded {
    transform: scale(1.5);
}

.activity-gallery, .restaurant-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* Footer Styles */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    .activity-gallery, .restaurant-list {
        flex-direction: column;
        align-items: center;
    }

    .content-section {
        margin: 20px 5%;
    }
}
