/* Hızlı Nakit - Premium Frontend Styles */
:root {
  --primary: #0071e3;
  --primary-dark: #0077ed;
  --secondary: #1d1d1f;
  --accent: #86868b;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-muted: #fbfbfd;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: rgba(0,0,0,.08);
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --radius: 18px;
  --radius-sm: 12px;
  --glass: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.4);
  --font: "SF Pro Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --transition: .35s cubic-bezier(.25,.1,.25,1);
  --header-h: 64px;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #1d1d1f;
  --bg-muted: #161617;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --border: rgba(255,255,255,.1);
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --glass: rgba(29,29,31,.8);
  --glass-border: rgba(255,255,255,.08);
  --secondary: #f5f5f7;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; width: min(1200px, 94%); margin-inline: auto;
}
.logo {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: .5rem;
}
.logo img { height: 32px; width: auto; }
.logo:hover { color: var(--text); }
.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-menu a {
  color: var(--text); font-size: .8125rem; font-weight: 500;
  padding: .5rem .75rem; border-radius: 980px; transition: background var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { background: var(--bg-soft); color: var(--text); }
.nav-cta {
  background: var(--primary) !important; color: #fff !important;
  padding: .55rem 1.1rem !important; margin-left: .5rem;
}
.nav-cta:hover { background: var(--primary-dark) !important; opacity: .92; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle {
  background: none; border: none; cursor: pointer; color: var(--text);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
}
.theme-toggle:hover, .nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle { display: none; }

/* Hero Slider */
.hero-slider {
  position: relative; width: 100%;
  height: min(92vh, 820px); min-height: 480px;
  margin-top: var(--header-h); overflow: hidden; background: #000;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide picture, .hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
  z-index: 2;
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 2rem; width: min(900px, 92%); margin-inline: auto;
}
.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.35rem); opacity: .92;
  max-width: 560px; margin-bottom: 2rem;
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  cursor: pointer; display: grid; place-items: center; transition: background var(--transition);
}
.hero-nav:hover { background: rgba(255,255,255,.3); }
.hero-nav.prev { left: 1.25rem; }
.hero-nav.next { right: 1.25rem; }
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: .5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 980px; font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: scale(1.02); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: #fff; color: var(--secondary); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* Offer Form */
.offer-section { background: var(--bg-soft); }
.offer-card {
  background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem); max-width: 900px; margin-inline: auto;
  border: 1px solid var(--border);
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-muted); color: var(--text); transition: border var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,113,227,.15);
}
.form-check { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.form-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.file-upload {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 1.5rem; text-align: center; cursor: pointer; transition: border var(--transition);
}
.file-upload:hover { border-color: var(--primary); }
.file-upload input { display: none; }

/* Product Cards */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.product-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--border); background: var(--bg);
}
.product-card .icon-wrap {
  width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 20px;
  background: linear-gradient(145deg, #e8f2ff, #f5f5f7);
  display: grid; place-items: center; color: var(--primary);
}
[data-theme="dark"] .product-card .icon-wrap { background: linear-gradient(145deg, #1a2a40, #1d1d1f); }
.product-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.product-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.25rem; }

/* Why Us */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.why-item {
  padding: 1.75rem; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item .icon {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(0,113,227,.1);
  color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.why-item p { color: var(--text-muted); font-size: .9rem; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative;
}
.steps::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(0,113,227,.2));
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: var(--bg); border: 2px solid var(--primary); color: var(--primary);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 700;
  box-shadow: var(--shadow);
}
.step-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step-item p { color: var(--text-muted); font-size: .875rem; }

/* Stats */
.stats-section {
  background: var(--secondary); color: #fff; padding: 80px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-item .stat-value {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -.02em;
  color: #fff;
}
.stat-item .stat-label { color: rgba(255,255,255,.65); margin-top: .35rem; font-size: .95rem; }

/* Testimonials */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex; transition: transform .5s ease; gap: 1.5rem;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem); background: var(--bg-soft);
  border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border);
}
.stars { color: #f5a623; margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 1rem; margin-bottom: 1.25rem; color: var(--text); }
.testimonial-author { font-weight: 600; font-size: .9rem; }
.testimonial-author span { display: block; font-weight: 400; color: var(--text-muted); font-size: .8rem; }

/* FAQ Accordion */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: .25rem 0;
}
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0; font-size: 1.05rem; font-weight: 600;
  color: var(--text); cursor: pointer; position: relative;
}
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--accent);
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
  color: var(--text-muted); font-size: .95rem;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.25rem; }

