/* ========================================
   AYDENIZ KARAVAN — Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(10, 22, 40, 0.4) 40%,
    rgba(10, 22, 40, 0.6) 70%,
    rgba(10, 22, 40, 0.85) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: calc(var(--header-height) + var(--space-6)) var(--space-6) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  animation: fadeInDown 0.8s ease;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-5);
  line-height: 1.15;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-10);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ── Search Bar ── */
.hero__search {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 700px;
  width: 100%;
  margin: 0 auto var(--space-8);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__search-field:last-of-type {
  border-right: none;
}

.hero__search-field svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero__search-field input,
.hero__search-field select {
  background: none;
  border: none;
  color: white;
  font-size: var(--text-sm);
  width: 100%;
}

.hero__search-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero__search-field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.hero__search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.6;
}

.hero__search-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.hero__search-field select {
  appearance: none;
  cursor: pointer;
}

.hero__search-field select option {
  background: var(--primary-900);
  color: white;
}

.hero__search-btn {
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: white;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: none;
}

.hero__search-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.hero__search-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Trust Badges ── */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.hero__trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* ── Scroll Indicator ── */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  animation: fadeInUp 1s ease 1s both;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-mouse 1.5s ease-in-out infinite;
}

@keyframes scroll-mouse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

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

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