/* ============================================
   CES OTO KURTARMA — Premium Components
   ============================================ */

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  cursor: pointer;
  border: 2.5px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  color: var(--color-text-on-brand);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-brand) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.btn-outline-dark:hover {
  background: var(--color-text-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── Custom Badges ─── */
.dynamic-badge {
  display: inline-block;
  color: var(--color-brand);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-3);
  position: relative;
  padding-left: var(--space-4);
}

.dynamic-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
}

/* ─── Badge Pill Hero ─── */
.badge-pill-dynamic {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--color-brand-light);
  font-size: var(--font-size-sm);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  letter-spacing: 0.03em;
}

.badge-pill-dynamic .live-dot {
  width: 10px;
  height: 10px;
  background: var(--color-brand);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--color-brand);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ─── Asistan Widget Panel ─── */
.widget-card {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 31, 58, 0.75);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.widget-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}


.widget-header h3 {
  color: var(--color-text-white);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.widget-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.widget-body {
  padding: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

/* Vehicle Select Grid */
.vehicle-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.vehicle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-2);
  cursor: pointer;
  transition: var(--transition-base);
}

.vehicle-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.vehicle-option.active {
  background: var(--color-brand-lightest);
  border-color: var(--color-brand);
}

.vehicle-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-base);
}

.vehicle-icon svg {
  width: 100%;
  height: 100%;
}

.vehicle-option.active .vehicle-icon {
  color: var(--color-brand);
}

.vehicle-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.vehicle-option.active .vehicle-label {
  color: var(--color-brand-light);
}

/* Custom Select Dropdown */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.custom-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  color: var(--color-text-white);
  appearance: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.custom-select:focus {
  border-color: var(--color-brand);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.custom-select option {
  background: var(--color-bg-dark-2);
  color: var(--color-text-white);
}

/* Result Box */
.widget-result-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  animation: slide-down-widget 0.3s ease-out;
}

@keyframes slide-down-widget {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-details {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-time {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-text-white);
  margin: var(--space-1) 0;
  font-family: var(--font-heading);
}

.result-info {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
}

/* Widget CTA Button */
.widget-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  color: var(--color-text-on-brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-brand);
  transition: var(--transition-base);
  cursor: pointer;
}

.widget-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-brand) 100%);
}

/* ─── Horizontal Service Strips ─── */
.horizontal-service-strips {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.service-strip-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}

.service-strip-item:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.3);
}

.strip-image {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-strip-item:hover .strip-image img {
  transform: scale(1.05);
}

.strip-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(10, 22, 40, 0.15) 100%);
}

.strip-content {
  padding: var(--space-10) var(--space-12) var(--space-10) 0;
  position: relative;
}

.strip-index {
  position: absolute;
  top: var(--space-4);
  right: var(--space-12);
  font-size: 5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  color: rgba(10, 22, 40, 0.03);
  pointer-events: none;
}

.strip-content h3 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
}

.strip-description {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.strip-bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.strip-bullet-list li {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Reverse Order for Alternating Layout */
.reverse-strip {
  grid-template-columns: 1fr 1.1fr;
}

.reverse-strip .strip-image {
  order: 2;
}

.reverse-strip .strip-content {
  order: 1;
  padding: var(--space-10) 0 var(--space-10) var(--space-12);
}

.reverse-strip .strip-index {
  left: var(--space-12);
  right: auto;
}

/* ─── Timeline Wizard ─── */
.timeline-wizard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.wizard-step-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-base);
}

.wizard-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand);
}

.step-badge {
  position: absolute;
  top: calc(var(--space-8) * -0.5);
  left: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--color-bg-dark);
  color: var(--color-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(10, 22, 40, 0.2);
  transition: var(--transition-base);
}

.wizard-step-card:hover .step-badge {
  background: var(--color-brand);
  color: var(--color-bg-dark);
}

.step-content h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
}

.step-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Premium Portfolio Grid (Filomuz) ─── */
.premium-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.portfolio-item {
  background: var(--color-bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  transition: var(--transition-base);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
}

.portfolio-image-wrapper {
  height: 250px;
  overflow: hidden;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-image-wrapper img {
  transform: scale(1.06);
}

.portfolio-item-content {
  padding: var(--space-6);
}

.portfolio-item-content .tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--color-brand-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.portfolio-item-content h4 {
  font-size: var(--font-size-lg);
  color: var(--color-text-white);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.portfolio-item-content p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* ─── Region Categorized Tabs ─── */
.region-tabs-container {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.region-tab-btn {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: var(--transition-base);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.region-tab-btn:hover {
  color: var(--color-brand-dark);
  border-color: var(--color-brand);
}

.region-tab-btn.active {
  background: var(--color-bg-dark);
  color: var(--color-brand-light);
  border-color: var(--color-bg-dark);
  box-shadow: var(--shadow-md);
}

.region-tab-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  animation: fade-in-tab 0.4s ease-in-out;
}

.region-tab-grid.active {
  display: grid;
}

@keyframes fade-in-tab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.region-detail-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: var(--transition-base);
}

.region-detail-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-lg);
}

.region-bullet {
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.region-detail-card h5 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
}

.region-detail-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ─── Premium FAQ accordion ─── */
.faq-list-premium {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-card[open] {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-card[open] .faq-toggle-icon {
  transform: rotate(180deg);
}
