/* ==========================================================================
   Serdivan Taksi - Modern, High-Performance Stylesheet
   Theme: Taxi Yellow (#eab308 / #facc15) & Premium Dark Slate (#090d16 / #0f172a)
   ========================================================================== */

:root {
  --color-bg-darkest: #070a12;
  --color-bg: #0f172a;
  --color-bg-card: #162036;
  --color-bg-card-hover: #1e2c4a;
  --color-border: #23324d;
  --color-border-glow: rgba(234, 179, 8, 0.35);

  --color-yellow: #eab308;
  --color-yellow-hover: #facc15;
  --color-yellow-light: rgba(234, 179, 8, 0.15);
  --color-yellow-glow: rgba(234, 179, 8, 0.25);

  --color-wa: #22c55e;
  --color-wa-hover: #16a34a;
  --color-wa-light: rgba(34, 197, 94, 0.15);

  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-text-dark: #0f172a;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 760px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(234, 179, 8, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(234, 179, 8, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(34, 197, 94, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-darkest) 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px 20px 100px; /* bottom padding for mobile sticky bar */
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #1e293b;
  width: 100%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo-box {
  background: linear-gradient(135deg, var(--color-yellow-hover), var(--color-yellow));
  color: var(--color-text-dark);
  font-weight: 900;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.brand-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-wa);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-wa);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-card {
  background: linear-gradient(160deg, #162036 0%, #0d1627 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-yellow-light);
  color: var(--color-yellow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

h1 {
  font-size: clamp(26px, 5.5vw, 36px);
  line-height: 1.25;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
}

h1 span {
  color: var(--color-yellow);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 35px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  user-select: none;
}

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

.btn-call {
  background: linear-gradient(135deg, var(--color-yellow-hover), var(--color-yellow));
  color: var(--color-text-dark);
  box-shadow: 0 8px 24px -4px rgba(234, 179, 8, 0.45);
}

.btn-call:hover {
  background: linear-gradient(135deg, #fde047, var(--color-yellow-hover));
  box-shadow: 0 10px 28px -2px rgba(234, 179, 8, 0.55);
}

.btn-call .phone-icon {
  animation: ring 2.5s infinite ease-in-out;
  display: inline-block;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  5%, 15% { transform: rotate(14deg); }
  10%, 20% { transform: rotate(-14deg); }
  25% { transform: rotate(0deg); }
}

.btn-wa {
  background-color: #ffffff;
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-wa:hover {
  background-color: #f1f5f9;
}

.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-wa);
  font-size: 20px;
}

/* Quick Features Row */
.quick-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pill-item svg {
  color: var(--color-yellow);
  flex-shrink: 0;
}

/* ==========================================================================
   Section Common
   ========================================================================== */

.section-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.section-header {
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-yellow);
  margin-bottom: 4px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Popular Destinations
   ========================================================================== */

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.destination-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.destination-item:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-glow);
  transform: translateY(-2px);
}

.dest-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dest-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.12);
  color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dest-name {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.25;
}

.dest-sub {
  font-size: 12px;
  color: var(--color-text-muted);
}

.dest-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-yellow);
  background: rgba(234, 179, 8, 0.1);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ==========================================================================
   Interactive Taxi Estimator (Taksimetre & Süre Hesaplayıcı)
   ========================================================================== */

.estimator-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.estimator-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .estimator-inputs {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.custom-select {
  width: 100%;
  background: #0d1627;
  border: 1px solid #283959;
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-select:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 2px var(--color-yellow-light);
}

.estimator-result {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.08), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.res-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.res-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.res-value {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-yellow);
}

.estimator-note {
  font-size: 11px;
  color: var(--color-text-dim);
  text-align: center;
}

/* ==========================================================================
   Perks / Features List
   ========================================================================== */

.perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.perk-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.perk-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--color-yellow-light);
  color: var(--color-yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.perk-text h3 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.perk-text p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(234, 179, 8, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-chevron {
  color: var(--color-yellow);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 16px 16px;
}

/* ==========================================================================
   Contact Info Block
   ========================================================================== */

.contact-card {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-phone-display {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--color-yellow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-phone-display:hover {
  color: var(--color-yellow-hover);
}

.copy-phone-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.copy-phone-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.copy-feedback {
  font-size: 12px;
  color: var(--color-wa);
  min-height: 18px;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  text-align: center;
  padding: 20px 0;
  color: var(--color-text-dim);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--color-yellow);
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */

.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform 0.1s;
}

.sticky-btn:active {
  transform: scale(0.97);
}

.sticky-call {
  background: linear-gradient(135deg, var(--color-yellow-hover), var(--color-yellow));
  color: var(--color-text-dark);
}

.sticky-wa {
  background-color: var(--color-wa);
  color: #ffffff;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 40px;
  }
  .sticky-bottom-bar {
    display: none;
  }
}
