/**
 * Limitless TCI — front-end styles
 * Mobirise-inspired: full-width sections, card grids, ocean palette (fresh).
 */

:root {
  --ltci-ocean: #0a6e8a;
  --ltci-ocean-dark: #084d61;
  --ltci-ocean-light: #e8f4f8;
  --ltci-sand: #faf6f0;
  --ltci-sunset: #e8913a;
  --ltci-ink: #1a3340;
  --ltci-muted: #5a7280;
  --ltci-white: #ffffff;
  --ltci-radius: 10px;
  --ltci-shadow: 0 8px 28px rgba(26, 51, 64, 0.12);
  --ltci-font: 'Source Sans 3', system-ui, sans-serif;
  --ltci-display: 'Playfair Display', Georgia, serif;
  --ltci-container: min(1120px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ltci-font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ltci-ink);
  background: var(--ltci-white);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.ltci-main {
  flex: 1 0 auto;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ltci-ocean); text-decoration: none; }
a:hover { color: var(--ltci-ocean-dark); }

.ltci-container { width: var(--ltci-container); margin-inline: auto; }

/* Header */
.ltci-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10, 110, 138, 0.12);
}

.ltci-header-inner {
  width: var(--ltci-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.ltci-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ltci-header-social {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.ltci-header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ltci-ocean);
  opacity: 0.78;
  line-height: 0;
  padding: 2px;
}

.ltci-header-social a:hover {
  opacity: 1;
  color: var(--ltci-ocean-dark);
}

.ltci-header-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.ltci-brand { flex-shrink: 0; }

.ltci-brand-text {
  font-family: var(--ltci-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ltci-ocean-dark);
}

.custom-logo { max-height: 52px; width: auto; }

.ltci-nav { display: flex; align-items: center; gap: 1.25rem; }

.ltci-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ltci-menu a {
  color: var(--ltci-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.ltci-menu a:hover { color: var(--ltci-ocean); }

.ltci-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.ltci-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ltci-ink);
}

/* Buttons */
.ltci-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.ltci-btn:hover { transform: translateY(-1px); }

.ltci-btn-primary {
  background: var(--ltci-ocean);
  color: var(--ltci-white) !important;
}

.ltci-btn-primary:hover { background: var(--ltci-ocean-dark); }

.ltci-btn-secondary {
  background: var(--ltci-ocean-light);
  color: var(--ltci-ocean-dark) !important;
}

.ltci-btn-ghost {
  background: transparent;
  border-color: var(--ltci-white);
  color: var(--ltci-white) !important;
}

.ltci-btn-on-dark { border-color: rgba(255,255,255,0.7); }

.ltci-header-cta { white-space: nowrap; }

/* Hero */
.ltci-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ltci-ocean-dark);
}

.ltci-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ltci-hero-video,
.ltci-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ltci-hero-youtube {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ltci-hero-youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  max-width: none;
  transform: translate(-50%, -50%);
  border: 0;
}

.ltci-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #084d61 0%, #0a8fad 45%, #2cb8c4 100%);
}

.ltci-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 0;
}

.ltci-hero-content {
  width: var(--ltci-container);
  margin-inline: auto;
  color: var(--ltci-white);
  text-align: center;
}

.ltci-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.9;
}

.ltci-hero-title {
  font-family: var(--ltci-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.15;
}

.ltci-hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

.ltci-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Sections */
.ltci-section { padding: 4rem 0; }

.ltci-section-alt { background: var(--ltci-sand); }

.ltci-section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.ltci-section-header h2 {
  font-family: var(--ltci-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.5rem;
  color: var(--ltci-ocean-dark);
}

.ltci-section-header p { margin: 0; color: var(--ltci-muted); }

.ltci-section-cta { text-align: center; margin-top: 2rem; }

/* Cards */
.ltci-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ltci-card {
  background: var(--ltci-white);
  border-radius: var(--ltci-radius);
  overflow: hidden;
  box-shadow: var(--ltci-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ltci-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26, 51, 64, 0.16);
}

.ltci-card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ltci-ocean-light);
}

