/* ==========================================================================
   VIRTUAL TOUR FASILITAS 360 - RS ISLAM WONOSOBO
   Extracted from app/Views/frontend/virtual_tour.php (Stage 3.4D.4)
   ========================================================================== */

.tour-card {
    background: #FFFFFF;
    border: 1px solid #D5DED7;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 16px rgba(6, 78, 59, 0.05);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease;
  }

  .tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #C6A45A 0%, #D4AF37 50%, #C6A45A 100%);
    z-index: 3;
    opacity: 0.9;
    transition: opacity 0.25s ease, height 0.25s ease;
  }

  .tour-card:hover::before {
    opacity: 1;
    height: 4px;
  }

  .tour-card:hover {
    border-color: #C6A45A !important;
    box-shadow: 0 16px 32px rgba(198, 164, 90, 0.16), 0 4px 16px rgba(6, 78, 59, 0.06) !important;
    transform: translateY(-4px);
  }

  .tour-card__img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #174C3C;
  }

  .tour-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .tour-card:hover .tour-card__img {
    transform: scale(1.05);
  }

  .tour-card__badge-360 {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 59, 46, 0.9);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 0.675rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .tour-card__body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .tour-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #174C3C;
    margin: 0 0 8px;
    line-height: 1.35;
  }

  .tour-card__desc {
    font-size: 0.835rem;
    color: #24352F;
    opacity: 0.88;
    line-height: 1.55;
    margin: 0 0 16px;
    flex-grow: 1;
  }

  .tour-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #174C3C;
    border: 1px solid #174C3C;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #FFFFFF !important;
    text-decoration: none;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(23, 76, 60, 0.15);
    transition: all 0.25s ease;
  }

  .tour-card__btn:hover {
    background: #103B2E;
    border-color: #103B2E;
    box-shadow: 0 6px 18px rgba(23, 76, 60, 0.25);
    transform: translateY(-1px);
    color: #FFFFFF !important;
  }
