/* ============================================
   HÜSEYIN HAKI EFENDI — huseyinhakiefendi.com
   Bir Vizyonerin Dijital Biyografisi
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --navy: #0d1b2a;
  --gold: #c9a84c;
  --gold-light: #e0c672;
  --cream: #f5efe0;

  /* Secondary */
  --sepia: #704214;
  --sea-blue: #1b4965;
  --sea-blue-light: #2a7da5;
  --dark-red: #6b1c23;

  /* Neutral */
  --warm-white: #faf8f0;
  --charcoal: #2d3436;
  --mist: #b2bec3;
  --text-body: #3d3d3d;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --content-width: 1100px;

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-accent: 'Cinzel', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s var(--ease-out-expo);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--gold-light);
}

/* --- Utility --- */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Ottoman Border Decorations --- */
.ottoman-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ottoman-divider::before,
.ottoman-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.ottoman-divider .ornament {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(27, 73, 101, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* Bird's Eye View Old Paper Map */
.hero-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bosphorus-map {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
  opacity: 0.9;
}

/* Map Labels */
.map-label {
  font-family: var(--font-accent);
  font-size: 8px;
  fill: rgba(112, 66, 20, 0.5);
  letter-spacing: 0.1em;
}

.map-label-large {
  font-size: 12px;
  letter-spacing: 0.3em;
  fill: rgba(112, 66, 20, 0.35);
}

.map-label-water {
  font-size: 10px;
  letter-spacing: 0.5em;
  fill: rgba(27, 73, 101, 0.4);
  font-style: italic;
}

/* Ferry Routes (dashed lines) */
.ferry-route {
  fill: none;
  stroke: rgba(201, 168, 76, 0.3);
  stroke-width: 1;
  stroke-dasharray: 4,3;
  opacity: 0.6;
}

/* Animated Ships Container */
.ship {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ship svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.15));
}

/* Paddle Steamer 1 - Europe to Asia */
.ship-1 {
  width: 45px;
  height: 22px;
  bottom: 52%;
  left: 20%;
  animation: shipToAsia1 28s linear infinite;
}

/* Paddle Steamer 2 - Asia to Europe */
.ship-2 {
  width: 40px;
  height: 20px;
  bottom: 48%;
  right: 25%;
  transform: scaleX(-1);
  animation: shipToEurope1 32s linear infinite;
  animation-delay: -8s;
}

/* Car Ferry (Suhulet) - Main route */
.ship-3 {
  width: 55px;
  height: 23px;
  bottom: 50%;
  left: 30%;
  animation: shipSuhulet 35s linear infinite;
  animation-delay: -5s;
}

.ship-label {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 7px;
  letter-spacing: 0.15em;
  color: rgba(201, 168, 76, 0.7);
  white-space: nowrap;
  text-shadow: 0 0 3px rgba(13, 27, 42, 0.8);
}

/* Small passenger ferry */
.ship-4 {
  width: 30px;
  height: 15px;
  bottom: 54%;
  left: 45%;
  animation: shipSmall 25s linear infinite;
  animation-delay: -12s;
}

/* Paddle Steamer 3 - opposite direction */
.ship-5 {
  width: 42px;
  height: 21px;
  bottom: 46%;
  right: 20%;
  transform: scaleX(-1);
  animation: shipToEurope2 30s linear infinite;
  animation-delay: -18s;
}