.ltci-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.ltci-card:hover .ltci-card-media img { transform: scale(1.04); }

.ltci-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--ltci-ocean-light), #c5e8ef);
}

.ltci-card-body { padding: 1.15rem 1.25rem 1.35rem; }

.ltci-card-body h2,
.ltci-card-body h3 {
  font-family: var(--ltci-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.ltci-card-body h2 a,
.ltci-card-body h3 a { color: inherit; }

.ltci-card-body p {
  margin: 0 0 0.65rem;
  color: var(--ltci-muted);
  font-size: 0.95rem;
}

.ltci-price {
  font-weight: 700;
  color: var(--ltci-sunset) !important;
}

.ltci-price-lg { font-size: 1.15rem; }

.ltci-link { font-weight: 700; font-size: 0.9rem; }

.ltci-gallery-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(8, 77, 97, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

/* CTA band */
.ltci-cta-band {
  background: linear-gradient(120deg, var(--ltci-ocean-dark), var(--ltci-ocean));
  color: var(--ltci-white);
  padding: 3rem 0;
}

.ltci-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ltci-cta-inner h2 {
  font-family: var(--ltci-display);
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}

.ltci-cta-inner p { margin: 0; opacity: 0.92; }

.ltci-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Page content / block editor output */
.ltci-page-header {
  padding: 2.5rem 0 1rem;
  text-align: center;
}

.ltci-page-header h1 {
  font-family: var(--ltci-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0;
  color: var(--ltci-ocean-dark);
}

.ltci-lead { color: var(--ltci-muted); font-size: 1.1rem; }

.ltci-breadcrumb { font-size: 0.85rem; margin-bottom: 0.35rem; }

.ltci-page-content {
  padding: 1rem 0 3.5rem;
}

.ltci-page-content .wp-block-gallery {
  --wp--style--block-gap: 0.75rem;
}

.ltci-page-content .wp-block-gallery img {
  border-radius: 8px;
}

.ltci-single-feature {
  margin-bottom: 1.5rem;
}

.ltci-single-feature img {
  border-radius: var(--ltci-radius);
  width: 100%;
}

.ltci-tour-book { margin-top: 2rem; }

/* Footer — single line pinned to page bottom */
.ltci-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--ltci-ink);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.ltci-footer-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: nowrap;
}

.ltci-footer-item {
  flex: 0 0 auto;
  color: inherit;
}

.ltci-footer-bar a.ltci-footer-item {
  color: #a8dce8;
  text-decoration: none;
}

.ltci-footer-bar a.ltci-footer-item:hover {
  color: #fff;
}

.ltci-footer-sep {
  flex: 0 0 auto;
  opacity: 0.45;
  user-select: none;
}

/* Mobile book FAB */
.ltci-fab-book {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  background: var(--ltci-sunset);
  color: #fff !important;
  font-weight: 800;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--ltci-shadow);
}

/* Responsive */
@media (max-width: 860px) {
  .ltci-nav-toggle { display: flex; }

  .ltci-header-social svg {
    width: 14px;
    height: 14px;
  }

  .ltci-header-left { gap: 0.35rem; }

  .ltci-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ltci-white);
    padding: 1rem;
    border-bottom: 1px solid rgba(10, 110, 138, 0.15);
    box-shadow: var(--ltci-shadow);
  }

  .ltci-nav.is-open { display: flex; }

  .ltci-menu { flex-direction: column; }

  .ltci-header-cta { width: 100%; text-align: center; }

  .ltci-fab-book {
    display: inline-flex;
    bottom: calc(2.35rem + 0.75rem);
  }
}

@media (max-width: 600px) {
  .ltci-hero { min-height: 62vh; }
  .ltci-section { padding: 2.75rem 0; }
}
