/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Fontu tüm elementlere yayıyoruz */
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #0f0f0f;
    /* Dark mode tercihinle uyumlu */
    color: #ffffff;
    line-height: 1.6;
}

/* Başlıklar için daha güçlü bir ağırlık (Bold) */
h1,
h2,
h3,
.brand-name {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Menü ve Butonlar için orta ağırlık (Medium) */
nav ul li a,
.btn-reservation,
.btn-search {
    font-weight: 500;
}

/* Açıklama metinleri için daha zarif bir ağırlık (Light) */
.footer-desc,
.contact-hero p {
    font-weight: 300;
}


/* Sabit Menü */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 5px solid #DC0807;
}

/* 1. Logo linkinin genel rengini beyaza sabitleyelim */
.logo a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
    /* Tüm yazıyı beyaz yapar */
}

/* 2. Brendon ve Rent a Car yazılarını beyaz yapalım */
.brand-name,
.sub-brand {
    color: #FFFFFF !important;
    display: block;
}

/* 3. Sadece span içindeki harfleri kırmızıya boyayalım */
/* Bu kural diğer her şeyi ezecek kadar spesifiktir */
.logo a span span,
.logo a .brand-name span,
.logo a .sub-brand span {
    color: #DC0807 !important;
}

/* Yazı boyutlarını projenize göre buradan sabitleyebilirsiniz */
.brand-name {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.sub-brand {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-top: 2px;
}

/* Navigasyon */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #DC0807;
}

/* Kırmızı Buton Sınıfı */
.btn-reservation {
    background-color: #DC0807;
    padding: 10px 20px;
    border-radius: 5px;
    color: #FFFFFF !important;
}

.btn-reservation:hover {
    background-color: #FFFFFF;
    color: #000000 !important;
}

/* Hero & Diğer Alanlar */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('resim/kapak.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}

.btn-main {
    padding: 15px 30px;
    background-color: #DC0807;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

/* Harita kapsayıcısının genişliğini kısıtlayalım */
.google-map {
    margin-top: 15px;
    max-width: 450px;
    /* Haritanın yayılmasını engelleyen kritik satır */
    width: 100%;
    /* Mobilde ekranı kaplaması için */
}

/* iframe'in köşelerini ve yüksekliğini sabitleyelim */
.google-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #ddd;
    /* İsteğe bağlı: Haritaya ince bir çerçeve */
}

/* Yol tarifi butonunu haritayla aynı genişlikte tutalım */
.map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #DC0807;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.contact-item .icon {
    font-size: 24px;
    /* İkon boyutu */
    color: #000000;
    /* Brendon Kırmızısı */
    width: 50px;
    /* İkon alanı genişliği */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sosyal Medya İkonları İçin (Alt kısımdakiler) */
.social-links a {
    font-size: 20px;
    color: #000000;
    margin-right: 15px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #DC0807;
}

/* Araç Kartları Genel Alanı */
.vehicles-container {
    padding: 50px 5%;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #000000;
}

/* Grid Yapısı (Yan yana dizilim) */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Kart Tasarımı */
.vehicle-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.vehicle-card:hover {
    transform: translateY(-10px);
}

.vehicle-image {
    position: relative;
    height: 400px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #DC0807;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.vehicle-details {
    padding: 20px;
}

.vehicle-details h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #111111
}

/* Özellik İkonları */
.specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.specs i {
    color: #DC0807;
    margin-right: 5px;
}

/* Fiyat ve Buton Alanı */
.price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.period {
    color: #888;
    font-size: 0.8rem;
}

.btn-book {
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-book:hover {
    background: #DC0807;
}



/* Üyelik Sayfası Genel Arka Planı */
.login-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('resim/kapak2.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    gap: 40px;
    flex-wrap: wrap;
    /* Mobilde alt alta gelmesi için */
}

/* Form Kutusu (Glassmorphism) */
.form-box {
    position: relative;
    width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.form-box:hover {
    border-color: #DC0807;
    transform: translateY(-5px);
}

.form-box h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Modern İnput Grubu */
.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #fff;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    transition: .5s;
}

/* İnputa tıklandığında veya doluyken etiketin yukarı kayması */
.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #fff;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2rem;
    line-height: 57px;
    color: #fff;
}

/* Beni Hatırla & Şifremi Unuttum */
.remember-forgot {
    font-size: .9rem;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #DC0807;
    margin-right: 3px;
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
    color: #DC0807;
}

/* Buton Düzenlemesi */
.form-box .btn-main {
    width: 100%;
    height: 45px;
    background: #DC0807;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.form-box .btn-main:hover {
    background: #fff;
    color: #000;
}

.news-section {
    padding: 80px 5%;
    background-color: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #DC0807;
    /* Yeni Kırmızı */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #DC0807;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

.news-content {
    padding: 25px;
}

.category {
    color: #DC0807;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-content h3 {
    margin: 10px 0;
    font-size: 1.25rem;
    color: #111;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #DC0807;
}

/* Rezervasyon Sayfası Arka Planı */
.rez-page-body {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('resim/kapak2.png') no-repeat center center/cover fixed;
}

.rezervasyon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    padding: 100px 5%;
}

