@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800;900&family=Bebas+Neue&display=swap');

:root {
  --bg-color: #030305;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent-cyan: #00f0ff;
  --accent-blue: #0066ff;
  --accent-orange: #ff5500;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  color-scheme: dark;
}

select option {
  background-color: #111;
  color: white;
}

h1, h2, h3, h4, .logo, .outfit {
  font-family: 'Outfit', sans-serif;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 3, 5, 0.6);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(45deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 95px; /* Devasa boyut */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  margin-top: -5px; /* Yukarı-aşağı hizalamayı düzeltmek için */
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem;
  }
  .logo img {
    height: 65px; /* Mobilde de artık büyük görünecek */
    margin-top: -3px;
  }
}

.logo span {
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.4);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: 0.5s;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-glow {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 240, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

/* hero styles moved to inline <style> in index.html as #FINAL_HERO */

.section-padding {
  padding: 100px 5%;
}

/* Hero Watermark Effect */
.hero-watermark-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15; /* Biraz daha belirgin yaptık */
}

.watermark-text {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 240px;
    letter-spacing: 25px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-linejoin: round;
    stroke-linecap: round;
    text-transform: uppercase;
    stroke-dasharray: 2500;
    stroke-dashoffset: 2500;
    animation: traceLines 12s linear infinite;
}

@keyframes traceLines {
    0% {
        stroke-dashoffset: 2500;
        opacity: 0;
        stroke: rgba(0, 255, 255, 0);
    }
    5% {
        opacity: 1;
        stroke: rgba(0, 255, 255, 0.4);
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
    }
    25% {
        stroke-dashoffset: 0;
        opacity: 1;
        stroke: rgba(255, 255, 255, 0.2);
    }
    75% {
        stroke-dashoffset: 0;
        opacity: 1;
        stroke: rgba(255, 255, 255, 0.2);
    }
    90% {
        opacity: 0;
        stroke: rgba(0, 255, 255, 0.3);
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Glass Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: 0.3s;
}

/* Search UI */
.search-container {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.search-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}

/* Car Cards */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.car-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    transition: 0.4s;
}

.car-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.car-info { padding: 2rem; }
.car-category { color: var(--accent-cyan); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.car-title { font-size: 1.5rem; margin-bottom: 1rem; }
.car-price { font-size: 1.8rem; font-weight: 900; color: white; }
.car-price span { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active { display: flex; }

.modal-content {
    background: #0a0a0f;
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    max-width: 500px;
    width: 100%;
    padding: 3rem;
}

/* Admin */
.admin-container { padding: 120px 5% 50px; max-width: 1400px; margin: 0 auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.stat-card { text-align: center; padding: 2rem; }
.stat-val { font-size: 2.5rem; font-weight: 900; color: var(--accent-cyan); display: block; }

.table-wrapper { overflow-x: auto; background: var(--glass-bg); border-radius: 24px; border: 1px solid var(--glass-border); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 1.2rem 1.5rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.03); }
.data-table th { color: var(--text-secondary); font-size: 0.8rem; text-transform: uppercase; }

.status-badge { padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.7rem; font-weight: 800; }
.status-pending { background: rgba(255, 184, 0, 0.1); color: #ffb800; }
.status-approved { background: rgba(0, 255, 122, 0.1); color: #00ff7a; }
.status-rejected { background: rgba(255, 71, 71, 0.1); color: #ff4747; }


.text-gradient {
  background: linear-gradient(45deg, var(--accent-cyan), #fff, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MODERN RESPONSIVE DESIGN (v3.0 - CLEAN START)
   ============================================================ */

@media (max-width: 768px) {
    /* 1. Genel Ayarlar */
    :root {
        --section-padding: 3rem 5%;
    }

    body {
        overflow-x: hidden;
        background-color: #000;
    }

    .section-padding {
        padding: 3rem 5% !important;
    }

    /* 2. Navigasyon (Üst Bar) */
    nav {
        padding: 0.8rem 5% !important;
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: blur(10px);
    }

    .logo img {
        height: 30px !important;
    }

    nav .btn-primary {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
    }

    /* 3. HERO (Giriş Bölümü) */
    .hero-vaner-new {
        min-height: unset !important;
        height: auto !important;
        justify-content: flex-start !important;
        padding: 80px 5% 2rem !important;
    }

    .hero-ehliyet h1 {
        font-size: 2.6rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-ehliyet p {
        font-size: 1rem !important;
        opacity: 0.8;
    }

    /* MOBİLDE GEREKSİZLERİ GİZLE */
    .hero-watermark-svg, 
    .hero-badge, 
    br {
        display: none !important;
    }

    /* 4. Araç Kartları ve Slider */
    .car-grid {
        grid-template-columns: 1fr !important; /* Tek sütun */
        gap: 1.5rem !important;
    }

    .slider-arrow {
        display: none !important; /* Mobilde kaydırma oklarını gizle, elle kaydırılsın */
    }

    /* 5. Hakkımızda & SEO Yazıları (Sıkışmayı Önle) */
    .about-grid, 
    div[style*="display: flex"], 
    div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 2rem !important;
    }

    div[style*="width: 50%"], 
    div[style*="width: 60%"], 
    div[style*="width: 40%"] {
        width: 100% !important;
    }

    /* 6. Footer (Alt Kısım) */
    footer {
        text-align: center !important;
        padding: 4rem 5% 2rem !important;
    }

    footer .social-links {
        justify-content: center !important;
        margin-top: 2rem;
    }
}
