body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

header {
    background-color: #222;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #ff0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #ff0;
}

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

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

#hero {
    text-align: center;
    padding: 100px 20px;
    background: url('https://images.unsplash.com/photo-1530706344228-b143ddd95043?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MTc3Nzk3MjV8&ixlib=rb-4.0.3&q=80&w=400') no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
    z-index: 1;
    background-attachment: fixed;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

#hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2em;
}

#rides, #services, #contact {
    padding: 20px 0px;
    text-align: center;
}

#rides h2, #services h2, #contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ff0;
}

#rides {
    background-color: #111;
}

.gallery-wrapper {
    width: 90%;
    overflow-x: auto;
    white-space: nowrap;
    border: 5px solid #ff0;
    border-radius: 15px;
    background-color: #111;
    box-shadow: 0 4px 20px rgba(255, 255, 0, 0.6);
    padding: 10px;
    scroll-behavior: smooth;
    margin: 0 auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.gallery-wrapper::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.gallery {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.gallery:hover {
    animation-play-state: paused;
}

.gallery img {
    width: 200px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    filter: brightness(0.8) contrast(1.2);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 16px rgba(255, 255, 0, 0.8);
    filter: brightness(1.2) contrast(1.4);
}

#services {
    background-color: #222;
    color: #fff;
}

#services ul {
    list-style: none;
    padding: 0;
}

#services ul li {
    margin: 10px 0;
    font-size: 1em;
}

#contact {
    background-color: #111;
    color: #fff;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact form label {
    margin: 10px 0 5px;
}

#contact form input, #contact form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

#contact form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff0;
    color: #000;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #ffc700;
}

footer {
    background-color: #222;
    text-align: center;
    padding: 20px;
    border-top: 3px solid #ff0;
}

footer p {
    margin: 0;
    color: #fff;
}

#back-to-top {
    position: fixed;
    bottom: 15%;
    right: 20px;
    padding: 10px 15px;
    background-color: #ff0;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: #ffc700;
    transform: scale(1.1);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: left;
}

.popup-content img {
    width: 100%;
    border-radius: 10px;
}

.popup-content h3 {
    margin-top: 0;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    color: #000;
}
#booking {
    padding: 40px 20px;
    text-align: center;
    background-color: #222;
    color: #fff;
}

#booking form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#booking form label {
    margin: 10px 0 5px;
}

#booking form input, #booking form select {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

#booking form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff0;
    color: #000;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#booking form button:hover {
    background-color: #ffc700;
}