/* ============================================================
   DPR TJULNJI — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --ocean-deep:    #0a1628;
  --ocean-mid:     #0d2240;
  --ocean-blue:    #1a3a5c;
  --sea-green:     #0e7a5f;
  --sea-light:     #12a87e;
  --text-light:    #e8edf2;
  --text-muted:    #8fa8bc;
  --accent:        #ff6b35;
  --accent-light:  #ff8c5a;
  --white:         #ffffff;
  --card-bg:       rgba(255,255,255,0.04);
  --card-border:   rgba(255,255,255,0.08);
  --nav-height:    64px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--ocean-deep);
  color: var(--text-light);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ── TYPOGRAPHY ── */
.section-eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sea-light); font-weight: 600; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Bebas Neue'; font-size: clamp(36px, 5vw, 56px);
  color: var(--white); letter-spacing: 1px; line-height: 1; margin-bottom: 1rem;
}
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem;
}
.view-all {
  font-size: 13px; color: var(--sea-light); font-weight: 500;
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s; white-space: nowrap;
}
.view-all:hover { gap: 10px; }
.divider { width: 40px; height: 3px; background: var(--sea-green); margin: 1rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--sea-green); color: white;
  padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.3px; transition: all 0.2s;
}
.btn-primary:hover { background: var(--sea-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block; color: var(--text-light); padding: 12px 24px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--card-border); transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: var(--card-bg); }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,22,40,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border); height: var(--nav-height);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; background: var(--sea-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue'; font-size: 17px; color: white; letter-spacing: 1px;
  flex-shrink: 0;
}
.logo-text { font-family: 'Bebas Neue'; font-size: 21px; letter-spacing: 2px; color: var(--white); display: block; line-height: 1; }
.logo-sub  { font-size: 10px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.nav-link {
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  letter-spacing: 0.3px; padding: 8px 12px; border-radius: 6px; transition: all 0.2s;
}
.nav-link:hover { color: var(--white); background: var(--card-bg); }
.nav-link.active { color: var(--sea-light); }
.nav-about {
  font-size: 13px; color: var(--text-muted); font-weight: 400;
  padding: 8px 12px; border-radius: 6px; transition: color 0.2s; flex-shrink: 0;
}
.nav-about:hover { color: var(--white); }
.nav-cta {
  background: var(--sea-green); color: white; padding: 8px 18px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.3px; transition: background 0.2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--sea-light); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-light); border-radius: 2px; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #0a1628;
  background:
    linear-gradient(to right, rgba(8,16,28,0.97) 35%, rgba(8,16,28,0.75) 70%, rgba(8,16,28,0.88) 100%),
    linear-gradient(to bottom, rgba(8,16,28,0.6) 0%, transparent 40%, rgba(8,16,28,0.7) 100%),
    url('../images/seal1.jpg') right 30% / 52% auto no-repeat;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(14,122,95,0.06) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(14,122,95,0.06) 1px,transparent 1px);
  background-size: 60px 60px;
}
.hero-depth {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top,rgba(10,22,40,0.9),transparent); z-index: 2;
}
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(14,122,95,0.3); animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.3); opacity: 0; }
}
.hero-content { position: relative; z-index: 3; margin-top: 4rem; padding-bottom: 4rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,122,95,0.2); border: 1px solid rgba(14,122,95,0.4);
  border-radius: 100px; padding: 6px 16px; font-size: 12px;
  color: var(--sea-light); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 6px; height: 6px; background: var(--sea-light);
  border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: 'Bebas Neue'; font-size: clamp(72px, 13vw, 160px);
  line-height: 0.92; letter-spacing: 4px; color: var(--white); margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hero-desc {
  font-size: 18px; color: var(--text-muted); font-weight: 300;
  max-width: 520px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; gap: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--card-border); flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Bebas Neue'; font-size: 42px; color: var(--white); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ocean-mid); padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--card-border);
}
.page-hero-title {
  font-family: 'Bebas Neue'; font-size: clamp(42px,6vw,72px);
  color: var(--white); letter-spacing: 1px; line-height: 1; margin-bottom: 0.5rem;
}
.page-hero-desc { font-size: 16px; color: var(--text-muted); font-weight: 300; max-width: 540px; }

