/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(145deg, #a48f7a, #EFDECD);
    color: white;
    padding: 20px 20px;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

header a {
    margin-right:60px;
    margin-left:60px;
    text-decoration: none;
    color: inherit;
    white-space: pre-line;
    text-decoration-line: solid;
    text-underline-offset:4px;
    transition-duration: 0.15s;
}
header a:hover{
    text-decoration: underline;
    }
.aHeader{
margin-right:0.5rem;
}



/* Navbar */
nav {
    display: flex;
    justify-content: center;
    padding: 5px;
    position: relative;
    z-index: 1;
    font-size: 16px;
}


/* Main Section */
main {
    padding: 50px 20px;
    text-align: center;
    flex: 1;
}

select {
    color:black;
}

main p{
    text-align: left;
}

.classification {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 8px;
    max-width: 800px;
    width:75%;
    margin:50px auto 10px auto;

}

.classification h2 {
    font-size: 2rem;
    color: #7d7f7d;
    margin-bottom: 20px;
}

.classification input,
.classification select {
    width: 50%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 25px 0;
    font-size: 1rem;
    transition: border 0.3s ease;
    text-align: center;
}

.classification input:focus,
.classification select:focus {
    border: 1px solid #796878;
    outline: none;
}

button {
    background-color: #a48f7a;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #796878;
}

img {
    width:50%;
    height:auto;
    border-radius: 5px;
    margin-top:10px;
}

.imgContainer{
    margin-top:10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* About Section */
.about {
    background-color: #796878;
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #796878;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .classification {
        padding: 20px;
    }

    .featured-routes {
        flex-direction: column;
        align-items: center;
    }

    .route {
        width: 90%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.2rem;
    }

    .classification h2 {
        font-size: 1.6rem;
    }

    .route h3 {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.9rem;
    }
}
