/* LadyMarcell-3 — OBSIDIAN TIDE
   Immersive dark luxury · aurora glow · cinematic flow */

:root {
  /* LM1 Tide palette */
  --navy: #217799;
  --navy-deep: #1a6280;
  --blue: #4aa3b5;
  --blue-hover: #3b8fa0;
  --aqua: #4aa3b5;
  --deep: #217799;
  --sand: #faf6f0;
  --sand-warm: #f3eee6;
  --foam: #ffffff;
  --sky: #dff0f4;
  --coral: #e0a090;
  --muted: #6a8a96;
  --line-solid: #d7e8ec;

  /* RGB channels for translucent overlays on dark surfaces */
  --navy-rgb: 33, 119, 153;
  --navy-deep-rgb: 26, 98, 128;
  --blue-rgb: 74, 163, 181;
  --sky-rgb: 223, 240, 244;
  --coral-rgb: 224, 160, 144;
  --sand-rgb: 250, 246, 240;

  /* Obsidian layout + LM1 light Tide surfaces */
  --text: var(--deep);
  --line: var(--line-solid);
  --bg: var(--sand);
  --surface: var(--foam);
  --gold: var(--coral);
  --aurora: var(--sky);
  --ease-tide: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Infant", Georgia, serif;
}

body.theme-obsidian {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.theme-obsidian::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(closest-side at 15% 20%, rgba(var(--blue-rgb), 0.12), transparent 70%),
    radial-gradient(closest-side at 85% 15%, rgba(var(--sky-rgb), 0.55), transparent 65%),
    radial-gradient(closest-side at 60% 85%, rgba(var(--coral-rgb), 0.08), transparent 60%),
    var(--sand);
  animation: obsidian-aurora 26s ease-in-out infinite alternate;
}

@keyframes obsidian-aurora {
  from { transform: translate3d(-3%, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(3%, 2%, 0) rotate(4deg) scale(1.08); }
}

body.theme-obsidian::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.theme-obsidian .sub-header,
.theme-obsidian .title-bar,
.theme-obsidian .page-layout,
.theme-obsidian .booking-page,
.theme-obsidian .croatia-page {
  position: relative;
  z-index: 2;
}

.theme-obsidian .site-header {
  z-index: 100;
}

.theme-obsidian .site-header {
  background: #217799;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.theme-obsidian .site-header.is-scrolled {
  background: #217799;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.theme-obsidian .logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: clamp(20px, 2.6vw, 32px);
  color: var(--deep);
  text-shadow: none;
  transition: opacity 0.3s;
}

.theme-obsidian .logo:hover {
  color: var(--blue);
  text-shadow: none;
  opacity: 0.88;
}

.theme-obsidian .logo .brand-logo {
  filter: none;
}

.theme-obsidian .header-nav a,
.theme-obsidian .icon-btn {
  color: rgba(255, 255, 255, 0.88);
}

.theme-obsidian .header-nav a:hover {
  color: #fff;
}

.theme-obsidian .mobile-nav-toggle-bar {
  background: rgba(255, 255, 255, 0.92);
}

.theme-obsidian .header-nav a:hover {
  color: var(--blue);
  text-shadow: none;
}

.theme-obsidian .sub-header {
  background: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.theme-obsidian .contact-pill {
  border-color: var(--line);
  color: var(--muted);
  border-radius: 999px;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.theme-obsidian .contact-pill:hover {
  color: var(--gold);
  border-color: rgba(var(--coral-rgb), 0.5);
  box-shadow: 0 0 24px rgba(var(--coral-rgb), 0.15);
}

.theme-obsidian .title-bar {
  text-align: center;
  background: transparent;
}

.theme-obsidian .title-bar h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(46px, 8vw, 96px);
  color: var(--deep);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(36px);
  filter: blur(10px);
  animation: tide-in 1.1s 0.25s var(--ease-tide) forwards;
}

@keyframes tide-in {
  to { opacity: 1; transform: none; filter: none; }
}

.theme-obsidian .title-meta {
  justify-content: center;
  color: var(--muted);
  opacity: 0;
  animation: tide-in 1s 0.5s var(--ease-tide) forwards;
}

.theme-obsidian .title-meta em {
  color: var(--gold);
  font-style: normal;
}

.theme-obsidian .hero {
  position: relative;
  margin: 0 auto;
  max-width: min(1500px, calc(100% - 24px));
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(var(--blue-rgb), 0.15),
    0 40px 100px rgba(0, 0, 0, 0.55);
}

.theme-obsidian .hero::after {
  display: none;
}

.theme-obsidian .hero-img {
  transform: scale(1.15);
  will-change: transform;
  transition: transform 0.1s linear;
}

.theme-obsidian .sidebar-inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 24px 60px rgba(var(--navy-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.theme-obsidian .sidebar-title,
.theme-obsidian .selection-value:not(.is-placeholder),
.theme-obsidian h1,
.theme-obsidian h2,
.theme-obsidian h3 {
  color: var(--deep);
}

.theme-obsidian .sidebar-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
}

.theme-obsidian h1,
.theme-obsidian h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
}

.theme-obsidian .toys-list h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: none;
}

.theme-obsidian .sidebar-sub,
.theme-obsidian .sidebar-rate,
.theme-obsidian .sidebar-help,
.theme-obsidian .selection-label,
.theme-obsidian p,
.theme-obsidian .enquire-intro,
.theme-obsidian .booking-intro {
  color: var(--muted);
}

.theme-obsidian .availability-link {
  color: var(--blue);
}

.theme-obsidian .sidebar-link {
  color: var(--muted);
  border-bottom-color: var(--line);
}

.theme-obsidian .sidebar-link:hover {
  color: var(--gold);
}

.theme-obsidian .btn {
  border-radius: 999px;
  transition: transform 0.4s var(--ease-tide), box-shadow 0.4s, filter 0.3s;
}

.theme-obsidian .btn-enquire {
  background: var(--deep);
  border: 1px solid var(--deep);
  color: var(--foam);
  box-shadow: none;
}

.theme-obsidian .btn-enquire:hover {
  background: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--navy-rgb), 0.2);
}