/* Ship Animations */
@keyframes shipToAsia1 {
  0% {
    left: 15%;
    opacity: 0;
    transform: translateY(0);
  }
  5% {
    opacity: 0.85;
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-2px);
  }
  95% {
    opacity: 0.3;
  }
  100% {
    left: 70%;
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes shipToEurope1 {
  0% {
    right: 15%;
    opacity: 0;
    transform: scaleX(-1) translateY(0);
  }
  5% {
    opacity: 0.75;
  }
  25% {
    transform: scaleX(-1) translateY(-2px);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(-1) translateY(3px);
  }
  75% {
    transform: scaleX(-1) translateY(-1px);
  }
  95% {
    opacity: 0.25;
  }
  100% {
    right: 70%;
    opacity: 0;
    transform: scaleX(-1) translateY(0);
  }
}

@keyframes shipSuhulet {
  0% {
    left: 25%;
    opacity: 0;
    transform: translateY(0);
  }
  5% {
    opacity: 0.9;
  }
  20% {
    transform: translateY(-2px);
  }
  40% {
    opacity: 0.8;
    transform: translateY(2px);
  }
  60% {
    transform: translateY(-1px);
  }
  80% {
    opacity: 0.6;
    transform: translateY(1px);
  }
  95% {
    opacity: 0.2;
  }
  100% {
    left: 68%;
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes shipSmall {
  0% {
    left: 40%;
    opacity: 0;
  }
  8% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.5;
  }
  92% {
    opacity: 0.2;
  }
  100% {
    left: 75%;
    opacity: 0;
  }
}

@keyframes shipToEurope2 {
  0% {
    right: 18%;
    opacity: 0;
    transform: scaleX(-1) translateY(0);
  }
  6% {
    opacity: 0.7;
  }
  30% {
    transform: scaleX(-1) translateY(-3px);
  }
  50% {
    opacity: 0.55;
    transform: scaleX(-1) translateY(2px);
  }
  70% {
    transform: scaleX(-1) translateY(-1px);
  }
  94% {
    opacity: 0.2;
  }
  100% {
    right: 72%;
    opacity: 0;
    transform: scaleX(-1) translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Portrait */
.hero-portrait {
  position: relative;
  margin-bottom: 1.5rem;
}

.portrait-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  box-shadow:
    0 0 30px rgba(201, 168, 76, 0.3),
    0 0 60px rgba(201, 168, 76, 0.15);
  animation: portraitGlow 4s ease-in-out infinite;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--navy);
  filter: sepia(15%) contrast(1.05);
}

.portrait-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes portraitGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.3), 0 0 60px rgba(201, 168, 76, 0.15); }
  50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.4), 0 0 80px rgba(201, 168, 76, 0.2); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-ornament-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-ornament-top .line {
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.hero-ornament-top .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-dates {
  font-family: var(--font-accent);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-title .first-name {
  display: block;
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 3rem;
}

/* Hero Scroll Indicator - Anchor */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  transition: all var(--transition-base);
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll:hover {
  color: var(--gold-light);
}

.hero-scroll:hover .scroll-icon {
  transform: translateY(5px);
}

.hero-scroll:hover .scroll-icon svg {
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.5));
}

.scroll-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: anchorFloat 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.scroll-icon svg {
  width: 40px;
  height: 40px;
  transition: filter 0.3s ease;
}

.scroll-text {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

@keyframes anchorFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO FERRIES - Animated Ferry Strip
   ============================================ */
.hero-ferries {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  z-index: 3;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

.hero-ferry {
  position: absolute;
  bottom: 15px;
  width: 50px;
  height: 25px;
  color: var(--gold);
  opacity: 0.7;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-ferry:hover {
  opacity: 1;
}

.hero-ferry.ferry-right:hover {
  transform: scale(1.1);
}

.hero-ferry.ferry-left:hover {
  transform: scaleX(-1) scale(1.1);
}

.hero-ferry.active {
  opacity: 1;
  color: var(--gold-light);
}

.ferry-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.4));
}

.ferry-carferry {
  width: 60px;
}

