/*
Theme Name: Cyrstal Kurumsal
Theme URI: https://cyrstalkurumsal.com
Author: Cyrstal Kurumsal
Author URI: https://cyrstalkurumsal.com
Description: Cyrstal Kurumsal lüks araç kiralama ve filo yönetim WordPress teması. %100 yönetilebilir panel, CPT araç filosu, çok adımlı rezervasyon motoru, TC doğrulama ve banka hesap yönetimi içerir.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: cyrstal-kurumsal
*/

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  position: relative;
}

:root {
  --primary: #0A1F44;
  --primary-dark: #061634;
  --primary-light: #15326B;
  --accent: #C9A24A;
  --accent-dark: #A87F2E;
  --accent-light: #E0BD6A;
  --ink: #0F172A;
  --muted: #64748B;
  --bg-light: #FAFAF7;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

.brand-mark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gold-line {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  height: 1px;
}

.gold-text-grad {
  background: linear-gradient(135deg, #E0BD6A 0%, #C9A24A 60%, #8A6620 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ink-grad {
  background: linear-gradient(180deg, #0A1F44 0%, #061634 100%);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(10, 31, 68, 0.45), transparent 60%),
    linear-gradient(120deg, rgba(6, 22, 52, 0.94) 0%, rgba(10, 31, 68, 0.82) 40%, rgba(10, 31, 68, 0.45) 100%);
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.65rem; border-radius: 10px;
  background: linear-gradient(135deg, #0A1F44 0%, #15326B 100%);
  color: #fff !important; font-weight: 600; letter-spacing: .01em;
  border: 1px solid rgba(201, 162, 74, .35);
  transition: all .25s ease;
  box-shadow: 0 8px 20px -8px rgba(10, 31, 68, .45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(10, 31, 68, .55), 0 0 0 1px rgba(201, 162, 74, .55);
}

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.65rem; border-radius: 10px;
  background: linear-gradient(135deg, #E0BD6A 0%, #C9A24A 55%, #A87F2E 100%);
  color: #0A1F44 !important; font-weight: 700; letter-spacing: .01em;
  transition: all .25s ease;
  box-shadow: 0 10px 24px -8px rgba(201, 162, 74, .55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(201, 162, 74, .7);
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.65rem; border-radius: 10px;
  background: transparent; color: #fff !important; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .4);
  transition: all .25s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .08); border-color: var(--accent); color: var(--accent-light) !important;
}

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.pill-gold {
  background: linear-gradient(135deg, rgba(224, 189, 106, .18), rgba(201, 162, 74, .12));
  color: #8A6620; border: 1px solid rgba(201, 162, 74, .35);
}

.badge-discount {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, #C9A24A, #A87F2E);
  color: #0A1F44; font-weight: 700; font-size: .68rem; letter-spacing: .06em;
  padding: .35rem .65rem; border-radius: 6px; text-transform: uppercase;
  box-shadow: 0 4px 12px -4px rgba(201, 162, 74, .5); z-index: 2;
}

.badge-category {
  position: absolute; top: 14px; right: 14px;
  background: rgba(10, 31, 68, .85); backdrop-filter: blur(6px);
  color: #E0BD6A; font-weight: 600; font-size: .7rem; letter-spacing: .04em;
  padding: .3rem .6rem; border-radius: 6px; z-index: 2;
}

.car-card {
  background: #fff; border: 1px solid #ECECE6;
  border-radius: 18px; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 4px 24px -8px rgba(10, 31, 68, .08), 0 2px 6px -2px rgba(10, 31, 68, .06);
  display: flex; flex-direction: column;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(10, 31, 68, .18), 0 8px 16px -8px rgba(201, 162, 74, .18);
  border-color: rgba(201, 162, 74, .4);
}

.car-card__media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, #F5F2EA, #FAFAF7);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.car-card__media img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .6s ease;
}
.car-card:hover .car-card__media img { transform: scale(1.06); }

.top-bar {
  background: linear-gradient(90deg, #061634 0%, #0A1F44 50%, #061634 100%);
  color: #fff;
}

header.site {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
}

.nav-link {
  position: relative; color: var(--ink); font-weight: 500;
  padding: .35rem 0; transition: color .25s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--accent); transition: right .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

footer.site {
  background: linear-gradient(180deg, #061634 0%, #02091C 100%);
  color: #cbd5e1;
}

.floating-contact-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.pulse-ring {
  position: absolute; inset: -6px; border-radius: 9999px;
  background: rgba(37, 211, 102, 0.45);
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}


/* --- High-contrast Gold Accents & Stats Fix --- */
.text-accent, [class*="text-accent"] {
  color: #E0BD6A !important;
}
.text-accent-light {
  color: #F3E5AB !important;
}
.text-accent-dark {
  color: #C9A24A !important;
}
.bg-accent {
  background-color: #C9A24A !important;
}
.bg-accent\/10 {
  background-color: rgba(201, 162, 74, 0.12) !important;
}
.bg-accent\/20 {
  background-color: rgba(201, 162, 74, 0.22) !important;
}

/* Stat numbers on dark background */
.stat-num,
div.stat-num,
.stat-num * {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  color: #E0BD6A !important;
}

/* Feature Icon Boxes (Why Us) */
.w-14.h-14.ink-grad,
.w-14.h-14.rounded-xl.ink-grad {
  background: linear-gradient(135deg, #061634 0%, #0A1F44 100%) !important;
  border: 1px solid rgba(224, 189, 106, 0.25) !important;
  box-shadow: 0 4px 14px -3px rgba(10, 31, 68, 0.5) !important;
}
.w-14.h-14.ink-grad i,
.w-14.h-14.rounded-xl.ink-grad i,
.ink-grad.text-accent i {
  color: #E0BD6A !important;
}
