body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9ecef;
}

header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.search-container {
    margin-top: 15px;
}

input[type="text"] {
    padding: 10px;
    width: 300px;
    margin-right: 10px;
    border: 2px solid #fff;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 10px 15px;
    background-color: #ff4757;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e84118;
}

h2 {
    margin-top: 40px;
    text-align: center;
    color: #333;
    font-size: 24px;
}

.destination-list, .route-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding: 0 15px;
}

.destination, .route {
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: calc(25% - 20px); /* 4개 열로 배치 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.destination:hover, .route:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

h3 {
    margin: 15px;
    font-size: 1.3em;
    color: #333;
}

p {
    margin: 15px;
    color: #666;
    line-height: 1.5;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #343a40;
    color: white;
}