/* ── POST HERO ── */
.post-hero {
  position: relative; min-height: 420px;
  display: flex; align-items: flex-end; padding-bottom: 3rem; overflow: hidden;
}
.post-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.post-hero-bg--default {
  background: linear-gradient(135deg,#0d2a45,#0a3d2e);
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(10,22,40,0.92) 0%,rgba(10,22,40,0.4) 100%); z-index: 1;
}
.post-hero-content { position: relative; z-index: 2; }
.post-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted); margin-bottom: 1rem;
}
.post-breadcrumb a:hover { color: var(--sea-light); }
.post-title {
  font-family: 'Bebas Neue'; font-size: clamp(36px,5vw,64px);
  color: var(--white); letter-spacing: 1px; line-height: 1.05; margin: 0.75rem 0 0.5rem;
}
.post-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }

/* ── NEWS SECTION ── */
.news-section { background: var(--ocean-mid); }
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px; background: var(--card-border);
  border-radius: 12px; overflow: hidden;
}
.news-card {
  background: var(--ocean-deep); padding: 2rem;
  cursor: pointer; transition: background 0.3s; position: relative;
}
.news-card:hover { background: var(--ocean-blue); }
.news-card.featured { grid-row: span 2; padding: 2.5rem; }
.news-card-cat {
  display: inline-block; font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--sea-light); font-weight: 600;
  margin-bottom: 0.75rem; padding: 4px 10px;
  background: rgba(14,122,95,0.15); border-radius: 4px;
}
.news-card-cat.orange { color: var(--accent); background: rgba(255,107,53,0.12); }
.news-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; margin-bottom: 1rem; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card h3 { font-family: 'Bebas Neue'; font-size: 24px; color: var(--white); letter-spacing: 0.3px; line-height: 1.1; margin-bottom: 0.6rem; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--sea-light); }
.news-card.featured h3 { font-size: 36px; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.news-card-date { margin-top: 1.25rem; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.news-card-date::before { content: ''; display: block; width: 20px; height: 1px; background: var(--sea-green); }
.news-featured-img { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg,var(--ocean-blue),var(--sea-green)); border-radius: 6px; margin-bottom: 1.5rem; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-img--placeholder { background: linear-gradient(135deg,#0d3a5c,#0e5c44); }

/* ── EVENTS ── */
.events-section { background: var(--ocean-deep); }
.events-list { display: flex; flex-direction: column; gap: 1px; background: var(--card-border); border-radius: 12px; overflow: hidden; }
.event-item {
  background: var(--ocean-mid); padding: 1.5rem 2rem;
  display: grid; grid-template-columns: 80px 1fr auto; gap: 2rem;
  align-items: center; transition: background 0.2s; cursor: pointer;
}
.event-item:hover { background: var(--ocean-blue); }
.event-date { text-align: center; }
.event-day { font-family: 'Bebas Neue'; font-size: 38px; color: var(--white); line-height: 1; }
.event-month { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--sea-light); font-weight: 600; }
.event-info h4 { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.event-info p { font-size: 13px; color: var(--text-muted); font-weight: 300; }
.event-loc { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.event-badge {
  padding: 6px 14px; border-radius: 100px; font-size: 11px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.event-badge.upcoming { background: rgba(14,122,95,0.2); color: var(--sea-light); border: 1px solid rgba(14,122,95,0.3); }
.event-badge.open     { background: rgba(255,107,53,0.15); color: var(--accent-light); border: 1px solid rgba(255,107,53,0.25); }

/* ── GALLERY ── */
.gallery-section { background: var(--ocean-mid); overflow: hidden; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 3px; border-radius: 12px; overflow: hidden;
}
.gallery-item { overflow: hidden; cursor: pointer; position: relative; }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }
.gallery-thumb {
  width: 100%; height: 100%; min-height: 180px;
  background: var(--ocean-blue); transition: transform 0.4s ease;
  position: relative; overflow: hidden;
}
.gallery-item:hover .gallery-thumb { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(10,22,40,0.85),transparent);
  opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay,
.gallery-album-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 13px; color: white; font-weight: 500; }

/* Gallery split layout */
.gallery-split {
  display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start;
}
.gallery-split-col { min-width: 0; }
.gallery-col-heading {
  font-family: 'Bebas Neue'; font-size: 22px; letter-spacing: 1px;
  color: var(--sea-green); text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

/* Photo grid (left column) */
.gallery-albums-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem;
}
.gallery-album-card { cursor: pointer; transition: transform 0.25s; text-decoration: none; display: block; }
.gallery-album-card:hover { transform: translateY(-4px); }
.gallery-album-thumb {
  aspect-ratio: 4/3; background: var(--ocean-blue);
  border-radius: 10px; overflow: hidden; position: relative; margin-bottom: 0.75rem;
}
.gallery-album-info h3 { font-family: 'Bebas Neue'; font-size: 18px; color: var(--white); letter-spacing: 0.3px; margin: 0 0 0.2rem; }
.gallery-album-date { font-size: 12px; color: var(--text-muted); }

/* Video list (right column) */
.gallery-videos-list { display: flex; flex-direction: column; gap: 1rem; }
.gallery-video-card {
  display: flex; gap: 1rem; align-items: center;
  cursor: pointer; transition: transform 0.2s; text-decoration: none;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 0.75rem; overflow: hidden;
}
.gallery-video-card:hover { transform: translateY(-2px); border-color: var(--sea-green); }
.gallery-video-thumb {
  flex-shrink: 0; width: 100px; height: 64px;
  border-radius: 7px; overflow: hidden; position: relative;
  background: var(--ocean-blue);
}
.gallery-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,22,40,0.45);
}
.gallery-video-info { min-width: 0; }
.gallery-video-info h3 {
  font-family: 'Bebas Neue'; font-size: 16px; color: var(--white);
  letter-spacing: 0.3px; margin: 0 0 0.25rem; white-space: normal;
  line-height: 1.2;
}

/* Video embed in item pages */
.video-embed { margin: 1.5rem 0; border-radius: 10px; overflow: hidden; }
.video-embed iframe { display: block; }

/* ── CATEGORIES ── */
.categories-section { background: var(--ocean-deep); }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.cat-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1.75rem 1.5rem;
  transition: all 0.25s; display: block;
}
.cat-card:hover { border-color: rgba(14,122,95,0.5); background: rgba(14,122,95,0.08); transform: translateY(-3px); }
.cat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 20px; }
.cat-icon.green  { background: rgba(14,122,95,0.2); }
.cat-icon.orange { background: rgba(255,107,53,0.15); }
.cat-icon.blue   { background: rgba(26,58,92,0.6); }
.cat-card h3 { font-family: 'Bebas Neue'; font-size: 20px; color: var(--white); letter-spacing: 0.3px; margin-bottom: 6px; }
.cat-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ── ARTICLES LISTING ── */
.articles-section  { background: var(--ocean-mid); }
.listing-section   { background: var(--ocean-deep); }
.articles-grid,
.listing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.article-card {
  background: var(--ocean-deep); border: 1px solid var(--card-border);
  border-radius: 12px; overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.listing-section .article-card { background: var(--ocean-mid); }
.article-card:hover { border-color: rgba(14,122,95,0.4); transform: translateY(-3px); }
.article-img { aspect-ratio: 16/9; overflow: hidden; }
.article-img-inner { width: 100%; height: 100%; min-height: 180px; transition: transform 0.4s; }
.article-card:hover .article-img-inner { transform: scale(1.04); }
.a1 { background: linear-gradient(135deg,#0d3a5c,#0e5c44); }
.a2 { background: linear-gradient(135deg,#1a3a4a,#0e4a5c); }
.a3 { background: linear-gradient(135deg,#0e4a3a,#1a3a2a); }
.article-body { padding: 1.5rem; flex: 1; }
.article-cat  { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--sea-light); font-weight: 600; margin-bottom: 0.5rem; padding: 3px 8px; background: rgba(26,170,138,0.12); border-radius: 4px; display: inline-block; }
/* Category label colors — one per slug (must come after .article-cat and .news-card-cat to win the cascade) */
.cat-aktualno, .cat-novice   { color: #1aaa8a; background: rgba(26,170,138,0.15); }
.cat-tjulnijada, .cat-tjulnjiada { color: #f1c40f; background: rgba(241,196,15,0.12); }
.cat-dogodki, .cat-srecanja   { color: #fb923c; background: rgba(251,146,60,0.12); }
.cat-apnea                    { color: #00bcd4; background: rgba(0,188,212,0.12); }
.cat-kulinarika               { color: #ff6b35; background: rgba(255,107,53,0.12); }
.cat-galerija, .cat-foto-galerija, .cat-foto-galerija-in-video { color: #a78bfa; background: rgba(167,139,250,0.12); }
.cat-reportaze                { color: #60a5fa; background: rgba(96,165,250,0.12); }
.cat-tehnicni-koticek         { color: #5dade2; background: rgba(93,173,226,0.12); }
.cat-clani                    { color: #34d399; background: rgba(52,211,153,0.12); }
.cat-drustvo                  { color: #6ee7b7; background: rgba(110,231,183,0.12); }
.cat-video                    { color: #f472b6; background: rgba(244,114,182,0.12); }
.cat-jadranje                 { color: #7dd3fc; background: rgba(125,211,252,0.12); }
.cat-potovanja                { color: #c4b5fd; background: rgba(196,181,253,0.12); }
.cat-tekmovanje, .cat-tekmovanja { color: #f87171; background: rgba(248,113,113,0.12); }
.cat-oprema                   { color: #94a3b8; background: rgba(148,163,184,0.12); }
.cat-predstavitve             { color: #fcd34d; background: rgba(252,211,77,0.12); }
.cat-podvodni-ribolov         { color: #38bdf8; background: rgba(56,189,248,0.12); }
.cat-razno                    { color: #9ca3af; background: rgba(156,163,175,0.12); }
.article-body h3 { font-family: 'Bebas Neue'; font-size: 21px; color: var(--white); letter-spacing: 0.3px; margin-bottom: 0.5rem; line-height: 1.1; }
.article-body h3 a { color: inherit; }
.article-body h3 a:hover { color: var(--sea-light); }
.article-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.article-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--card-border); display: flex; align-items: center; justify-content: space-between; }
.article-author { font-size: 12px; color: var(--text-muted); }
.article-arrow  { color: var(--sea-light); font-size: 16px; transition: transform 0.2s; }
.article-card:hover .article-arrow { transform: translateX(4px); }
.no-content { color: var(--text-muted); font-size: 15px; padding: 2rem 0; }

/* ── TECHNICAL ── */
.tech-section { background: var(--ocean-deep); }
.tech-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.tech-list { display: flex; flex-direction: column; gap: 1px; background: var(--card-border); border-radius: 12px; overflow: hidden; }
.tech-item {
  background: var(--ocean-mid); padding: 1.25rem 1.5rem;
  transition: background 0.2s; display: flex; align-items: center; gap: 1rem;
  border-left: 3px solid transparent;
}
.tech-item:hover, .tech-item.active { background: rgba(14,122,95,0.15); }
.tech-item.active { border-left-color: var(--sea-green); }
.tech-num { font-family: 'Bebas Neue'; font-size: 24px; color: var(--sea-green); opacity: 0.6; min-width: 32px; }
.tech-item h4 { font-size: 14px; font-weight: 500; color: var(--white); }
.tech-item p  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tech-preview { background: var(--ocean-mid); border: 1px solid var(--card-border); border-radius: 12px; padding: 2rem; position: sticky; top: calc(var(--nav-height) + 16px); }
.tech-preview-title { font-family: 'Bebas Neue'; font-size: 30px; color: var(--white); margin-bottom: 1rem; }
.tech-preview p { font-size: 14px; color: var(--text-muted); line-height: 1.8; font-weight: 300; }
.tech-meta { font-size: 12px; color: var(--text-muted); }

/* ── MEMBERSHIP ── */
.membership-section {
  background: linear-gradient(135deg,var(--ocean-mid),#0a2a1e);
  border-top: 1px solid rgba(14,122,95,0.3);
  border-bottom: 1px solid rgba(14,122,95,0.3);
}
.membership-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.membership-desc { color: var(--text-muted); font-weight: 300; line-height: 1.8; font-size: 15px; margin-bottom: 2rem; }
.membership-perks { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.perk { display: flex; align-items: flex-start; gap: 12px; }
.perk-icon { width: 32px; height: 32px; background: rgba(14,122,95,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.perk-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.perk-text strong { color: var(--text-light); font-weight: 500; display: block; margin-bottom: 2px; }
.membership-form { background: rgba(10,22,40,0.6); border: 1px solid var(--card-border); border-radius: 12px; padding: 2rem; }
.form-title { font-family: 'Bebas Neue'; font-size: 24px; color: var(--white); margin-bottom: 1.5rem; letter-spacing: 0.5px; }

/* ── CONTACT FORM ── */
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border); border-radius: 8px;
  padding: 10px 14px; color: var(--text-light);
  font-family: 'Outfit', sans-serif; font-size: 14px; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--sea-green); background: rgba(255,255,255,0.07); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; background: var(--sea-green); color: white; border: none;
  padding: 13px; border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.3px; transition: background 0.2s;
}
.form-submit:hover { background: var(--sea-light); }
.form-success { background: rgba(14,122,95,0.2); border: 1px solid rgba(14,122,95,0.4); border-radius: 8px; padding: 1.5rem; color: var(--sea-light); font-weight: 500; }
.form-required { color: var(--sea-light); }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checkbox-group { margin-bottom: 1rem; }
.form-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-checkbox-label input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--sea-green); }
.form-checkbox-label span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── FOOTER CONTACT SECTION ── */
.footer-contact { border-top: 1px solid var(--card-border); margin-top: 3rem; padding-top: 2.5rem; }
.footer-contact-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.footer-contact-text h5 { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 2px; color: var(--text-light); margin-bottom: 0.5rem; }
.footer-contact-text p { font-size: 13px; color: var(--text-muted); margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .footer-contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row-two { grid-template-columns: 1fr; }
}

/* ── POST BODY ── */
.post-layout { padding: 4rem 0; }
.post-body { max-width: 780px; margin: 0 auto; }
.post-body--intro { max-width: 780px; margin: 0 auto 3rem; }
.post-body h2 { font-family: 'Bebas Neue'; font-size: 32px; color: var(--white); letter-spacing: 0.5px; margin: 2rem 0 1rem; }
.post-body h3 { font-size: 20px; font-weight: 600; color: var(--white); margin: 1.5rem 0 0.75rem; }
.post-body p  { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 1.25rem; font-weight: 300; }
.post-body strong { color: var(--text-light); font-weight: 500; }
.post-body a { color: var(--sea-light); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: 8px; margin: 1.5rem auto; max-width: 100%; height: auto; display: block; }

/* Inline image grids — WP gallery posts embed [![thumb](url)](full) in one paragraph */
.post-body p:has(a > img) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
  margin: 1.5rem 0;
}
.post-body p:has(a > img) a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  text-decoration: none;
}
.post-body p:has(a > img) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  transition: transform 0.3s;
}
.post-body p:has(a > img) a:hover img { transform: scale(1.06); }
.post-body ul, .post-body ol { color: var(--text-muted); font-size: 15px; padding-left: 1.5rem; margin-bottom: 1.25rem; line-height: 1.8; }
.post-body blockquote { border-left: 3px solid var(--sea-green); padding: 0.5rem 0 0.5rem 1.5rem; margin: 2rem 0; color: var(--text-muted); font-style: italic; }

/* ── POST GALLERY ── */
.post-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 2rem auto; max-width: 900px; }
.post-gallery a { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; }
.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-gallery a:hover img { transform: scale(1.04); }

/* ── POST FOOTER ── */
.post-footer { max-width: 780px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--card-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 5px 12px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 100px; font-size: 12px; color: var(--text-muted); letter-spacing: 0.5px; }

/* ── LIGHTBOX ── */
.lightbox-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 2rem;
}
.lightbox-item { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; cursor: zoom-in; }
.lightbox-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.lightbox-item:hover .lightbox-thumb { transform: scale(1.05); }
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(6,13,24,0.97); z-index: 9999;
  flex-direction: column; align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100vw; height: 100vh; padding: 4rem 5rem;
  box-sizing: border-box;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  user-select: none; -webkit-user-drag: none;
}
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 10000;
  background: rgba(255,255,255,0.12); border: none; color: white;
  width: 44px; height: 44px; border-radius: 50%; font-size: 18px;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 10000;
  background: rgba(255,255,255,0.12); border: none; color: white;
  width: 52px; height: 52px; border-radius: 50%; font-size: 28px;
  cursor: pointer; transition: background 0.2s; line-height: 1;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-counter {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 10000;
  font-size: 13px; color: rgba(255,255,255,0.6);
  background: rgba(10,22,40,0.7); padding: 5px 16px; border-radius: 100px;
  pointer-events: none;
}

/* ── STATIC PAGE ── */
.static-page-section { padding: 4rem 0; }
.static-page-body { max-width: 860px; }

/* ── FOOTER ── */
.site-footer { background: rgba(6,13,24,0.98); border-top: 1px solid var(--card-border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--card-border); margin-bottom: 2rem; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 1rem; font-weight: 300; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 1.5rem; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 13px; color: var(--text-muted); }
.social-btn:hover { background: var(--sea-green); border-color: var(--sea-green); color: white; }
.footer-col h5 { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; font-weight: 300; }
.footer-links a:hover { color: var(--sea-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--sea-light); }

/* ── FOOTER CONTACT TOGGLE ── */
.footer-contact-toggle {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--text-muted); font-weight: 300;
  font-family: 'Outfit', sans-serif; transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-contact-toggle:hover { color: var(--sea-light); }
.footer-contact-toggle .toggle-arrow { transition: transform 0.25s; display: inline-block; }
.footer-contact-toggle[aria-expanded="true"] .toggle-arrow { transform: rotate(90deg); }
.footer-contact-drawer { margin-top: 1.25rem; border-top: 1px solid var(--card-border); padding-top: 1.25rem; }
.footer-contact-info { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1rem; }
.footer-contact-info a, .footer-contact-info span { font-size: 13px; color: var(--text-muted); }
.footer-contact-col { display: flex; flex-direction: column; justify-content: flex-start; }
.footer-email { font-size: 14px; color: var(--sea-light); font-weight: 400; margin-bottom: 1.25rem; transition: color 0.2s; }
.footer-email:hover { color: var(--white); }
.footer-contact-col .footer-social { margin-top: 0; }
.footer-contact-col .social-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-preview { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 1rem; border-bottom: 1px solid var(--card-border); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
  .articles-grid, .listing-grid, .gallery-albums-grid { grid-template-columns: 1fr; }
  .gallery-split { grid-template-columns: 1fr; }
  .gallery-video-thumb { width: 80px; height: 52px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .hero-stats { gap: 1.5rem; }
  .membership-inner { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 60px 1fr; }
  .event-badge { display: none; }
  .post-gallery { grid-template-columns: repeat(2,1fr); }
  .lightbox-grid { grid-template-columns: repeat(2,1fr); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
}

/* ══════════════════════════════════════════════════════════
   OCEAN ATMOSPHERE — Visual Enhancement Layer
   ══════════════════════════════════════════════════════════ */

/* ── Logo image ── */
.logo-img {
  width: 44px; height: 44px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(14,122,95,0.45));
  transition: filter 0.35s;
}
.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(14,200,140,0.7));
}

/* ── Ken Burns slow zoom on hero background ── */
@keyframes ken-burns {
  0%   { transform: scale(1)    translateZ(0); }
  100% { transform: scale(1.06) translateZ(0); }
}
.hero-bg {
  animation: ken-burns 80s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-rays::before, .hero-rays::after,
  .hero-caustics, .hero-tag, .stat-num { animation: none; }
}

/* ── Animated light rays (god rays) ── */
.hero-rays {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.hero-rays::before,
.hero-rays::after {
  content: '';
  position: absolute;
  top: -80%; left: -30%;
  width: 160%; height: 260%;
  background: repeating-linear-gradient(
    112deg,
    transparent           0px,
    transparent           90px,
    rgba(14,180,140,0.022) 90px,
    rgba(14,180,140,0.022) 180px
  );
  animation: ray-drift 30s linear infinite;
  transform-origin: top center;
}
.hero-rays::after {
  background: repeating-linear-gradient(
    125deg,
    transparent           0px,
    transparent           140px,
    rgba(40,130,210,0.018) 140px,
    rgba(40,130,210,0.018) 280px
  );
  animation-duration: 45s;
  animation-direction: reverse;
}
@keyframes ray-drift {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(6deg); }
}

/* ── Caustics — animated underwater light shimmer ── */
@keyframes caustics-shift {
  0%   { background-position: 0px 0px,   130px 90px,  280px 200px; opacity: 0.55; }
  25%  { background-position: 70px 50px, 210px 160px, 190px 260px; opacity: 0.9;  }
  50%  { background-position: 140px 20px, 60px  10px, 340px 110px; opacity: 0.65; }
  75%  { background-position: 30px 100px,170px  60px, 100px 290px; opacity: 1;    }
  100% { background-position: 0px 0px,   130px 90px,  280px 200px; opacity: 0.55; }
}
.hero-caustics {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 140px 70px  at 12% 38%, rgba(0,215,175,0.09) 0%, transparent 70%),
    radial-gradient(ellipse  90px 120px at 68% 22%, rgba(0,180,230,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 110px 55px  at 82% 72%, rgba(0,215,175,0.06) 0%, transparent 70%);
  background-size: 700px 500px;
  animation: caustics-shift 18s ease-in-out infinite;
}

/* ── Subtle static depth glow on inner sections (no animation = no CPU) ── */
.news-section,
.gallery-section,
.membership-section {
  position: relative; overflow: hidden;
}
.news-section::before,
.gallery-section::before,
.membership-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 40% 60% at 5% 50%,  rgba(0,215,175,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 92% 20%, rgba(0,180,230,0.03) 0%, transparent 70%);
}
.news-section > *,
.gallery-section > *,
.membership-section > * { position: relative; z-index: 1; }

/* ── Wave separator: news section top edge ── */
.news-section {
  padding-top: 6rem;
}
.news-section::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,60 400,0 600,30 C800,60 1040,0 1240,28 C1320,36 1380,18 1440,30 L1440,60 L0,60 Z' fill='%230a1628'/%3E%3C/svg%3E");
  background-size: 100% 100%; z-index: 6;
}

/* ── Enhanced card image zoom ── */
.article-card:hover .article-img-inner { transform: scale(1.09); }
.gallery-item:hover .gallery-thumb     { transform: scale(1.09); }
.post-gallery a:hover img              { transform: scale(1.09); }
.lightbox-item:hover .lightbox-thumb   { transform: scale(1.09); }
.gallery-album-card:hover .gallery-album-thumb { transform: scale(1.04); }
.news-card.featured:hover .news-featured-img img { transform: scale(1.06); }

/* ── Card glint sweep on hover ── */
.article-card { overflow: hidden; }
.article-card::before {
  content: '';
  position: absolute; top: 0; left: -110%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none; z-index: 2;
}
.article-card:hover::before { left: 140%; }

/* ── Post hero: zoom in slowly on load ── */
.post-hero-bg {
  animation: ken-burns 50s ease-out forwards;
}

/* ── Page hero depth shimmer ── */
.page-hero {
  background: linear-gradient(155deg, #0d2240 0%, #081c14 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 400px 200px at 75% 50%, rgba(0,215,175,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 250px 120px at 20% 70%, rgba(0,180,230,0.05) 0%, transparent 65%);
  animation: caustics-shift 20s ease-in-out infinite;
}

/* ── Floating hero badge ── */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-5px); }
}
.hero-tag { animation: float-gentle 5s ease-in-out infinite; }

/* ── Stat number underwater glow ── */
@keyframes depth-glow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 24px rgba(14,200,150,0.45), 0 0 48px rgba(14,200,150,0.15); }
}
.stat-num { animation: depth-glow 4s ease-in-out infinite; }
.stat-num:nth-child(1) { animation-delay: 0s;    }
.stat-num:nth-child(2) { animation-delay: 1.3s;  }
.stat-num:nth-child(3) { animation-delay: 2.6s;  }

/* ── Ambient bubbles (all sections, not just hero) ── */
.ambient-bubbles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient-bubble {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(14,122,95,0.18);
  background: radial-gradient(circle at 35% 35%, rgba(14,180,140,0.12), transparent);
  animation: rise-ambient linear infinite;
}
@keyframes rise-ambient {
  0%   { transform: translateY(0) translateX(0)    scale(1);   opacity: 0;   }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-105vh) translateX(30px) scale(0.4); opacity: 0; }
}

/* ── Scroll reveal for section headings ── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Depth divider line ── */
.depth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 3rem; max-width: 200px;
  opacity: 0.3;
}
.depth-divider::before,
.depth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sea-green), transparent);
}

/* ── Gallery photo hero ── */
.gallery-hero {
  position: relative;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.gallery-hero-img {
  position: absolute; inset: 0;
  background: url('../images/seal2.jpg') center 35% / cover no-repeat;
  animation: ken-burns 80s ease-in-out infinite alternate;
  will-change: transform;
}
.gallery-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,16,28,0.95) 0%,
    rgba(8,16,28,0.45) 55%,
    rgba(4,12,20,0.55) 100%
  );
}
.gallery-hero-content {
  position: relative; z-index: 2;
}
.gallery-hero .page-hero-title { margin-top: 0.5rem; }
