/* ===== Futbol Okulu - Altınordu renkleri ===== */
:root {
  --red: #c41e3a;
  --red-dark: #a01830;
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --white: #ffffff;
  --gray: #4a5568;
  --gray-light: #e8ecf0;
  --black: #1a1f1b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--navy);
}

.top-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, var(--red) 100%);
  opacity: 0.95;
}

.hero-bg::after {
  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 60M0 30L60 30' stroke='%23fff' stroke-width='0.3' stroke-opacity='0.08' fill='none'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--gray-light);
  color: var(--gray);
}

.btn-secondary:hover {
  background: #ddd;
}

/* ----- Sections ----- */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.about .lead {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ----- Programs ----- */
.programs {
  background: var(--gray-light);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.program-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: 10px;
  border-left: 4px solid var(--red);
}

.program-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ----- Form ----- */
.form-section {
  background: #fff;
}

.google-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.google-form-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 959px;
}

@media (max-width: 680px) {
  .google-form-wrapper iframe {
    min-height: 800px;
  }
}

.form-intro {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.application-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--gray-light);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid #ddd;
}

.application-form fieldset {
  border: none;
  margin-bottom: 1.5rem;
}

.application-form legend {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding: 0;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-width: 140px;
}

/* Formspree success/error - optional */
.form-section .form-message {
  max-width: 560px;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.form-section .form-message.success {
  background: #d4edda;
  color: #155724;
}

.form-section .form-message.error {
  background: #f8d7da;
  color: #721c24;
}

/* ----- Contact ----- */
.contact {
  background: var(--gray-light);
}

.contact-info {
  text-align: center;
  color: var(--gray);
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* ----- Footer ----- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ----- Mobile ----- */
@media (max-width: 640px) {
  .top-bar {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .application-form {
    padding: 1.25rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}
