/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9f9f9;
    color: #333;
}

/* Navbar */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 1rem 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    margin-bottom: 2rem; /* Navbar altına boşluk */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.brand a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand i {
    font-size: 2rem;
}

.navbar nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar nav ul li a {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #007bff;
}

/* Giriş Butonları */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons .btn-auth {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, border-radius 0.5s ease;
}

.auth-buttons .btn-auth:hover {
    background-color: #0056b3;
    border-radius: 20px;
}

/* Ana Container */
.content-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    flex: 1;
    margin: 8rem auto 2rem auto;
    gap: 2rem;
    padding: 2rem 0;
}

/* Etkinlik Bilgileri Container */
.event-details-container {
    flex: 1;
    padding: 2rem;
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.event-details-container h2 {
    color: #007bff;
    margin-bottom: 1rem;
}

.event-details-container p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Katıl Butonu */
.btn-join {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-join:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Harita ve Rota Önerileri Container */
.map-and-routes-container {
    flex: 1;
    padding: 2rem;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.map-and-routes-container h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-top: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Rota Önerileri Listesi */
.route-suggestions {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Rota Oluştur Butonu */
.btn-route {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 1rem;
    text-align: center;
}

.btn-route:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Footer */
.footer {
    width: 100%;
    background-color: #f0f4f8;
    color: #333;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.footer-bottom {
    font-size: 0.8rem;
    margin-top: 1.5rem;
    color: #777;
}
