.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
}

.navbar-nav {
    margin: 0 auto;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link.active,
.nav-link:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
}

#home {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('images/hero.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#notHome {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('images/bikerace.jpg') no-repeat center center/cover;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#home h1 {
    font-size: 3rem;
    font-weight: 800;
}

#home p.lead {
    font-size: 1.25rem;
    color: #ccc;
}

#home .btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 2rem 1rem;
}

footer {
    background-color: #000;
    color: #fff;
}

.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);
    padding: 10px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

form {
    display: flex;
    flex-direction: column;
}

input,
textarea {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    font-size: 16px;
    width: 25%;
}

button[type="submit"]:hover {
    background-color: #218838;
}

#toast {
    z-index: 1000;
    visibility: hidden;
    min-width: 250px;
    background-color: #10a43a;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease;
}