/* =============================================
   YENİÇAĞ SAHA GÖREV YÖNETİMİ - Web Sitesi
   ============================================= */

:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --red-light: #e74c3c;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #888;
  --dark: #1a1a1a;
  --border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ---- HEADER / NAV ---- */
header {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  color: var(--white);
  padding: 80px 24px 90px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h1 span {
  color: rgba(255,255,255,0.75);
  font-size: 0.65em;
  display: block;
  font-weight: 400;
  margin-top: 6px;
}

.hero p {
  font-size: 17px;
  opacity: 0.88;
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item .number {
  font-size: 34px;
  font-weight: 800;
  color: var(--red);
}

.stat-item .label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}

/* ---- SECTIONS (genel) ---- */
section {
  padding: 72px 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.section-header .tag {
  display: inline-block;
  background: #fde8e6;
  color: var(--red);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray);
  font-size: 16px;
}

/* ---- FEATURES ---- */
.features {
  background: var(--light-gray);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: #fde8e6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  background: var(--white);
}

.steps {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  position: relative;
}

.step {
  text-align: center;
  padding: 28px 18px;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--gray);
}

/* ---- TECH STACK ---- */
.tech {
  background: var(--light-gray);
}

.tech-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tech-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-pill:hover {
  border-color: var(--red);
  box-shadow: 0 2px 10px rgba(192,57,43,0.14);
}

.tech-pill .dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark), var(--red-light));
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}

.cta-band h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 16px;
  opacity: 0.88;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ---- CONTACT PAGE ---- */
.contact-hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}

.contact-hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 16px;
  opacity: 0.88;
}

.contact-section {
  background: var(--light-gray);
  padding: 72px 24px;
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: #fde8e6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-item .info-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.info-item .info-text span {
  font-size: 14px;
  color: var(--gray);
}

/* ---- FORM ---- */
.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
  color: var(--dark);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 16px;
}

/* ---- SUCCESS MESSAGE ---- */
.success-msg {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 14px 18px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
}

footer span {
  color: var(--red-light);
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 7px 10px;
  }

  .hero {
    padding: 56px 16px 64px;
  }

  section {
    padding: 52px 16px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }
}
