@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel:wght@400;600&family=Jost:wght@300;400;500&display=swap');

:root {
  --ocean-deep:    #0d2630;
  --ocean-mid:     #1a4a5a;
  --ocean-teal:    #2a7a8a;
  --ocean-light:   #4aadbe;
  --parchment:     #c8b483;
  --parchment-lt:  #e8d9b5;
  --parchment-pale:#f5eed8;
  --cream:         #faf6ec;
  --text-dark:     #1a1a1a;
  --text-mid:      #3a4a50;
  --gold:          #c8a84b;
  --gold-light:    #e0c070;
  --white:         #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--ocean-deep);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: linear-gradient(to bottom, rgba(13,38,48,0.97) 0%, rgba(13,38,48,0.85) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,180,131,0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand-text {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--parchment-lt);
  line-height: 1.1;
}

.nav-brand-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-lt);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 70%, rgba(26,74,90,0.5) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13,38,48,0.7) 0%, rgba(13,38,48,0.2) 40%, rgba(13,38,48,0.8) 100%),
    url('Sea-Genes-FH-GR_Image-from-Canva.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,38,48,0.55) 0%,
    rgba(13,38,48,0.1) 35%,
    rgba(13,38,48,0.15) 55%,
    rgba(13,38,48,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  animation: fadeUp 1.2s 0.15s ease both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  animation: fadeUp 1.2s 0.25s ease both;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--parchment-lt);
  margin-bottom: 2.5rem;
  animation: fadeUp 1.2s 0.35s ease both;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 2.5rem;
  animation: fadeUp 1.2s 0.45s ease both;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,238,216,0.85);
  max-width: 560px;
  margin: 0 auto 3rem;
  animation: fadeUp 1.2s 0.5s ease both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ocean-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,168,75,0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(200,180,131,0.5);
  color: var(--parchment-lt);
}
.btn-outline:hover {
  border-color: var(--parchment-lt);
  background: rgba(200,180,131,0.08);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s 0.6s ease both;
}

/* ── SECTIONS ── */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--parchment-lt);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(232,217,181,0.7);
  margin-bottom: 3rem;
}

.ornament {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.5rem 0;
}

.ornament.center {
  margin: 1.5rem auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  width: 120px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(26,74,90,0.2);
  border: 1px solid rgba(200,180,131,0.15);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  background: rgba(26,74,90,0.35);
  border-color: rgba(200,168,75,0.3);
  transform: translateY(-4px);
}

.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  display: block;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--parchment-lt);
  margin-bottom: 0.8rem;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(245,238,216,0.7);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(13,38,48,0.9) 0%, rgba(13,38,48,0.6) 100%),
    url('Sea-Genes-FH-GR_Image-from-Canva.jpg') center 30% / cover no-repeat;
}

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--parchment-lt);
  margin-top: 0.75rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(200,180,131,0.12);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--parchment-lt);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(200,180,131,0.6);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,180,131,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(200,180,131,0.3);
}

/* ── WAVES DIVIDER ── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── TEAL BG VARIANT ── */
.bg-teal {
  background: rgba(26,74,90,0.15);
  border-top: 1px solid rgba(200,180,131,0.08);
  border-bottom: 1px solid rgba(200,180,131,0.08);
}

/* ── TEXT UTILITIES ── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(232,217,181,0.85);
}

p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(245,238,216,0.75);
  margin-bottom: 1.2rem;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.68rem; }
  .section { padding: 5rem 1.5rem; }
  .hero-content { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
}