/* Ferries moving left to right */
.ferry-right {
  animation: ferryMoveRight var(--speed, 40s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.hero-ferry[data-speed="45"] { --speed: 45s; }
.hero-ferry[data-speed="38"] { --speed: 38s; }
.hero-ferry[data-speed="42"] { --speed: 42s; }
.hero-ferry[data-speed="35"] { --speed: 35s; }
.hero-ferry[data-speed="40"] { --speed: 40s; }
.hero-ferry[data-speed="48"] { --speed: 48s; }
.hero-ferry[data-speed="32"] { --speed: 32s; }
.hero-ferry[data-speed="52"] { --speed: 52s; }

@keyframes ferryMoveRight {
  0% {
    left: -80px;
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.85;
  }
  95% {
    opacity: 0.7;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Ferries moving right to left */
.ferry-left {
  animation: ferryMoveLeft var(--speed, 40s) linear infinite;
  animation-delay: var(--delay, 0s);
  transform: scaleX(-1);
}

@keyframes ferryMoveLeft {
  0% {
    left: 100%;
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.85;
  }
  95% {
    opacity: 0.7;
  }
  100% {
    left: -80px;
    opacity: 0;
  }
}

/* Vertical positioning for variety */
.hero-ferry:nth-child(1) { bottom: 20px; }
.hero-ferry:nth-child(2) { bottom: 35px; }
.hero-ferry:nth-child(3) { bottom: 12px; }
.hero-ferry:nth-child(4) { bottom: 28px; }
.hero-ferry:nth-child(5) { bottom: 8px; }
.hero-ferry:nth-child(6) { bottom: 42px; }
.hero-ferry:nth-child(7) { bottom: 18px; }
.hero-ferry:nth-child(8) { bottom: 32px; }

/* Ferry Tooltip */
.ferry-tooltip {
  position: fixed;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ferry-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Paused state for ferries */
.hero-ferries.paused .hero-ferry {
  animation-play-state: paused;
}

/* ============================================
   SECTION 2: INTRO / WHO IS THIS MAN?
   ============================================ */
.intro {
  background: var(--warm-white);
  position: relative;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.intro-text {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.intro-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
  position: relative;
  padding: 0 2rem;
}

.intro-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.3em;
  left: 0;
  font-size: 3em;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-display);
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 0.3rem;
}

/* ============================================
   SECTION 2.5: INTERACTIVE BOSPHORUS MAP
   ============================================ */
.bosphorus-routes {
  background: var(--cream);
  position: relative;
}

.routes-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Maritime Timeline Slider - Premium Design */
.timeline-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 2.5rem 1rem;
  background: linear-gradient(180deg,
    rgba(245, 239, 224, 0) 0%,
    rgba(201, 168, 76, 0.08) 50%,
    rgba(245, 239, 224, 0) 100%
  );
  border-radius: 16px;
}

.timeline-slider-track {
  display: flex;
  align-items: center;
  position: relative;
  height: 140px;
  padding: 0 10px;
}

/* Main track line - elegant golden rope */
.timeline-slider-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 4px;
  background: linear-gradient(90deg,
    var(--gold) 0%,
    var(--gold-light) 50%,
    var(--gold) 100%
  );
  border-radius: 2px;
  transform: translateY(-50%);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Decorative knots on the rope */
.timeline-slider-track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 4px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg,
    transparent 0px,
    transparent 30px,
    rgba(112, 66, 20, 0.2) 30px,
    rgba(112, 66, 20, 0.2) 32px
  );
}

.slider-rope-end {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  z-index: 2;
  background: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  position: relative;
}

.slider-rope-end::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.timeline-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: sepia(30%) contrast(1.1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.slider-rope-end:hover .timeline-image {
  filter: sepia(10%) contrast(1.15);
  transform: scale(1.05);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 0 0.5rem;
  position: relative;
  z-index: 3;
}

.slider-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

/* Hover glow effect */
.slider-marker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s var(--ease-out-expo);
  z-index: -1;
}

.slider-marker:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.marker-dot {
  width: 22px;
  height: 22px;
  background: var(--warm-white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  position: relative;
}

/* Inner dot indicator */
.marker-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s var(--ease-out-expo);
}

.slider-marker:hover .marker-dot {
  background: var(--gold-light);
  transform: scale(1.15);
  box-shadow:
    0 4px 12px rgba(201, 168, 76, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.slider-marker:hover .marker-dot::after {
  transform: translate(-50%, -50%) scale(1);
  background: var(--warm-white);
}

/* Hide dot when active - ship icon will be shown instead */
.slider-marker.active .marker-dot {
  opacity: 0;
  transform: scale(0);
}

.marker-year {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: calc(0.75rem + 24px);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.slider-marker:hover .marker-year {
  color: var(--gold);
  transform: translateY(-2px);
}

.slider-marker.active .marker-year {
  color: var(--dark-red);
  transform: translateY(-2px);
}

.marker-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-top: 0.25rem;
}

.slider-marker:hover .marker-label {
  opacity: 1;
  color: var(--sepia);
}

.slider-marker.active .marker-label {
  opacity: 1;
  color: var(--dark-red);
  font-weight: 600;
}

/* Ship indicator - positioned above marker dots */
.slider-ship {
  position: absolute;
  width: 80px;
  height: 40px;
  color: var(--dark-red);
  top: 50%;
  left: 50%;
  transform: translateX(calc(-50% + 15px)) translateY(calc(-50% - 35px));
  transition: left 0.6s var(--ease-out-expo);
  filter: drop-shadow(0 4px 12px rgba(107, 28, 35, 0.6));
  pointer-events: none;
  z-index: 10;
}

.slider-ship svg {
  width: 100%;
  height: 100%;
  transform: scaleX(-1); /* Flip horizontally - flag at back */
}

/* Hidden select for JS compatibility */
.year-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Responsive slider */
@media (max-width: 768px) {
  .timeline-slider-container {
    padding: 2rem 0.5rem;
    overflow-x: auto;
    margin: 0 -1rem 2rem;
    border-radius: 0;
  }

  .timeline-slider-track {
    min-width: 700px;
    height: 120px;
  }

  .slider-rope-end {
    width: 44px;
    height: 44px;
  }

  .marker-dot {
    width: 18px;
    height: 18px;
  }

  .marker-year {
    font-size: 0.85rem;
    margin-top: calc(0.5rem + 24px);
  }

  .marker-label {
    font-size: 0.6rem;
  }

  .slider-ship {
    width: 60px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .timeline-slider-container {
    padding: 1.5rem 0;
  }

  .timeline-slider-track {
    min-width: 600px;
    height: 100px;
  }

  .slider-rope-end {
    width: 36px;
    height: 36px;
  }

  .marker-dot {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .marker-year {
    font-size: 0.75rem;
    margin-top: calc(0.5rem + 20px);
  }

  .marker-label {
    display: none;
  }

  .slider-ship {
    width: 50px;
    height: 25px;
  }
}

/* ==========================================
   SCROLLYTELLING - Yıllara Göre Filo Gelişimi
   ========================================== */

.scrollytelling-container {
  max-width: 900px;
  margin: 0 auto 3rem;
  position: relative;
  height: 480px;
  perspective: 1000px;
}

/* Her yıl için hikaye kartı - Carousel Stack */
.story-year {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  border: none;
  border-radius: 12px;
  padding: 2rem;
  position: absolute;
  width: 100%;
  max-width: 700px;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) translateZ(-200px) scale(0.85);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Aktif kart */
.story-year.active {
  opacity: 1;
  transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
  pointer-events: auto;
  z-index: 10;
}

/* Önceki kart (sola kayık) */
.story-year.prev {
  opacity: 0.4;
  transform: translateX(-85%) translateY(-50%) translateZ(-100px) scale(0.9) rotateY(15deg);
  z-index: 5;
}

/* Sonraki kart (sağa kayık) */
.story-year.next {
  opacity: 0.4;
  transform: translateX(-15%) translateY(-50%) translateZ(-100px) scale(0.9) rotateY(-15deg);
  z-index: 5;
}

/* Görünür olan (scroll ile) - geri uyumluluk */
.story-year.visible:not(.active):not(.prev):not(.next) {
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) translateZ(-300px) scale(0.7);
}

/* Carousel Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(13, 27, 42, 0.9);
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
}

.carousel-nav:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

/* Carousel map background removed - was causing grey overlay */

/* Suhulet yılı özel vurgu */
.story-year.story-year-highlight {
  background: linear-gradient(135deg, #2a1520 0%, #3d2030 100%);
  box-shadow: 0 20px 60px rgba(139, 32, 48, 0.4);
}

/* Yıl rozeti */
.year-badge-large {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.year-badge-large.suhulet-badge {
  background: linear-gradient(135deg, #8b2030 0%, var(--dark-red) 50%, #5a1520 100%);
  color: #fff;
  font-size: 1.75rem;
  padding: 0.6rem 1.75rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 6px 20px rgba(107, 28, 35, 0.5),
    0 0 30px rgba(139, 32, 48, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

/* Yıl başlığı */
.year-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin: 0.75rem 0 1.25rem;
  padding-top: 0.5rem;
}

/* İstatistik satırı */
.year-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat-item-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.stat-item-scroll.highlight {
  border-color: var(--dark-red);
  background: rgba(139, 32, 48, 0.2);
}

.stat-number-scroll {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label-scroll {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--cream);
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Rota diyagramı */
.route-diagram {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.route-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--cream);
}

.route-side.europe {
  text-align: right;
  padding-right: 0.5rem;
  border-right: 2px solid rgba(201, 168, 76, 0.3);
}

.route-side.asia {
  text-align: left;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(201, 168, 76, 0.3);
}

.pier-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 0.5rem;
  vertical-align: middle;
}

.route-lines {
  width: 60px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.6;
}

.route-lines svg {
  width: 100%;
  height: 100%;
}

/* Genel açıklayıcı kutu (highlight-box) */
.highlight-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.highlight-text span {
  font-size: 0.8rem;
  color: var(--cream);
  opacity: 0.85;
}

/* Suhulet vurgu kutusu (özel kırmızı) */
.suhulet-highlight-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 32, 48, 0.3) 0%, rgba(139, 32, 48, 0.1) 100%);
  border: 2px solid var(--dark-red);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.suhulet-icon {
  width: 80px;
  height: 40px;
  color: var(--dark-red);
  flex-shrink: 0;
}

.suhulet-icon svg {
  width: 100%;
  height: 100%;
}

.suhulet-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.suhulet-text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
}

.suhulet-text span {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Büyüme özeti */
.growth-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.growth-arrow {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.growth-summary span {
  font-family: var(--font-serif);
  color: var(--cream);
  font-style: italic;
}

/* Hikaye metni */
.year-narrative {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

/* Responsive - Carousel */
@media (max-width: 768px) {
  .scrollytelling-container {
    height: 420px;
    margin: 0 auto 2rem;
  }

  .story-year {
    padding: 1.5rem;
    max-width: 90%;
  }

  .story-year.prev,
  .story-year.next {
    opacity: 0.2;
    transform: translateX(-50%) translateY(-50%) translateZ(-150px) scale(0.8);
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }

  .year-badge-large {
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
  }

  .year-title {
    font-size: 1.2rem;
  }

  .year-stats {
    gap: 1rem;
  }

  .stat-number-scroll {
    font-size: 1.5rem;
  }

  .route-diagram {
    flex-direction: column;
  }

  .route-side.europe,
  .route-side.asia {
    text-align: center;
    border: none;
    padding: 0;
  }

  .route-lines {
    display: none;
  }

  .suhulet-highlight-box,
  .highlight-box {
    flex-direction: column;
    text-align: center;
  }

  .highlight-icon {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .scrollytelling-container {
    height: 380px;
  }

  .story-year {
    padding: 1.25rem;
  }

  .year-stats {
    justify-content: center;
    gap: 0.75rem;
  }

  .stat-item-scroll {
    min-width: 70px;
    padding: 0.5rem 0.75rem;
  }

  .stat-number-scroll {
    font-size: 1.25rem;
  }

  .year-narrative {
    font-size: 0.9rem;
  }

  .carousel-map-bg {
    display: none;
  }
}


/* Suhulet Story Section */
.suhulet-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(107, 28, 35, 0.08) 0%, rgba(201, 168, 76, 0.05) 100%);
  border: 1px solid rgba(107, 28, 35, 0.15);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  max-width: 700px;
  position: relative;
}

.suhulet-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dark-red), transparent);
  border-radius: 2px;
}

.story-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-ship-icon {
  width: 100px;
  height: 60px;
  color: var(--dark-red);
  opacity: 0.85;
}

.story-ship-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(2px 3px 4px rgba(107, 28, 35, 0.25));
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark-red);
  margin: 0;
  letter-spacing: 0.03em;
}

.story-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0 0 1rem;
  max-width: 600px;
}

