/* Tuzla Run Club – Tuzla / sahil temalı renkler (logo uyumlu) */
:root {
  --color-sea: #0d3b4c;
  --color-teal: #1a5f6e;
  --color-sand: #f5f0e8;
  --color-sun: #e8b923;
  --color-white: #ffffff;
  --color-text: #1a2c33;
  --color-text-muted: #4a6572;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 59, 76, 0.08);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-sea);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-sun);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-sand);
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-sea);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 59, 76, 0.06);
}

.nav {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--color-sea);
  color: var(--color-white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-teal);
  color: var(--color-white) !important;
}

/* Mobil menü butonu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--color-sea);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 640px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-logo {
    justify-self: start;
  }
  .nav-toggle {
    display: flex;
    justify-self: center;
  }
  .nav-cta {
    justify-self: end;
  }
  .nav-links {
    display: none;
    grid-column: 1 / -1;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: rgba(245, 240, 232, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(13, 59, 76, 0.08);
    gap: 0;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(13, 59, 76, 0.06);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  .nav-open .nav-links {
    display: flex;
  }
  .nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-sand) 0%, rgba(26, 95, 110, 0.06) 50%, var(--color-sea) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-sea);
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-when {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-teal);
  font-weight: 600;
}

.hero-countdown {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero-countdown #countdown-text {
  color: var(--color-teal);
  font-weight: 600;
}

.hero-weather {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-calendar {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.hero-calendar-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-calendar-link {
  padding: 0.35rem 0.65rem;
  background: rgba(26, 95, 110, 0.12);
  color: var(--color-teal);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-calendar-link:hover {
  background: rgba(26, 95, 110, 0.2);
  color: var(--color-sea);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 59, 76, 0.15);
}

.btn-primary {
  background: var(--color-sun);
  color: var(--color-sea);
}

.btn-primary:hover {
  background: #d4a61e;
  color: var(--color-sea);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-sea);
  letter-spacing: -0.02em;
}

/* About */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    order: -1;
    position: relative;
  }
  .about-content {
    order: 1;
  }
}

.about-content {
  min-width: 0;
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 769px) {
  .about-visual {
    position: sticky;
    top: 6rem;
  }
}

.about-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 85vh;
  object-position: center top;
}

@media (max-width: 768px) {
  .about-visual img {
    max-height: 60vh;
  }
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-pillars {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: var(--color-text);
}

.about-pillars li {
  margin-bottom: 0.75rem;
}

.about-pillars li:last-child {
  margin-bottom: 0;
}

.about p + p,
.about p + ul {
  margin-top: 0.5rem;
}

.about-social {
  margin-top: 1.5rem;
}

/* Founder */
.founder {
  background: linear-gradient(180deg, var(--color-sand) 0%, rgba(26, 95, 110, 0.04) 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

.founder-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.founder-role {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
}

.founder-name {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-sea);
}

.founder-bio p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.founder-instagram {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* Program */
.program {
  background: var(--color-white);
}

.program-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--color-sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 520px) {
  .program-card {
    grid-template-columns: 1fr;
  }
}

.program-when {
  text-align: center;
  padding: 0.75rem 1rem;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: var(--radius);
}

.program-day {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.program-time {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.program-fixed {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.program-where h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-sea);
}

.program-where-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 520px) {
  .program-where-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
  }
  .program-where-row .btn {
    flex-shrink: 0;
  }
}

.program-address-block {
  min-width: 0;
}

.program-address {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}


.program-note {
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* İlk kez gelenler */
.first-timers {
  background: var(--color-sand);
}

.first-timers-intro {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.first-timers-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.first-timers-list li {
  margin-bottom: 0.75rem;
}

.first-timers-list li:last-child {
  margin-bottom: 0;
}

.pace-block {
  padding: 1.25rem;
  background: var(--color-sand);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-teal);
}

/* Rehber: kutular beyaz, sand zemin üstünde belirgin olsun */
.first-timers .pace-block,
.first-timers .rules-block,
.first-timers .faq-block {
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.pace-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-sea);
}

.pace-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Rehber içinde kurallar bloğu – pace-block ile aynı kutu stili */
.first-timers .rules-block {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-teal);
}

.first-timers .rules-block .pace-title {
  margin-bottom: 0.5rem;
}

.first-timers .rules-block .rules-intro {
  margin-bottom: 1rem;
}

.first-timers .rules-block .rules-list {
  margin: 0;
}

/* Rehber içinde SSS bloğu – pace-block ile aynı kutu stili (beyaz + gölge yukarıda) */
.first-timers .faq-block {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-teal);
}

.first-timers .faq-block .pace-title {
  margin-bottom: 1rem;
}

.first-timers .faq-block .faq-item {
  border-bottom-color: rgba(26, 95, 110, 0.12);
}

.first-timers .faq-block .faq-item:last-child {
  padding-bottom: 0;
}

/* Koşu kuralları */
.rules {
  background: var(--color-sand);
}

.rules-intro {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.rules-list {
  margin: 0;
  padding-left: 1.25rem;
}

.rules-list li {
  margin-bottom: 0.75rem;
}

.rules-list li:last-child {
  margin-bottom: 0;
}

/* SSS / FAQ */
.faq {
  background: var(--color-white);
}

.faq-list {
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 95, 110, 0.1);
  padding: 1rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-sea);
}

.faq-answer {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.faq-answer a {
  color: var(--color-teal);
}

/* Routes */
.routes {
  background: var(--color-white);
}

.routes-intro {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.routes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.routes-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 95, 110, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.routes-list li:last-child {
  border-bottom: none;
}

.route-name {
  font-weight: 600;
  color: var(--color-sea);
}

.route-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.routes-note {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Strava route embeds */
.routes-embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .routes-embed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .routes-embed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.route-embed-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.route-embed-title {
  margin: 0;
  padding: 1rem 1.25rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-sea);
}

.strava-embed-placeholder {
  min-height: 320px;
  width: 100%;
}

.routes-note code {
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: var(--color-sand);
  border-radius: 4px;
  color: var(--color-teal);
}

.contact-placeholder span {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* Gallery */
.gallery {
  background: var(--color-sand);
}

.gallery-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13, 59, 76, 0.12);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Sponsors */
.sponsors {
  background: var(--color-white);
}

.sponsors-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: center;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--color-text);
}

.sponsor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 59, 76, 0.12);
}

.sponsor-card img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.sponsor-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-sea);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: var(--color-sea);
  color: var(--color-white);
  text-align: center;
}

.footer a {
  color: var(--color-sun);
}

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

.footer-logo {
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-intro {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer-links {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.footer-copy {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  opacity: 0.9;
}

