body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2em 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

section {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 0.5em;
}

h3 {
    color: #34495e;
    font-size: 1.5em;
}

.parks-container {
    display: flex;
    align-items: center;
    position: relative;
}

.parks-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1em;
    padding: 1em;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.park {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    border-radius: 5px;
}

.park img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.scroll-left, .scroll-right {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 0.5em;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 5px;
}

.scroll-left:hover, .scroll-right:hover {
    background-color: #34495e;
}

.tours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
}

.tour {
    background-color: white;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.tour img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.explore-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1em;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.explore-button:hover {
    background-color: #34495e;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

.close-button:hover {
    color: #000;
}

.tour-plan {
    display: block;
    padding-left: 20px;
    list-style: disc;
    margin: 10px 0;
    line-height: 1.5;
}

.tour-plan li {
    margin-bottom: 10px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
}

.gallery-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav ul li {
        display: block;
        margin: 0.5em 0;
    }

    .parks-list {
        flex-direction: row;
    }

    .park {
        width: 150px;
    }

    .modal-content {
        width: 90%;
    }
}