/**
 * Excursion Booking — Carousel Addon
 * Full-height image card design for [eb_excursion_slider] Elementor widget.
 *
 * Card anatomy:
 *  ┌──────────────────────────────────────────────────────┐
 *  │  [♡ heart]                           [TYPE BADGE]    │
 *  │                                                      │
 *  │              IMAGE  (full card height)               │
 *  │                                                      │
 *  │              gradient overlay                        │
 *  │                                                      │
 *  │  ─────── ╭─ WAVE SVG ──────────────╮ ────────────── │
 *  │  white   │  ⏱ Duration              │  FROM €150    │
 *  │  body    │  Title                   │  / ADULT      │
 *  │  (left)  │  Description             │  (blue badge) │
 *  └──────────┴──────────────────────────┴───────────────┘
 *
 * File intentionally separate from eb-frontend.css so it can be updated or
 * customised without touching the core plugin stylesheet.
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════════ */
.eb-slider-wrap {
  --card-height:      460px;   /* overridden by Elementor inline style */
  --card-radius:      22px;
  --card-blue:        #2563eb;
  --card-blue-dk:     #1651b0;
  --card-wave-split:  68%;     /* point where white→blue split happens */
  --card-badge-w:     32%;
  --card-gap:         24px;
  --nav-size:         44px;
  --transition-ease:  cubic-bezier(.22,.68,0,1.15);
}

/* ═══════════════════════════════════════════════════════════════════════════
   WRAPPER & SECTION HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.eb-slider-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 52px;   /* space for pagination dots */
  overflow: hidden;
}

/* Header row: title/subtitle on left, nav arrows on right */
.eb-slider-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.eb-slider-header__text {}
.eb-slider-header__title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  color: #0d2244;
  margin: 0 0 5px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.eb-slider-header__subtitle {
  font-size: 14px;
  color: #8fa3b8;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Navigation arrows ────────────────────────────────────────────────────── */
.eb-slider-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.eb-slider-nav__btn {
  width: var(--nav-size);
  height: var(--nav-size);
  border-radius: 50%;
  border: 1.5px solid #dce8f3;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d2244;

  transition: all .22s var(--transition-ease);
  flex-shrink: 0;
  padding: 0;
}
.eb-slider-nav__btn svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.eb-slider-nav__btn:hover {
  background: var(--card-blue);
  border-color: var(--card-blue);
  color: #fff;

  transform: scale(1.08);
}
.eb-slider-nav__btn:active { transform: scale(0.95); }
.eb-slider-nav__btn.swiper-button-disabled {
  opacity: .32;
  pointer-events: none;
  box-shadow: none;
}

/* ── Pagination dots ──────────────────────────────────────────────────────── */
.eb-slider-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.eb-slider-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5d7eb;
  opacity: 1;
  transition: all .25s ease;
  cursor: pointer;
}
.eb-slider-pagination .swiper-pagination-bullet-active {
  background: var(--card-blue);
  width: 24px;
  border-radius: 4px;
}

/* ── Swiper container ─────────────────────────────────────────────────────── */
.eb-slider-swiper {
  overflow: visible;
}
.eb-slider-swiper .swiper-wrapper {
  align-items: stretch;
}
.eb-slider-swiper .swiper-slide {
  height: auto;
  display: flex;
/* =========================
   EXCURSION CARD UI
========================= */

:root {
  --sea-light: #59d8e6;
  --sea-main: #16b8d9;
  --sea-dark: #0a6bde;
  --text-dark: #082a5e;
  --text-light: #6c7a96;
  --card-radius: 34px;
}

/* CARD */
.excursion-card {
  width: 100%;
  background: #ffffff;
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  transition: all 0.35s ease;
  animation: ebExcCardIn .5s cubic-bezier(.22,.68,0,1.05) both;
  animation-delay: var(--delay, 0ms);
  display: flex;
  flex-direction: column;
}

@keyframes ebExcCardIn {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.excursion-card:hover {
  transform: translateY(-8px);
}

/* MAIN IMAGE */
.excursion-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.excursion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.22,.68,0,1.1);
}
.excursion-card:hover .excursion-image img { transform: scale(1.06); }

.excursion-image__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #48cae4 0%, #0096c7 50%, #0077b6 100%);
}

