/* 
 * Umre Dijital Rehber Premium CSS Tasarım Sistemi
 * Emerald Green, Gold, Cream ve Light Gray Palette
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #064e3b;          /* Emerald Green */
  --primary-light: #0d5c3a;
  --primary-glow: rgba(6, 78, 59, 0.15);
  --accent: #d4a84b;           /* Gold Accent */
  --accent-light: #e6c06c;
  --accent-glow: rgba(212, 168, 75, 0.2);
  --background: #fdfbf7;       /* Vanilla Cream */
  --surface: #ffffff;          /* Off-white */
  --text-dark: #1e293b;        /* Slate Text */
  --text-muted: #64748b;
  --border-light: rgba(184, 137, 42, 0.12);
  --border-medium: rgba(184, 137, 42, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 12px rgba(6, 78, 59, 0.03);
  --shadow-md: 0 12px 32px rgba(6, 78, 59, 0.06);
  --shadow-lg: 0 24px 64px rgba(6, 78, 59, 0.09);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
}

/* ── HEADER ── */
.navbar-umre {
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1000;
  background: rgba(15, 34, 64, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(212, 168, 75, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.navbar-umre.scrolled {
  background: rgba(15, 34, 64, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.navbar-brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff !important;
}
.navbar-brand-text span {
  color: #f3ce7a;
}
.nav-link-umre {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 8px 16px !important;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link-umre:hover, .nav-link-umre.active {
  color: #f3ce7a !important;
  background: rgba(212, 168, 75, 0.2) !important;
}
.btn-header-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
  transition: var(--transition);
}
.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 78, 59, 0.35);
}
.btn-header-outline {
  border: 1.5px solid var(--border-medium);
  background: transparent;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-header-outline:hover {
  background: rgba(212, 168, 75, 0.08);
  border-color: var(--accent);
}

/* ── HERO ── */
.hero-umre {
  padding: 130px 0 90px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(6, 78, 59, 0.15);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 550px;
}
.hero-svg-wrap {
  position: relative;
  text-align: center;
}
.hero-svg-wrap svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(6, 78, 59, 0.12));
  animation: floatIllustration 6s ease-in-out infinite;
}
@keyframes floatIllustration {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── HIZLI ERİŞİM KARTLARI ── */
.grid-cards-section {
  padding: 40px 0;
}
.access-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none !important;
}
.access-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}
.access-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}
.access-card:hover::before {
  opacity: 1;
}
.access-icon-box {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: var(--transition);
}
.access-card:hover .access-icon-box {
  background: var(--primary);
  color: #fff;
}
.access-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.access-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ── TIMELINE ── */
.timeline-section {
  padding: 80px 0;
  background: #fcfbfa;
}
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 20px; top: 20px; bottom: 20px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary-glow));
}
.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-badge {
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--background);
  z-index: 2;
  transition: var(--transition);
}
.timeline-item:hover .timeline-badge {
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--primary-glow);
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  cursor: pointer;
  transition: var(--transition);
}
.timeline-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.timeline-detail-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  border-top: 1px solid transparent;
}
.timeline-detail-pane.open {
  max-height: 1000px;
  border-top: 1px solid var(--border-light);
  margin-top: 18px;
  padding-top: 18px;
}

/* ── HAZIRLIK MERKEZİ CHECKLIST ── */
.checklist-section {
  padding: 80px 0;
}
.checklist-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.checklist-tab {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.checklist-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px var(--primary-glow);
}
.checklist-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--background);
}
.checklist-item:last-child {
  border-bottom: none;
}
.custom-chk {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.custom-chk i {
  font-size: 0.72rem;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}
.checklist-item.checked .custom-chk {
  background: var(--primary);
  border-color: var(--primary);
}
.checklist-item.checked .custom-chk i {
  opacity: 1;
}
.checklist-item-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.checklist-item.checked .checklist-item-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ── DUALAR BÖLÜMÜ ── */
.dualar-section {
  padding: 80px 0;
  background: #fcfbfa;
}
.dua-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.dua-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}
.dua-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  color: var(--primary);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--background);
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent);
}
.audio-mock-container {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(6, 78, 59, 0.04);
  border-radius: 50px;
  padding: 10px 20px;
  margin-bottom: 20px;
}
.audio-play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.audio-play-btn:hover {
  background: var(--accent);
}
.audio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: 1;
}
.wave-bar {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 10px;
  transition: height 0.15s ease;
}
.audio-waveform.playing .wave-bar {
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}
.audio-waveform.playing .wave-bar:nth-child(1)  { animation-delay: 0.1s; }
.audio-waveform.playing .wave-bar:nth-child(2)  { animation-delay: 0.3s; }
.audio-waveform.playing .wave-bar:nth-child(3)  { animation-delay: 0.5s; }
.audio-waveform.playing .wave-bar:nth-child(4)  { animation-delay: 0.2s; }
.audio-waveform.playing .wave-bar:nth-child(5)  { animation-delay: 0.4s; }
.audio-waveform.playing .wave-bar:nth-child(6)  { animation-delay: 0.6s; }
.audio-waveform.playing .wave-bar:nth-child(7)  { animation-delay: 0.1s; }
.audio-waveform.playing .wave-bar:nth-child(8)  { animation-delay: 0.3s; }
.audio-waveform.playing .wave-bar:nth-child(9)  { animation-delay: 0.5s; }
.audio-waveform.playing .wave-bar:nth-child(10) { animation-delay: 0.2s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 22px; }
}