/* Form Kutusu (Glassmorphism) */
.rezervasyon-left {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 30px;
    max-width: 800px;
    width: 100%;
    color: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.rezervasyon-left h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.rezervasyon-left p {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Form Satır Düzeni */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    /* Başlıklar Yeni Kırmızı */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* İnput ve Select Modernizasyonu */
.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #DC0807;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(220, 8, 7, 0.2);
}

/* Select kutusu içindeki seçeneklerin arka planı */
select option {
    background: #111;
    color: #fff;
}

/* Rezervasyon Butonu */
.btn-search {
    width: 100%;
    padding: 18px;
    background: #DC0807;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-search:hover {
    background: #fff;
    color: #000000;
    transform: scale(1.02);
}

/* Rezervasyon Uyarı Metni */
.reservation-warning {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #cccccc;
    text-align: center;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .rezervasyon-left {
        padding: 30px 20px;
    }
}

/* Footer Genel Alanı */
.main-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 70px 5% 20px;
    border-top: 3px solid #DC0807;
    /* Üstteki ince kırmızı çizgi */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-desc {
    color: #888;
    line-height: 1.6;
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Başlık Altındaki Küçük Kırmızı Çizgi */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #DC0807;
}

/* Liste Linkleri */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #DC0807;
    padding-left: 5px;
}

/* İletişim İkonları */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
}

.contact-list i {
    color: #ffff;
}

/* Sosyal Medya İkonları */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* Telif Hakkı Barı */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #888;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* --- MOBIL UYUMLULUK AYARLARI --- */

@media (max-width: 768px) {



    .navbar {
        padding: 15px 5%;
        flex-direction: column;
        /* Logoyu ve menüyü alt alta getirir */
        gap: 15px;
    }

    .navbar nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar nav ul li a {
        font-size: 0.9rem;
    }

    /* 2. Ana Sayfa Kare Haber Kartları */
    .news-grid {
        grid-template-columns: 1fr;
        /* Mobilde kartlar tek sütun olur */
        padding: 0 10px;
    }

    /* 3. Araç Kartları (Araçlarımız Sayfası) */
    .vehicle-grid {
        grid-template-columns: 1fr;
        /* Mobilde araçlar tek tek listelenir */
    }

    /* 4. Rezervasyon Formu */
    .rezervasyon-left {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .form-row {
        flex-direction: column;
        /* Giriş alanları alt alta gelir */
        gap: 15px;
    }

    /* 5. Üyelik Sayfası (Giriş & Kaydol) */
    .login-section {
        flex-direction: column;
        /* Formlar alt alta dizilir */
        padding-top: 120px;
    }

    .form-box {
        width: 100%;
        /* Form genişliği ekranı kaplar */
        max-width: 350px;
    }

    /* 6. Yazı Boyutları */
    h2 {
        font-size: 1.8rem !important;
    }
}

/* Küçük Telefonlar İçin Ekstra Ayar (480px altı) */
@media (max-width: 480px) {
    .brand-name {
        font-size: 1.2rem;
    }

    .btn-reservation {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Sayfanın tamamını flex yaparak içeriği yayıyoruz */
html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* Ana içerik alanına esneklik veriyoruz */
/* Bu sayede footer'ı sayfanın en dibine itecek */
header,
.vehicles-container {
    flex-shrink: 0;
}

.vehicles-container {
    flex: 1 0 auto;
    /* Bu satır sihirli dokunuştur, boşluğu doldurur */
    padding-bottom: 50px;
    /* Footer ile içerik arasında nefes payı */
}

.main-footer {
    flex-shrink: 0;
}

/* İletişim Sayfası Özel Stilleri */
.contact-page-wrapper {
    /* Senin paylaştığın login-section yapısı */
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('resim/kapak2.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column; /* Başlığı üstte tutmak için */
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    gap: 40px;
}

/* Başlık ve açıklama kısmı için */
.contact-hero {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700; /* Roboto Bold */
    margin-bottom: 10px;
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Form daha geniş, bilgiler daha dar */
    gap: 30px;
    align-items: start;
}

.contact-form-card textarea {
    /* Buradaki pixel değerini soldaki kutunun boyuna göre (mesela 350px - 450px arası) ayarlayabilirsin */
    height: 265px;

    /* Kullanıcının sağ alt köşeden tutup kutuyu küçülterek tasarımı bozmasını engeller */
    resize: none;
}

.contact-form-card h3 {
    /* Başlığı yukarı taşımak için altındaki boşluğu artırıyoruz */
    margin-bottom: 25px; 
    
    /* İstersen başlığın kendisine biraz üst boşluk da verebilirsin */
    margin-top: 5px; 
    
    /* Yazı tipini daha belirgin yapmak için Roboto Medium kullanabilirsin */
    font-weight: 500;
    font-size: 1.5rem;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.info-card i {
    font-size: 1.5rem;
    color: #DC0807;
    /* Senin belirlediğin marka kırmızısı */
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.input-group input:focus {
    border-color: #DC0807;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
    }
}