/* HEART + TYPE BADGE (overlay on image) */
.excursion-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.excursion-card__heart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .22s cubic-bezier(.22,.68,0,1.4);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.excursion-card__heart svg { width: 17px; height: 17px; stroke: #1a4fa0; fill: none; pointer-events: none; }
.excursion-card__heart:hover { transform: scale(1.18); }
.excursion-card__heart:hover svg,
.excursion-card__heart[aria-pressed="true"] svg { fill: #e53935; stroke: #e53935; }

.excursion-card__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .25s ease;
}
.excursion-card__type svg { width: 11px; height: 11px; stroke: rgba(255,255,255,.9); flex-shrink: 0; }

/* WAVE SEPARATOR */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 2;
}
.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* CONTENT */
.excursion-content {
  position: relative;
  background: #ffffff;
  padding: 28px 28px 34px;
  flex: 1;
}

/* DURATION */
.excursion-duration {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sea-main);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.excursion-duration i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--sea-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex-shrink: 0;
}
.excursion-duration i svg { width: 18px; height: 18px; stroke: var(--sea-main); }

/* ── Duration sub-elements (.excursion-duration__label / __value) ─────────── */
.excursion-duration__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.excursion-duration__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
  line-height: 1;
}
.excursion-duration__value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}



/* TITLE */
.excursion-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  transition: color .2s ease;
}
.excursion-card:hover .excursion-title { color: var(--sea-dark); }

/* DESCRIPTION */
.excursion-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 60%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* LOCATION (optional) */
.excursion-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 10px;
}
.excursion-location svg { width: 13px; height: 13px; stroke: var(--text-light); flex-shrink: 0; }

/* PRICE BOX */
.excursion-price {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 165px;
  height: 190px;
  background: linear-gradient(180deg, #5ce1e6 0%, #15b9da 45%, #0a6bde 100%);
  border-top-left-radius: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: filter .3s ease;
  overflow: hidden;
}
.excursion-card:hover .excursion-price {
  filter: brightness(1.06) saturate(1.06);
}
.excursion-price::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.35), transparent 45%);
  border-top-left-radius: 46px;
  pointer-events: none;
}
/* shimmer on hover */
.excursion-price::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  background-size: 250% 100%;
  background-position: -150% 0;
  transition: background-position .65s ease;
  pointer-events: none;
}
.excursion-card:hover .excursion-price::after { background-position: 200% 0; }

.price-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.price-value {
  color: #ffffff;
  font-size: 68px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 12px;

  position: relative;
  z-index: 1;
  letter-spacing: -0.04em;
}
.price-value--sm {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}
.price-person {
  color: rgba(255, 255, 255, 0.95);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FILTER BAR  (optional, enabled via Elementor control)
   ═══════════════════════════════════════════════════════════════════════════ */
.eb-slider-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.eb-slider-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid #dce8f3;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #3d5a80;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}
.eb-slider-filter:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f0f6ff;
}
.eb-slider-filter.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.30);
}
.eb-slider-filter svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.eb-slider-filter-select {
  padding: 8px 36px 8px 16px;
  border-radius: 100px;
  border: 1.5px solid #dce8f3;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%233d5a80' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none;
  font-size: 13px;
  font-weight: 600;
  color: #3d5a80;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1;
}
.eb-slider-filter-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* No results message */
.eb-slider-no-results {
  text-align: center;
  padding: 48px 24px;
  color: #8fa3b8;
  width: 100%;
}
.eb-slider-no-results__icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  opacity: .6;
}
.eb-slider-no-results p {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .eb-slider-wrap { --card-height: 380px; }
  .eb-slider-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .eb-slider-nav { align-self: flex-end; }
  .eb-exc-card__title { font-size: 15px; }
  .eb-exc-card__price-amt { font-size: 22px; }
  .eb-exc-card__body { padding: 2px 10px 18px 14px; }
}
@media (max-width: 480px) {
  .eb-slider-wrap { --card-height: 340px; }
  .eb-slider-nav__btn { width: 36px; height: 36px; }
  .eb-exc-card__wave { height: 46px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ELEMENTOR EDITOR tweaks
   ═══════════════════════════════════════════════════════════════════════════ */
.elementor-element .eb-slider-wrap { overflow: visible; }
.elementor-editor-active .eb-slider-swiper .swiper-wrapper {
  transform: none !important;  /* prevent transform glitches in editor */
}