.theme-obsidian .btn-reserve,
.theme-obsidian .btn-send,
.theme-obsidian .btn-apply-selection {
  background: var(--blue);
  color: var(--foam);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(var(--blue-rgb), 0.22);
}

.theme-obsidian .btn-reserve:hover,
.theme-obsidian .btn-send:hover,
.theme-obsidian .btn-apply-selection:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
}

.theme-obsidian .content-section {
  border-top-color: var(--line);
}

.theme-obsidian .section-label,
.theme-obsidian .toys-section .section-label,
.theme-obsidian .features-section .section-label,
.theme-obsidian .destinations-section .section-label {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
  color: var(--deep);
}

/* Alternating section bands — full-bleed light Tide shades */
.theme-obsidian .page-layout {
  overflow: visible;
}

.theme-obsidian .main-col > .content-section,
.theme-obsidian .main-col > .gallery-section,
.theme-obsidian .main-col > .features-marquee-section {
  position: relative;
  box-sizing: border-box;
}

.theme-obsidian #description {
  --section-band: var(--foam);
  background: transparent !important;
  padding-top: 48px !important;
  padding-bottom: 40px !important;
}

.theme-obsidian .specs-section {
  --section-band: var(--sky);
  background: transparent !important;
  padding-top: 56px !important;
  padding-bottom: 48px !important;
}

.theme-obsidian .toys-section {
  --section-band: var(--sand);
  background: transparent !important;
  padding-top: 56px !important;
  padding-bottom: 48px !important;
}

.theme-obsidian .gallery-section {
  --section-band: var(--sand-warm);
  background: transparent !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 56px !important;
  padding-bottom: 48px !important;
}

.theme-obsidian .features-marquee-section {
  --section-band: var(--sky);
  background: transparent !important;
  border-top: none !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  overflow: visible !important;
}

.theme-obsidian .features-menu-trigger {
  color: rgba(var(--navy-rgb), 0.55);
}

.theme-obsidian .features-menu-popup {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(var(--blue-rgb), 0.18);
}

.theme-obsidian .destinations-section {
  --section-band: var(--foam);
  background: transparent !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
  padding-right: 80px !important;
}

.theme-obsidian .enquire-section {
  --section-band: var(--sand-warm);
  background: transparent;
}

.theme-obsidian .enquire-card h2.brand-logo-heading {
  justify-content: center;
  margin-bottom: 12px;
}

.theme-obsidian .gallery-modal-header-center .brand-logo-wrap {
  margin-bottom: 8px;
}

.theme-obsidian .enquire-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.theme-obsidian [data-reveal] {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(10px);
  transition:
    opacity 1.05s var(--ease-tide),
    transform 1.05s var(--ease-tide),
    filter 1.05s var(--ease-tide);
  transition-delay: var(--reveal-delay, 0ms);
}