/* Brands */
.brands-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem;
  align-items: center;
}
.brand-item {
  padding: .75rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--text-muted); font-weight: 600;
  font-size: .9rem; transition: all var(--transition); border: 1px solid transparent;
}
.brand-item:hover { color: var(--text); border-color: var(--border); background: var(--bg); box-shadow: var(--shadow); }
.brand-item img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; transition: all var(--transition); }
.brand-item:hover img { filter: none; opacity: 1; }

/* Blog */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem;
}
.blog-card {
  border-radius: var(--radius); overflow: hidden; background: var(--bg);
  border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: .75rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--text); }
.blog-card p { color: var(--text-muted); font-size: .9rem; }

/* Page Hero */
.page-hero {
  margin-top: var(--header-h); padding: 80px 0 48px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
  margin-top: 1rem; font-size: .85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { opacity: .5; }

.content-body {
  max-width: 800px; margin: 0 auto; padding: 48px 0 80px;
  font-size: 1.05rem; line-height: 1.7;
}
.content-body h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.content-body h3 { margin: 1.5rem 0 .75rem; font-size: 1.2rem; }
.content-body p { margin-bottom: 1rem; color: var(--text-muted); }
.content-body ul { margin: 1rem 0 1rem 1.25rem; list-style: disc; color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start;
}
.contact-info-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border);
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item .icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(0,113,227,.1);
  color: var(--primary); display: grid; place-items: center; flex-shrink: 0;
}
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 2rem; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; }

/* Footer */
.site-footer {
  background: var(--secondary); color: rgba(255,255,255,.7); padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 1.25rem; font-weight: 600; }
.footer-col a {
  display: block; color: rgba(255,255,255,.65); font-size: .875rem;
  padding: .3rem 0; transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.social-links { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; padding: 0;
}
.social-links a:hover { background: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); display: inline; padding: 0 .5rem; }
.footer-bottom a:hover { color: #fff; }

/* Floating buttons */
.float-buttons {
  position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 1002;
  display: flex; flex-direction: column; gap: .75rem;
}
body.cookie-open .float-buttons {
  bottom: calc(5.5rem + var(--cookie-h, 80px));
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform var(--transition), bottom var(--transition);
  border: none; cursor: pointer;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--primary); }

/* Cookie consent — sağdaki butonları kapatmasın */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001;
  background: var(--glass); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border); padding: 1rem 1.5rem;
  display: none; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-right: 5.5rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: .875rem; color: var(--text-muted); flex: 1; min-width: 200px; }

/* Toast */
.toast-container {
  position: fixed; top: calc(var(--header-h) + 1rem); right: 1rem; z-index: 1100;
  display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  background: var(--bg); color: var(--text); padding: 1rem 1.25rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary); min-width: 280px;
  animation: slideIn .35s ease;
}
.toast.error { border-left-color: #ff3b30; }
.toast.success { border-left-color: #34c759; }

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: .5rem; margin-top: 3rem;
}
.pagination a, .pagination span {
  padding: .5rem .9rem; border-radius: 8px; background: var(--bg-soft);
  color: var(--text); font-size: .9rem; border: 1px solid var(--border);
}
.pagination a:hover, .pagination .active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* 404 */
.error-page {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 2rem;
  margin-top: var(--header-h);
}
.error-page h1 { font-size: 6rem; font-weight: 700; letter-spacing: -.04em; color: var(--accent); }
.error-page h2 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 992px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 calc(50% - .75rem); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--glass); backdrop-filter: blur(20px);
    flex-direction: column; padding: 1rem; gap: 0;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: all .35s ease; border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: all; }
  .nav-menu a { width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); }
  .nav-cta { margin-left: 0 !important; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 70vh; min-height: 420px; }
  .hero-nav { display: none; }
  .section { padding: 64px 0; }
  .testimonial-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-btn { width: 50px; height: 50px; }
  .float-buttons { bottom: 5rem; right: 1rem; }
  body.cookie-open .float-buttons { bottom: calc(5rem + var(--cookie-h, 90px)); }
  .cookie-banner { padding-right: 4.5rem; }
}
