/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

/* Header ve Navigasyon */
header {
    background-color: #000;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #ffd700; /* Altın rengi çizgi */
}

header h1 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
    border-bottom: 1px solid #ffd700;
}

/* Ana İçerik Alanı */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffd700;
}

/* Slider (Animasyonlu Alan) */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 10px;
    background-color: #333;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 80%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.slide-content h3 {
    margin-top: 10px;
    font-size: 2rem;
    color: #ffd700;
}

/* Araç Kartları (Grid Yapısı) */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.car-card {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    background-color: #555; /* Resim yoksa gri görünür */
}

.car-card h3 {
    margin: 15px 0 10px;
    color: #ffd700;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background-color: #e6c200;
}

/* Formlar */
.form-box {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #444;
    border: 1px solid #555;
    color: #fff;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    margin-top: 40px;
    border-top: 1px solid #333;
}