/* BASE STYLES & TOKENS */
:root {
    --color-navy: #0A192F;
    --color-navy-light: #172A45;
    --color-red: #DC2626;
    --color-red-hover: #B91C1C;
    --color-white: #FFFFFF;
    --color-light-bg: #F8FAFC;
    --color-text: #334155;
    --color-heading: #0F172A;
    --font-primary: 'Inter', sans-serif;
    --spacing-section: 5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white p {
    color: var(--color-white) !important;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #64748B;
}

.text-center { text-align: center; }
.accent-text { color: var(--color-red); font-weight: 700; }

/* LAYOUT */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.py-section {
    padding: var(--spacing-section) 0;
}

.bg-navy { background-color: var(--color-navy); }
.bg-light { background-color: var(--color-light-bg); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
}

.btn-primary:hover {
    background-color: var(--color-red-hover);
    border-color: var(--color-red-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--color-white);
}

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

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

/* HEADER */
.main-header {
    padding: 1rem 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
}

/* HERO */
.hero {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-eyebrow {
    font-size: 1.25rem;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.center-buttons {
    justify-content: center;
}

.accent-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-red) 0%, #F87171 100%);
}

/* GRIDS & CARDS */
.grid {
    display: grid;
    gap: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.highlight-card {
    border: 1px solid #E2E8F0;
    text-align: left;
}

.highlight-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.highlight-card p {
    color: #64748B;
    font-size: 0.95rem;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-red);
}

/* SPLIT LAYOUT */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--color-text);
    font-size: 1.1rem;
}

.text-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 2.5rem 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--color-red);
}

.text-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.15rem;
    color: var(--color-navy);
}

.text-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748B;
}

/* TIMELINE */
.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.timeline-step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background-color: var(--color-white);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--color-navy);
    box-shadow: 0 4px 10px rgba(10, 25, 47, 0.1);
}

.timeline-step h4 {
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background-color: var(--color-navy-light);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; align-items: center; }
    .timeline-step { width: 100%; max-width: 300px; margin-bottom: 2rem; }
    
    .header-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* LANGUAGE SWITCHER LOGIC */
body.lang-en [data-lang="tr"] {
    display: none !important;
}

body.lang-tr [data-lang="en"] {
    display: none !important;
}

/* LANG SWITCHER UI */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.lang-btn:hover {
    color: var(--color-red);
}

.lang-btn.active {
    color: var(--color-red);
    border-bottom: 2px solid var(--color-red);
}

.lang-sep {
    color: #CBD5E1;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.programme-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 1.5rem;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.06);
  pointer-events: auto;
}

.programme-card .card-accent {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #b83232;
  margin-bottom: 1.25rem;
  pointer-events: none;
}

.programme-card h3 {
  margin: 0 0 0.85rem 0;
  color: #14213d;
  font-size: 1.15rem;
  line-height: 1.25;
}

.programme-card p {
  margin: 0 0 1.25rem 0;
  color: #3f4a5f;
  line-height: 1.55;
}

.programme-card-button {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #b83232;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
}

.programme-card-button:hover {
  background: #982929;
}

.programmes *,
.programme-grid *,
.programme-card *,
.programme-card-button {
  pointer-events: auto;
}

.programme-card::before,
.programme-card::after,
.programme-grid::before,
.programme-grid::after,
.programmes::before,
.programmes::after {
  pointer-events: none !important;
}

@media (max-width: 1000px) {
  .programme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .programme-card {
    min-height: auto;
  }
}