/* ── AI ASİSTAN ── */
.ai-section {
  padding: 80px 0;
}
.ai-chat-box {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}
.ai-chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 20px 30px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-light);
}
.ai-chat-body {
  height: 380px;
  overflow-y: auto;
  padding: 30px;
  background: #fdfdfc;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.msg {
  display: flex;
  gap: 12px;
  max-width: 80%;
}
.msg.ai {
  align-self: flex-start;
}
.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.msg-bubble {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.msg.ai .msg-bubble {
  background: var(--background);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}
.msg.user .msg-bubble {
  background: var(--primary);
  color: #fff;
}
.ai-chips-container {
  display: flex;
  gap: 8px;
  padding: 15px 30px;
  background: #fbf9f4;
  border-top: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ai-chips-container::-webkit-scrollbar {
  display: none;
}
.ai-chip {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.ai-chip:hover {
  background: var(--primary-glow);
}
.ai-chat-input-wrap {
  display: flex;
  padding: 20px 30px;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  gap: 12px;
}
.ai-input {
  flex: 1;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.ai-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.ai-send-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.ai-send-btn:hover {
  background: var(--accent);
}

/* ── MEKKE & MEDİNE ── */
.cities-section {
  padding: 80px 0;
  background: #fcfbfa;
}
.city-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.city-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}
.city-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 24px;
  text-align: center;
  color: #fff;
}
.city-card-header h3 {
  color: var(--accent);
  margin: 0;
  font-weight: 700;
}
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.city-list-item {
  padding: 14px 24px;
  border-bottom: 1px solid var(--background);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.city-list-item:last-child {
  border-bottom: none;
}
.city-list-item:hover {
  background: rgba(212, 168, 75, 0.05);
  color: var(--primary);
}
.city-list-item i {
  color: var(--accent);
}

/* ── SSS ACCORDION ── */
.faq-section {
  padding: 80px 0;
}
.faq-search-wrap {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}
.faq-search-input {
  width: 100%;
  border: 1.5px solid var(--border-medium);
  border-radius: 50px;
  padding: 12px 24px 12px 48px;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  background: var(--surface);
}
.faq-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.faq-search-icon {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
}
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--border-medium);
}
.faq-button {
  background: transparent !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 20px 24px;
  border: none;
  box-shadow: none !important;
}
.faq-button:not(.collapsed) {
  border-bottom: 1px solid var(--border-light);
  background: rgba(6, 78, 59, 0.02) !important;
}
.faq-body {
  padding: 20px 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── MOBİL HİZALAMA VE KAYDIRILABİLİR TABS ── */
@media (max-width: 576px) {
  .hero-umre {
    padding: 100px 0 60px;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .checklist-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 0 16px 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .checklist-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .checklist-tab {
    flex-shrink: 0 !important;
  }
  .ai-chat-body {
    height: 300px;
    padding: 15px;
  }
  .ai-chat-input-wrap {
    padding: 15px;
  }
}

/* ── AI FLOATING CHAT WIDGET ── */
.ai-chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(6, 78, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  transition: var(--transition);
}
.ai-chat-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px rgba(6, 78, 59, 0.45);
}
.ai-chat-popup {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 380px;
  max-width: calc(100vw - 60px);
  height: 500px;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.ai-chat-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ai-chat-popup .ai-chat-header {
  padding: 16px 20px;
  flex-shrink: 0;
}
.ai-chat-popup .ai-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding: 20px;
  overflow-y: auto;
}
.ai-chat-popup .ai-chips-container {
  padding: 10px 20px;
  flex-shrink: 0;
}
.ai-chat-popup .ai-chat-input-wrap {
  padding: 16px 20px;
  flex-shrink: 0;
}
.ai-chat-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-chat-close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

@media (max-width: 576px) {
  .ai-chat-toggle {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .ai-chat-popup {
    bottom: 85px;
    right: 20px;
    width: calc(100vw - 40px);
    height: 460px;
  }
}