.story-text:last-of-type {
  margin-bottom: 1.5rem;
}

.story-text strong {
  color: var(--navy);
  font-weight: 600;
}

.story-text em {
  font-style: italic;
  color: var(--text-muted);
}

.story-quote {
  display: flex;
  justify-content: center;
  padding: 1.25rem 2rem;
  background: rgba(107, 28, 35, 0.06);
  border-radius: 12px;
  margin-top: 0.5rem;
}

.quote-name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--dark-red);
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
}

.quote-name:hover {
  color: var(--gold);
}

.quote-name::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quote-name::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.quote-name:hover::after,
.quote-name:hover::before {
  opacity: 1;
  visibility: visible;
}

.quote-name:hover::after {
  transform: translateX(-50%) translateY(-12px);
}

/* Fleet Stats */
.fleet-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.fleet-stat {
  text-align: center;
}

.fleet-stat .stat-value {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.fleet-stat .stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Route Cards */
.route-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.route-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--warm-white);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.route-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.15);
}

.route-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.route-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.route-info p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

.route-year {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .route-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SECTION 3: INNOVATIONS
   ============================================ */
.innovations {
  background: var(--navy);
  color: var(--cream);
  position: relative;
}

.innovations::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23c9a84c' fill-opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.innovations .container {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.innovation-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.innovation-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all var(--transition-base);
}

