/* ============================================
   Fitry – Fitness App Website
   Mobile-first, plain HTML + CSS
   Logo-uyumlu yazı tipi: Nunito (rounded sans-serif)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

:root {
  /* Logo/header gradient (logonun arka plan rengi) */
  --header-orange-start: #FF7A18;
  --header-orange-mid: #FF8A1F;
  --header-orange-end: #FFA24A;
  --orange-start: #e85d04;
  --orange-mid: #dc2f02;
  --orange-end: #9d0208;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --bg-page: #ffffff;
  --bg-card: #f6f6f6;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 28px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
  min-height: 100vh;
}

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

/* ========== Navigation – Logo arka plan rengi (gradient) ========== */
.site-header {
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #F26F1D 0%, #F9A03F 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Logo alanı: header yüksekliğine tam sığan kutu, arka plan yok */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 52px;
  min-width: 0;
  max-width: 180px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  background: transparent !important;
}

.logo-img {
  width: 100%;
  height: 100%;
  max-height: 52px;
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
}

.lang-switch {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.lang-switch:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  opacity: 0.9;
}

/* Sosyal medya ikonları (header) */
.nav-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  line-height: 0;
  border-radius: 6px;
  transition: background var(--transition), opacity var(--transition);
}

.nav-links .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.nav-links .social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* ========== Hero ========== */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero .subheadline {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  color: var(--header-orange-mid);
  margin: 0 0 1.25rem;
}

.hero .description {
  max-width: 480px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* CTA – Get it on Google Play badge */
.cta-badge-wrap {
  display: inline-block;
  transition: transform var(--transition), filter var(--transition);
}

.cta-badge-wrap:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta-badge-wrap:active {
  transform: translateY(0);
}

.cta-badge {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

/* ========== Features ========== */
.features {
  padding: 3rem 0 4rem;
}

.section-title {
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem;
  color: var(--text);
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.features-list li::before {
  content: "•";
  color: var(--header-orange-mid);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

/* ========== Screenshots ========== */
.screenshots {
  padding: 3rem 0 4rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.screenshot-placeholder {
  aspect-ratio: 9 / 16;
  background: var(--bg-card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-mid);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========== Footer ========== */
.site-footer {
  padding: 2.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  background: var(--bg-page);
}

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

.site-footer .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer .footer-links a:hover {
  color: var(--header-orange-mid);
}

.site-footer .contact {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer .contact a {
  color: var(--text);
  text-decoration: none;
}

.site-footer .contact a:hover {
  color: var(--header-orange-mid);
  text-decoration: underline;
}

/* ========== Legal pages (privacy, terms) ========== */
.legal-page {
  padding: 2rem 0 4rem;
  background: var(--bg-page);
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-page .policy-section {
  margin-bottom: 1.5rem;
}

.legal-page .policy-section .section-head {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.legal-page p,
.legal-page ul {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--header-orange-mid);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--header-orange-end);
  text-decoration: none;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--header-orange-mid);
}
