/* LubeWear Live — photography: hero poster, photo frames, gallery marquee */

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(4, 26, 46, 0.22);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.photo-caption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--slate);
  text-align: center;
}

/* ---- Hotel cards (Stay & Explore page) ---- */
.hotel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: -0.3rem 0 0.6rem;
}

.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.dist-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sky);
  color: var(--blue-deep);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
}

.dist-chip svg { width: 14px; height: 14px; }

.hotel-card .btn { margin-top: 1.1rem; }

.hotel-card .card-media img[src$=".svg"] {
  object-fit: contain;
  background: var(--white);
  padding: 12%;
  box-sizing: border-box;
}

/* ---- Hotel sort / filter toolbar ---- */
.hotel-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  margin-bottom: 2rem;
}

.tool-group { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }

.tool-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-right: 0.3rem;
}

.tool-btn {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid rgba(16, 40, 60, 0.18);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tool-btn:hover { border-color: var(--blue); color: var(--blue); }

.tool-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---- Founding sponsors strip ---- */
.sponsor-strip { background: #f6fafd; }

.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.sponsor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(0, 102, 170, 0.14);
  border-radius: 14px;
  padding: 1.1rem 1.7rem;
  box-shadow: 0 6px 20px rgba(4, 26, 46, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.sponsor-logo img { max-height: 72px; max-width: 240px; display: block; }

.sponsors-row .logo-slot { min-height: 72px; min-width: 160px; border-radius: 14px; }

/* ---- Gallery marquee ---- */
.gallery { overflow: hidden; padding-bottom: 0; }

.marquee {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  padding: 0.5rem 0 1rem;
  animation: marquee-scroll 45s linear infinite;
}

.marquee:hover { animation-play-state: paused; }

.marquee-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 34vw, 460px);
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 26, 46, 0.18);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.marquee-item:hover img { transform: scale(1.05); }

.marquee-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.1rem 0.85rem;
  background: linear-gradient(transparent, rgba(4, 26, 46, 0.85));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; overflow-x: auto; width: auto; }
}

/* ---- Side-by-side photo pairs on subpages ---- */
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.photo-duo figure { margin: 0; }

.photo-duo .photo-frame { aspect-ratio: 3 / 2; }

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

@media (max-width: 720px) { .photo-duo { grid-template-columns: 1fr; } }
