/* ================================================
   topcasinoeritrea.com — Dive Magazine Theme
   Eritrea & the Red Sea
   ================================================ */

/* === CSS VARIABLES === */
:root {
  /* Brand Colors — Eritrea Red Sea */
  --color-bg:               #010d10;
  --color-surface:          #051820;
  --color-surface-alt:      #071f2b;
  --color-card:             rgba(4, 22, 32, 0.88);
  --color-card-border:      rgba(0, 188, 212, 0.18);

  --color-primary:          #00BCD4;
  --color-primary-dark:     #0097A7;
  --color-primary-light:    #4DD0E1;
  --color-secondary:        #4CAF50;
  --color-secondary-dark:   #388E3C;
  --color-accent:           #00ACC1;

  --color-text:             #d0ecf0;
  --color-text-muted:       rgba(176, 220, 232, 0.62);
  --color-white:            #ffffff;
  --color-border:           rgba(0, 188, 212, 0.16);

  /* Gradients */
  --gradient-hero:          radial-gradient(ellipse at top, #003040 0%, #010d10 70%);
  --gradient-primary:       linear-gradient(135deg, #00BCD4 0%, #00ACC1 60%, #0097A7 100%);
  --gradient-secondary:     linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
  --gradient-section-alt:   linear-gradient(180deg, rgba(0,188,212,0.09) 0%, rgba(76,175,80,0.06) 100%);
  --gradient-card-top:      linear-gradient(135deg, #00BCD4, #4DD0E1);
  --gradient-dark:          linear-gradient(180deg, #010d10 0%, #051820 100%);

  /* Shadows */
  --shadow-sm:              0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:              0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:              0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-xl:              0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow:            0 0 20px rgba(0, 188, 212, 0.25), 0 0 48px rgba(0, 188, 212, 0.1);
  --shadow-glow-green:      0 0 20px rgba(76, 175, 80, 0.2);
  --shadow-card:            0 4px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,188,212,0.1);
  --shadow-card-hover:      0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,188,212,0.25), var(--shadow-glow);

  /* Typography */
  --font-heading:           'Exo 2', 'Segoe UI', Arial, sans-serif;
  --font-body:              'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs:             0.5rem;
  --spacing-sm:             1rem;
  --spacing-md:             1.5rem;
  --spacing-lg:             2rem;
  --spacing-xl:             3rem;
  --spacing-2xl:            4.5rem;

  /* Border Radius */
  --radius-card:            12px;
  --radius-pill:            50px;
  --radius-btn:             8px;
  --radius-sm:              6px;
  --radius-full:            9999px;

  /* Misc */
  --transition:             0.25s ease;
  --transition-slow:        0.4s ease;
  --container-max:          1200px;
  --container-padding:      2rem;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(0,188,212,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(76,175,80,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(0,172,193,0.05) 0%, transparent 45%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle scan-line / water texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 188, 212, 0.015) 3px,
      rgba(0, 188, 212, 0.015) 6px
    );
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.05rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 16px rgba(0,188,212,0.4);
}

strong { font-weight: 700; color: var(--color-primary-light); }

ul, ol { margin-left: 1.5rem; margin-bottom: var(--spacing-sm); }
li {
  margin-bottom: 0.45rem;
  color: var(--color-text);
}

blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 0.75rem 1.5rem;
  margin: var(--spacing-md) 0;
  background: rgba(0,188,212,0.06);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--gradient-primary);
  color: #001c22;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 35px rgba(0,188,212,0.35);
  color: #001c22;
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 12px rgba(0,188,212,0.2);
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: #001c22;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-green {
  background: var(--gradient-secondary);
  color: #fff;
  box-shadow: var(--shadow-md), var(--shadow-glow-green);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-green);
  color: #fff;
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(1, 13, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 188, 212, 0.12);
  transition: background var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(1, 13, 16, 0.97);
  border-bottom-color: rgba(0, 188, 212, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-shadow: 0 0 20px rgba(0,188,212,0.4);
  flex-shrink: 0;
}

.site-logo span { color: var(--color-secondary); }
.site-logo:hover { color: var(--color-primary-light); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
  color: rgba(208,236,240,0.8);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(0,188,212,0.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1,13,16,0.3) 0%, rgba(1,13,16,0.55) 50%, rgba(1,13,16,0.9) 100%),
    radial-gradient(ellipse at top center, rgba(0,48,64,0.5) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 40px rgba(0,188,212,0.15);
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(208,236,240,0.88);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.stat-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(0,188,212,0.1);
  border: 1px solid rgba(0,188,212,0.3);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  backdrop-filter: blur(8px);
}

.stat-badge strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

.stat-badge span {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(208,236,240,0.7);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUBBLE ANIMATION === */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), rgba(0,188,212,0.12));
  border: 1px solid rgba(0,188,212,0.28);
  animation: bubbleFloat linear infinite;
}

@keyframes bubbleFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  5%   { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)) scale(0.85); opacity: 0; }
}