.innovation-card:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

.innovation-icon-old {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.innovation-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.innovation-info .ottoman-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.innovation-info p {
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 1.6;
}

.innovation-modern {
  text-align: center;
  flex-shrink: 0;
}

.innovation-modern .arrow {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.innovation-modern .modern-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

/* Innovation Card Highlight */
.innovation-card-highlight {
  border-color: rgba(201, 168, 76, 0.35) !important;
  background: rgba(201, 168, 76, 0.08) !important;
}

.innovation-icon-highlight {
  border-color: var(--gold) !important;
  background: rgba(201, 168, 76, 0.15) !important;
}

.innovation-label-highlight {
  color: var(--gold-light) !important;
}

/* ============================================
   SECTION 4: SUHULET
   ============================================ */
.suhulet {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.suhulet-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.suhulet-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.suhulet-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Ship illustration area */
.suhulet-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.suhulet-visual::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(27, 73, 101, 0.3), transparent);
}

/* Ornate frame for ship image */
.suhulet-image-frame {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 8px;
  z-index: 1;
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}

.frame-corner.top-left {
  top: -2px;
  left: -2px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 4px;
}

.frame-corner.top-right {
  top: -2px;
  right: -2px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 4px;
}

.frame-corner.bottom-left {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 4px;
}

.frame-corner.bottom-right {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 4px;
}

.suhulet-image {
  display: block;
  max-width: 100%;
  width: 600px;
  height: auto;
  border-radius: 4px;
  filter: sepia(20%) contrast(1.05);
  transition: filter 0.5s ease;
}

.suhulet-image:hover {
  filter: sepia(0%) contrast(1.1);
}

.suhulet-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 600px;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.suhulet-placeholder svg {
  width: 70%;
  max-width: 320px;
  height: auto;
}

.suhulet-placeholder .placeholder-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--mist);
  margin-top: 1rem;
  opacity: 0.6;
}

