:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --dark-color: #111;
    --text-color: #333;
    --border-color: #dee2e6;
    --background-light: #f8f9fa;
    --success-bg: #d1e7dd;
    --success-text: #0f5132;
    --danger-bg: #f8d7da;
    --danger-text: #842029;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    color: var(--text-color); 
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s ease-in-out;
}
.skip-link:focus {
    top: 0;
}

/* --- Header & Navigation --- */
.site-header { 
    background-color: var(--dark-color); 
    color: white; 
    padding: 1rem 0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.main-nav .brand { 
    font-size: 1.5em; 
    font-weight: bold; 
    color: #fff;
    text-decoration: none;
    padding: 0;
}
.main-nav .brand:hover {
    color: #fff;
}

.nav-right-desktop {
    display: none; /* Hidden by default, shown on larger screens */
    align-items: center;
    gap: 1rem;
}

.nav-right-desktop a { 
    color: #fff; 
    text-decoration: none; 
    padding: 8px 10px; 
    transition: color 0.2s ease-in-out;
}

.nav-right-desktop a:hover { 
    color: var(--primary-color);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.98);
    padding: 6rem 2rem 2rem;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.2s ease-in-out;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Main Content --- */
main { 
    padding: 2.5rem 0; 
}

/* --- Buttons & Forms --- */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s, color 0.2s;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-hover-color);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
form input, form select, form textarea, form button {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}
form label {
    font-weight: 500;
    margin-bottom: 0.25rem; /* DÜZELTME: -10px değeri 0.25rem olarak değiştirildi */
}
form button {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}
form button:hover {
    background-color: var(--primary-hover-color);
}

/* --- Alerts --- */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border-color: var(--success-text);
}
.alert-danger {
    background-color: var(--danger-bg);
    color: var(--danger-text);
    border-color: var(--danger-text);
}
.alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

/* --- Footer --- */
.site-footer { 
    background-color: var(--background-light); 
    padding: 2rem 0; 
    margin-top: 2rem; 
    border-top: 1px solid var(--border-color); 
    color: #6c757d;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Responsive Design --- */
@media (min-width: 992px) {
    .nav-right-desktop {
        display: flex;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* --- Fleet Page Styles --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

a.vehicle-card-link {
    text-decoration: none;
    color: inherit;
}

.vehicle-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.vehicle-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--background-light);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-details h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.vehicle-specs {
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    color: #555;
    font-size: 0.9rem;
    flex-grow: 1;
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-specs i {
    color: var(--primary-color);
}

.book-now-btn {
    align-self: flex-start;
}