/* Individual bubble configs */
.bubble:nth-child(1)  { left: 8%;  width: 18px; height: 18px; animation-duration: 11s; animation-delay: 0s;   --drift: 15px; }
.bubble:nth-child(2)  { left: 16%; width: 10px; height: 10px; animation-duration: 8s;  animation-delay: 1.2s; --drift: -12px; }
.bubble:nth-child(3)  { left: 24%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 0.5s; --drift: 20px; }
.bubble:nth-child(4)  { left: 35%; width: 8px;  height: 8px;  animation-duration: 7s;  animation-delay: 2.4s; --drift: -8px; }
.bubble:nth-child(5)  { left: 45%; width: 16px; height: 16px; animation-duration: 10s; animation-delay: 0.8s; --drift: 18px; }
.bubble:nth-child(6)  { left: 55%; width: 12px; height: 12px; animation-duration: 9s;  animation-delay: 3.1s; --drift: -15px; }
.bubble:nth-child(7)  { left: 63%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 1.7s; --drift: 10px; }
.bubble:nth-child(8)  { left: 72%; width: 9px;  height: 9px;  animation-duration: 7.5s;animation-delay: 0.3s; --drift: -20px; }
.bubble:nth-child(9)  { left: 80%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 2.0s; --drift: 16px; }
.bubble:nth-child(10) { left: 90%; width: 14px; height: 14px; animation-duration: 9.5s;animation-delay: 4.2s; --drift: -10px; }
.bubble:nth-child(11) { left: 4%;  width: 7px;  height: 7px;  animation-duration: 6.5s;animation-delay: 1.0s; --drift: 12px; }
.bubble:nth-child(12) { left: 96%; width: 11px; height: 11px; animation-duration: 8.5s;animation-delay: 3.5s; --drift: -14px; }

/* === SECTIONS === */
.section {
  padding: var(--spacing-2xl) 0;
}

.section-alt {
  background: var(--gradient-section-alt);
}

.section-dark {
  background: rgba(2, 15, 22, 0.6);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(0,188,212,0.2));
  position: relative;
  padding-bottom: 1.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,188,212,0.4);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.65;
}

/* === FLOAT PROSE (Section 1) === */
.prose-float { width: 100%; }

.prose-float .float-img {
  float: right;
  width: 42%;
  margin: 0 0 1.5rem 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,188,212,0.15);
  overflow: hidden;
}

.prose-float .float-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.prose-float::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 640px) {
  .prose-float .float-img {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
  .prose-float .float-img img { height: 240px; }
}

/* === CARDS === */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,188,212,0.3);
}

.card::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before { opacity: 1; }

.card-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-photo img { transform: scale(1.05); }

.card-photo-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(1,13,16,0.75);
  border: 1px solid rgba(0,188,212,0.4);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.card-body { padding: 1.5rem; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* === DIVE SITE CARDS (icon-only, no photos) === */
.dive-card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.dive-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,188,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,188,212,0.3);
}

.dive-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0,188,212,0.15), rgba(0,172,193,0.08));
  border: 1.5px solid rgba(0,188,212,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  box-shadow: 0 0 16px rgba(0,188,212,0.2);
}

.dive-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.dive-card-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.dive-card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.dive-stat-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.dive-stat {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,188,212,0.1);
  border: 1px solid rgba(0,188,212,0.25);
  color: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

/* === WIDE BANNER (Dahlak) === */
.wide-banner {
  position: relative;
  height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-xl);
}

.wide-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.wide-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1,13,16,0.82) 0%, rgba(1,13,16,0.45) 55%, rgba(1,13,16,0.2) 100%);
  display: flex;
  align-items: center;
}

.wide-banner-content {
  padding: 2rem 2.5rem;
  max-width: 520px;
}

.wide-banner-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.wide-banner-content p {
  color: rgba(208,236,240,0.88);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* === MARINE LIFE SECTION === */
.marine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.marine-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid rgba(0,188,212,0.15);
  position: sticky;
  top: 80px;
}

.marine-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.species-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.species-card {
  background: rgba(0,188,212,0.06);
  border: 1px solid rgba(0,188,212,0.15);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  transition: all var(--transition);
}

.species-card:hover {
  background: rgba(0,188,212,0.1);
  border-color: rgba(0,188,212,0.3);
  transform: translateY(-2px);
}

.species-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }

.species-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 0.25rem;
}

.species-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .marine-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .marine-photo { position: static; }
  .marine-photo img { height: 300px; }
}

/* === PARALLAX SECTION === */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: var(--spacing-2xl) 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,13,16,0.7) 0%, rgba(1,13,16,0.82) 100%);
}

.parallax-content { position: relative; z-index: 2; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.badge-cyan {
  background: rgba(0,188,212,0.12);
  border: 1px solid rgba(0,188,212,0.3);
  color: var(--color-primary);
}

.badge-green {
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  color: var(--color-secondary);
}

/* === PULL QUOTE === */
.pull-quote {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(0,188,212,0.15);
  pointer-events: none;
}

.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary-light);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  background: rgba(2, 10, 14, 0.98);
  border-top: 1px solid rgba(0,188,212,0.12);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .site-logo {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(0,188,212,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(0,48,64,0.4) 0%, transparent 100%);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(0,188,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* === PROSE CONTENT (inner pages) === */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.75rem;
  color: var(--color-primary-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,188,212,0.15);
}

.prose h3 {
  font-size: 1.35rem;
  color: var(--color-secondary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  font-size: 1.02rem;
  color: var(--color-text);
  line-height: 1.78;
}

.prose ul { margin-left: 1.5rem; }
.prose ul li { color: var(--color-text); line-height: 1.7; }

.info-box {
  background: rgba(0,188,212,0.07);
  border: 1px solid rgba(0,188,212,0.2);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }

/* === DATA TABLE === */
.data-table-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  margin: 1.5rem 0;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,188,212,0.15);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.data-table th {
  background: rgba(0,188,212,0.12);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,188,212,0.2);
}

.data-table td {
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,188,212,0.07);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,188,212,0.04); }

/* === UTILITIES === */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* === MOBILE NAV === */
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(1,13,16,0.97);
    border-bottom: 1px solid rgba(0,188,212,0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
  }

  .main-nav.open { display: flex; }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .wide-banner { height: 280px; }
  .wide-banner-content { padding: 1.25rem 1.5rem; }

  .species-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --spacing-2xl: 3rem;
    --spacing-xl: 2.25rem;
  }
  .hero h1 { font-size: 1.85rem; }
}
