:root {
  /* Premium Dark/Light Palette */
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #dc2626;      /* Racing Red */
  --primary-hover: #b91c1c;
  --dark: #020617;
  --border: #e2e8f0;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

/* --- BUTTONS --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.button-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.button-outline:hover {
  background: white;
  color: var(--dark);
  transform: translateY(-2px);
}

.button-icon {
  padding: 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.button-icon:hover {
  background: var(--bg);
  color: var(--primary);
}

.button-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* --- HEADER --- */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.logo-text span {
  color: var(--primary);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
}

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

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url('C:/Users/Asus/.gemini/antigravity/brain/1a9bcdee-ad25-4903-833b-8f74fb23dd93/premium_car_hero_1777984135347.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.6) 50%, rgba(2, 6, 23, 0.2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
  color: white;
}

.hero-text .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-text h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- SECTIONS --- */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
}

.eyebrow.dark {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- LISTINGS CONTROLS --- */
.ilanlar-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 8px;
  padding: 0 1rem;
  flex: 1;
  max-width: 400px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.search-box:focus-within {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-box i {
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.875rem 0.75rem;
  outline: none;
  font-family: var(--font-body);
  color: var(--text);
}

.live-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- ILAN GRID & CARDS --- */
.ilan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.ilan-card-link {
  display: block;
}

.ilan-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ilan-card-link:hover .ilan-card {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.3);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e2e8f0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ilan-card-link:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-price-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
}

.ilan-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ilan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  line-height: 1.4;
}

.ilan-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
}

.spec-item i {
  color: var(--primary);
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

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

.view-btn {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.ilan-card-link:hover .view-btn {
  gap: 0.75rem;
}

/* --- WHY SECTION --- */
.section-why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--muted);
}

/* --- CONTACT SECTION --- */
.section-contact {
  background: var(--dark);
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.method {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.method i {
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-form-placeholder {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  color: var(--text);
}

.contact-form-placeholder h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.dummy-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dummy-form input {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
}

.dummy-form input:focus {
  border-color: var(--primary);
}

.dummy-form button {
  margin-top: 0.5rem;
}

/* --- FOOTER --- */
.site-footer {
  background: #020617; /* Even darker */
  color: white;
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-top .logo-text {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.875rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-inner {
    text-align: center;
  }
  .hero-text {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .why-grid, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: auto;
    padding: 1rem 0;
  }
  .ilanlar-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  border: 1px dashed var(--border);
}

.error-state i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