.suhulet-visual .caption {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Specs Grid - Single Row */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.spec-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 10px;
  background: var(--warm-white);
  transition: all var(--transition-base);
}

.spec-item:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.1);
}

.spec-value {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--navy);
  font-weight: 700;
}

.spec-unit {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--sepia);
  margin-top: 0.25rem;
}

/* ============================================
   SECTION 5: TIMELINE
   ============================================ */
.timeline-section {
  background: var(--warm-white);
  position: relative;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--sea-blue), var(--gold));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--warm-white);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2);
}

.timeline-content {
  flex: 1;
}

.timeline-year {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Timeline Period Dividers */
.timeline-period {
  position: relative;
  text-align: center;
  margin: 3rem 0 2rem;
  padding: 1rem 0;
}

.timeline-period::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.period-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--warm-white);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 2rem;
}

/* Timeline Special Dots */
.timeline-dot-birth {
  background: var(--sea-blue) !important;
  box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.2) !important;
}

.timeline-dot-death {
  background: var(--charcoal) !important;
  box-shadow: 0 0 0 4px rgba(45, 52, 54, 0.2) !important;
}

.timeline-dot-major {
  width: 20px !important;
  height: 20px !important;
  background: var(--dark-red) !important;
  box-shadow: 0 0 0 4px rgba(107, 28, 35, 0.15) !important;
}