.theme-obsidian [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.theme-obsidian .gallery-grid a,
.theme-obsidian .dest-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(var(--navy-rgb), 0.12);
}

.theme-obsidian .gallery-grid img,
.theme-obsidian .dest-card img,
.theme-obsidian .booking-aside img {
  filter: none;
  transition: transform 1.2s var(--ease-tide), filter 0.7s;
}

.theme-obsidian .gallery-grid a:hover img,
.theme-obsidian .dest-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.03) saturate(1.05);
}

.theme-obsidian .enquire-card,
.theme-obsidian .booking-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(var(--navy-rgb), 0.12);
  color: var(--text);
}

.theme-obsidian .enquire-card h2,
.theme-obsidian .booking-card h2 {
  color: var(--deep);
}

.theme-obsidian .form-field label,
.theme-obsidian .consent {
  color: var(--muted);
}

.theme-obsidian .form-field input,
.theme-obsidian .form-field select,
.theme-obsidian .form-field textarea,
.theme-obsidian .phone-row select {
  background: var(--foam);
  border-color: var(--line);
  color: var(--text);
  border-radius: 12px;
}

.theme-obsidian .form-field input:focus,
.theme-obsidian .form-field select:focus,
.theme-obsidian .form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.12);
}

.theme-obsidian .croatia-hero,
.theme-obsidian .croatia-break {
  border-radius: 18px;
  overflow: hidden;
  margin-left: 14px;
  margin-right: 14px;
  position: relative;
}

.theme-obsidian .croatia-hero::after,
.theme-obsidian .croatia-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(var(--navy-deep-rgb), 0.55));
  pointer-events: none;
}

.theme-obsidian .croatia-guide,
.theme-obsidian .croatia-facts,
.theme-obsidian .croatia-local,
.theme-obsidian .faq-section,
.theme-obsidian .articles-section,
.theme-obsidian .dest-croatia,
.theme-obsidian .croatia-cta,
.theme-obsidian .article-card,
.theme-obsidian .faq-section details,
.theme-obsidian .booking-aside {
  background: var(--foam) !important;
  color: var(--text);
  border-color: var(--line) !important;
}

.theme-obsidian .croatia-guide h2,
.theme-obsidian .croatia-guide h3,
.theme-obsidian .croatia-facts h2,
.theme-obsidian .faq-section h2,
.theme-obsidian .articles-section h2,
.theme-obsidian .dest-croatia h2,
.theme-obsidian .croatia-cta h2,
.theme-obsidian summary,
.theme-obsidian .article-card h3 {
  color: var(--deep) !important;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
}

.theme-obsidian .croatia-guide p,
.theme-obsidian .croatia-facts p,
.theme-obsidian .faq-answer p,
.theme-obsidian .article-card p {
  color: var(--muted) !important;
}

.theme-obsidian .croatia-guide a,
.theme-obsidian .croatia-facts a {
  color: var(--blue);
}

.theme-obsidian .croatia-hero-cta,
.theme-obsidian .croatia-book-btn {
  border-radius: 999px !important;
  background: var(--blue) !important;
  color: var(--foam) !important;
}

.theme-obsidian .croatia-hero-copy h1 {
  color: #fff !important;
}

.theme-obsidian .croatia-hero-copy p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.theme-obsidian .site-footer {
  background: var(--deep);
  border-top: none;
  border-radius: 0;
  color: #fff;
}

.theme-obsidian .site-footer .footer-grid h3 {
  color: #fff;
}

.theme-obsidian .site-footer .footer-grid--simple a {
  color: rgba(255, 255, 255, 0.85);
}

.theme-obsidian .site-footer .footer-grid--simple a:hover {
  color: #fff;
}

.theme-obsidian .site-footer .ghost-btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}

.theme-obsidian .site-footer .footer-bottom,
.theme-obsidian .site-footer .footer-newsletter {
  border-color: rgba(255, 255, 255, 0.15);
}

.theme-obsidian .site-footer .footer-bottom,
.theme-obsidian .site-footer .footer-newsletter p {
  color: #fff;
}

.theme-obsidian .site-footer .footer-bottom p {
  color: #fff;
}

.theme-obsidian .selection-editor {
  border-top-color: var(--line);
  animation: tide-panel 0.45s var(--ease-tide);
}

@keyframes tide-panel {
  from { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.theme-obsidian .breadcrumbs a:hover { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  body.theme-obsidian::before,
  .theme-obsidian .title-bar h1,
  .theme-obsidian .title-meta,
  .theme-obsidian .hero-img,
  .theme-obsidian [data-reveal] {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
