/*
Theme Name: Neptun
Theme URI: https://humboat.hr
Author: Hum Boat
Description: Tailwind-powered theme for the Neptun day-cruise tour aboard vessel Hum, departing from Seget Donji / Okrug Gornji / Trogir.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: neptun
*/

/* This stylesheet is intentionally minimal — layout & utility styling
   is handled by Tailwind CSS (CDN, loaded in header.php).
   Only things Tailwind's CDN build can't express live here. */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Custom scrollbar - subtle nautical touch */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a2e3d; }
::-webkit-scrollbar-thumb { background: #2a8f96; border-radius: 10px; }

/* Swiper overrides (CDN swiper ships its own base CSS, these are brand tweaks) */
.swiper-button-next, .swiper-button-prev {
  background: #ffffff;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(10,40,55,0.18);
  color: #0a2e3d !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 16px !important;
  font-weight: 800;
}
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: #d4a843 !important;
  opacity: 1;
}

/* Reveal-on-scroll utility (paired with IntersectionObserver in main.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
#lightbox { backdrop-filter: blur(4px); }
#lightbox img { box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* Sticky header transition handled via JS toggling Tailwind classes,
   this just smooths the background-color change */
#site-header { transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease; }

/* Animated boat-wake underline for nav active state */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: #d4a843;
  transition: width .3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