.timeline-item-highlight .timeline-content {
  background: rgba(201, 168, 76, 0.05);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.timeline-item-highlight .timeline-year {
  color: var(--dark-red);
}

/* ============================================
   SECTION 6: LEGACY
   ============================================ */
.legacy {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.legacy .container {
  position: relative;
  z-index: 1;
}

.legacy-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.legacy-text {
  font-size: 1.05rem;
  color: var(--mist);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.legacy-ships {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.legacy-ship-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.legacy-ship-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
}

.legacy-ship-card .ship-year {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.legacy-ship-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.legacy-ship-card p {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.6;
}

.legacy-closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--cream);
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SECTION 7: FOOTER
   ============================================ */
.site-footer {
  background: #070e17;
  color: var(--mist);
  padding: 3rem 0 2rem;
  text-align: center;
}

/* Footer Portrait */
.footer-portrait {
  margin-bottom: 1.5rem;
}

.footer-portrait-frame {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold), rgba(201, 168, 76, 0.5));
  opacity: 0.9;
}

.footer-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #070e17;
  filter: sepia(30%) contrast(0.9);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.footer-dates {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--mist);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--mist);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  opacity: 0.4;
}

.footer-credits {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(178, 190, 195, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  .innovation-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .innovation-icon-old {
    margin: 0 auto;
  }

  .innovation-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .innovation-modern .arrow {
    margin-bottom: 0;
    transform: rotate(0);
  }

  /* Timeline mobile */
  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-period {
    margin: 2rem 0 1.5rem;
  }

  .period-label {
    font-size: 0.6rem;
    padding: 0.4rem 1rem;
  }

  .timeline-item-highlight .timeline-content {
    border-left: none;
    border-top: 3px solid var(--gold);
  }

  /* Hero tablet */
  .hero-scroll {
    bottom: 90px;
  }

  .scroll-icon {
    width: 44px;
    height: 44px;
  }

  .scroll-icon svg {
    width: 34px;
    height: 34px;
  }

  .portrait-frame {
    width: 110px;
    height: 110px;
  }

  /* Map tablet adjustments */
  .bosphorus-map {
    min-height: 350px;
  }

  .ship-1, .ship-2 {
    width: 35px;
    height: 18px;
  }

  .ship-3 {
    width: 45px;
    height: 19px;
  }

  .ship-4 {
    width: 25px;
    height: 12px;
  }

  .ship-5 {
    display: none;
  }

  .ship-label {
    font-size: 6px;
    bottom: -12px;
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .suhulet-placeholder {
    width: 100%;
  }

  /* Hero ferries tablet */
  .hero-ferries {
    height: 60px;
  }

  .hero-ferry {
    width: 40px;
    height: 20px;
  }

  .ferry-carferry {
    width: 50px;
  }

  /* Timeline selector tablet */
  .timeline-selector {
    flex-direction: column;
    gap: 0.75rem;
  }

  .year-select {
    min-width: 260px;
  }

  /* Suhulet story tablet */
  .suhulet-story {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }

  .story-ship-icon {
    width: 80px;
    height: 50px;
  }

  .story-title {
    font-size: 1.3rem;
  }

  .quote-name {
    font-size: 1.75rem;
  }

  /* Fleet stats tablet */
  .fleet-stats {
    gap: 2rem;
  }

  .fleet-stat .stat-value {
    font-size: 1.6rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 3rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .portrait-frame {
    width: 100px;
    height: 100px;
  }

  .hero-scroll {
    bottom: 70px;
  }

  .scroll-icon {
    width: 38px;
    height: 38px;
  }

  .scroll-icon svg {
    width: 28px;
    height: 28px;
  }

  .scroll-text {
    font-size: 0.65rem;
  }

  /* Map mobile adjustments */
  .bosphorus-map {
    min-height: 300px;
    opacity: 0.75;
  }

  .map-label {
    font-size: 6px;
  }

  .map-label-large {
    font-size: 9px;
  }

  .map-label-water {
    font-size: 7px;
  }

  .ship-1 {
    width: 28px;
    height: 14px;
  }

  .ship-2, .ship-4, .ship-5 {
    display: none;
  }

  .ship-3 {
    width: 38px;
    height: 16px;
  }

  .ship-label {
    font-size: 5px;
    bottom: -10px;
  }

  .footer-portrait-frame {
    width: 60px;
    height: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .spec-value {
    font-size: 1.1rem;
  }

  .spec-unit {
    font-size: 0.55rem;
  }

  .spec-label {
    font-size: 0.65rem;
  }

  .legacy-ships {
    grid-template-columns: 1fr;
  }

  .suhulet-image-frame {
    padding: 8px;
  }

  /* Hero ferries mobile */
  .hero-ferries {
    height: 50px;
  }

  .hero-ferry {
    width: 35px;
    height: 18px;
  }

  .ferry-carferry {
    width: 45px;
  }

  .hero-ferry:nth-child(n+5) {
    display: none;
  }

  /* Timeline selector mobile */
  .year-select {
    min-width: 100%;
    font-size: 0.85rem;
    padding: 0.6rem 2rem 0.6rem 1rem;
  }

  /* Suhulet story mobile */
  .suhulet-story {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
    border-radius: 12px;
  }

  .story-ship-icon {
    width: 70px;
    height: 45px;
  }

  .story-title {
    font-size: 1.15rem;
  }

  .story-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .story-quote {
    padding: 1rem 1.25rem;
  }

  .quote-name {
    font-size: 1.75rem;
  }

  .quote-name::after {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  /* Fleet stats mobile */
  .fleet-stats {
    gap: 1.5rem;
    padding: 1rem;
  }

  .fleet-stat .stat-value {
    font-size: 1.4rem;
  }

  .fleet-stat .stat-label {
    font-size: 0.65rem;
  }

  /* Map year badge mobile */
  .map-year-badge {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}

/* --- Reduce Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
