/* Tidiria Reiseführer & Eventmanager - CIStem Styles */

:root {
  --td-primary: #0284c7;
  --td-primary-dark: #0369a1;
  --td-primary-light: #e0f2fe;
  --td-secondary: #0d9488;
  --td-accent: #f59e0b;
  --td-terracotta: #c2410c;
  --td-sand: #fef3c7;
  --td-card-radius: 1rem;
  --td-shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
  --td-shadow-hover: 0 10px 25px rgba(2, 132, 199, 0.16);
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
}

/* Header & Topbar */

.tidiria-topbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.brand-badge {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
}

/* Hero Section */

.hero-tidiria {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #0f766e 100%);
  color: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-tidiria::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

/* Category Filter Pills */

.filter-pill {
  transition: all 0.2s ease-in-out;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.filter-pill.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Cards & Interactions */

.card-hover-effect {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: var(--td-card-radius);
  border: 1px solid #e2e8f0;
}

.card-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: var(--td-shadow-hover);
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0.75rem;
  padding: 0.4rem 0.65rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  min-width: 52px;
}

.event-date-badge .day {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: #0284c7;
}

.event-date-badge .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

/* POI Cards */

.poi-card-img {
  height: 210px;
  object-fit: cover;
}

.poi-tag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* Kira Concierge Widget */

.kira-box {
  background: linear-gradient(145deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--td-card-radius);
}

.kira-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* Weather & Marine Widget */

.weather-card {
  background: #ffffff;
  border-radius: var(--td-card-radius);
  border: 1px solid #e2e8f0;
}

.wind-indicator {
  background: #f1f5f9;
  border-radius: 0.75rem;
  padding: 0.6rem 0.8rem;
}

/* Interactive Map Container */

.map-placeholder-box {
  min-height: 400px;
  background: #e2e8f0;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  border-radius: var(--td-card-radius);
  position: relative;
  overflow: hidden;
}

/* Quick Creator Card */

.creator-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border: 1px solid #fde68a;
  border-radius: var(--td-card-radius);
}

/* Scrollable Horizontal Badges bar */

.badge-scroll-container {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}

.badge-scroll-container::-webkit-scrollbar {
  height: 4px;
}

.badge-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Breadcrumb custom styling */

.breadcrumb-tidiria .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
  color: #94a3b8;
}

/* Modal styles */

.modal-hero-img {
  height: 320px;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Dark Mode Overrides for Bootstrap 5.3 data-bs-theme="dark" */

[data-bs-theme="dark"] .tidiria-topbar {
  background: rgba(33, 37, 41, 0.95) !important;
  border-bottom-color: #374151 !important;
}

[data-bs-theme="dark"] .card-hover-effect, [data-bs-theme="dark"] .weather-card, [data-bs-theme="dark"] .card.bg-white {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

[data-bs-theme="dark"] .bg-light {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .bg-white {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .text-dark {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
  background-color: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

[data-bs-theme="dark"] body {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .text-muted {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .offcanvas {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
}

