/* ===== Serdivan AVM Taksi Durağı - Stil ===== */
:root {
  --bg-dark: #0f1419;
  --bg-card: #1a2332;
  --bg-card-hover: #243044;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----- Sabit iletişim butonları ----- */
.quick-contact {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.quick-contact-wa {
  right: max(1.5rem, env(safe-area-inset-right));
}

.quick-contact-phone {
  left: max(1.5rem, env(safe-area-inset-left));
}

.quick-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-contact a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

.quick-contact a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-dark) 100%);
}

.btn-phone {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 20, 25, 0.75) 0%,
    rgba(15, 20, 25, 0.6) 40%,
    rgba(15, 20, 25, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  color: #fff;
}

.hero-desc {
  color: rgba(241, 245, 249, 0.95);
  font-size: 1.1rem;
  max-width: 420px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-wa {
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-dark) 100%);
}

.btn-call {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0.3; top: 18px; }
}

/* ----- Bölümler ----- */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.section > .container > .section-title {
  opacity: 0;
  transform: translateY(20px);
}

.section.visible .section-title {
  animation: fadeUp 0.6s ease forwards;
}

/* ----- Hakkımızda ----- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
  opacity: 0;
  transform: translateY(24px);
}

.section.visible .about-card:nth-child(1) { animation: fadeUp 0.6s ease 0.1s forwards; }
.section.visible .about-card:nth-child(2) { animation: fadeUp 0.6s ease 0.2s forwards; }
.section.visible .about-card:nth-child(3) { animation: fadeUp 0.6s ease 0.3s forwards; }

.about-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.2);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ----- Hizmetler ----- */
.services {
  background: rgba(26, 35, 50, 0.5);
}

.services-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.services-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2.25rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-20px);
}

.services-list li:last-child {
  border-bottom: none;
}

.section.visible .services-list li {
  animation: fadeLeft 0.5s ease forwards;
}

.section.visible .services-list li:nth-child(1) { animation-delay: 0.1s; }
.section.visible .services-list li:nth-child(2) { animation-delay: 0.18s; }
.section.visible .services-list li:nth-child(3) { animation-delay: 0.26s; }
.section.visible .services-list li:nth-child(4) { animation-delay: 0.34s; }
.section.visible .services-list li:nth-child(5) { animation-delay: 0.42s; }

.services-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- Galeri ----- */
.gallery-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.slider-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.slide {
  min-width: 100%;
  transition: opacity 0.5s ease;
}

.slide:not(.active) {
  display: none;
}

.slide.active {
  display: block;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-img {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.25rem;
  overflow: hidden;
}

.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(26, 35, 50, 0.9);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.slider-btn.prev { left: -1rem; }
.slider-btn.next { right: -1rem; }

.gallery-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-note code {
  background: var(--bg-card);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* ----- İletişim ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.section.visible .contact-card:nth-child(1) { animation: fadeUp 0.5s ease 0.1s forwards; }
.section.visible .contact-card:nth-child(2) { animation: fadeUp 0.5s ease 0.2s forwards; }
.section.visible .contact-card:nth-child(3) { animation: fadeUp 0.5s ease 0.3s forwards; }

.contact-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
}

.section.visible .contact-cta {
  animation: fadeUp 0.5s ease 0.4s forwards;
}

/* ----- Footer ----- */
.footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ----- Responsive / Mobil uyumluluk ----- */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .logo h1 {
    font-size: 1.1rem;
  }

  .logo p {
    font-size: 0.75rem;
  }

  .hero {
    padding: 5rem 0 3rem;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero h2 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .hero-desc {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.5rem;
    min-height: 48px;
  }

  .quick-contact {
    bottom: max(1rem, env(safe-area-inset-bottom));
    gap: 0.6rem;
  }

  .quick-contact-wa {
    right: max(1rem, env(safe-area-inset-right));
  }

  .quick-contact-phone {
    left: max(1rem, env(safe-area-inset-left));
  }

  .quick-contact a {
    padding: 0.9rem 1rem;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    justify-content: center;
  }

  .quick-contact a span {
    display: none;
  }

  .quick-contact a svg {
    width: 26px;
    height: 26px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .services-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    font-size: 0.95rem;
  }

  .gallery-slider {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 0.5rem;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }

  .slider-btn.prev { left: 0.75rem; }
  .slider-btn.next { right: 0.75rem; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-cta {
    flex-direction: column;
    align-items: center;
  }

  .contact-cta .btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.5rem 0 2.5rem;
  }

  .hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .hero-scroll {
    bottom: 1.25rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* Dokunmatik cihazlar için daha büyük tıklama alanı */
@media (hover: none) and (pointer: coarse) {
  .quick-contact a:active {
    transform: scale(0.98);
  }

  .btn:active {
    transform: scale(0.98);
  }

  .nav a {
    padding: 0.5rem 0;
  }
}
