/* ═══════════════════════════════════════════════════════
   robotik-design.css — Robotik Kodlama sayfası özel stiller
   ═══════════════════════════════════════════════════════ */

:root {
  --rb-dark:   #0B1E35;
  --rb-blue:   #1E6FD9;
  --rb-teal:   #00C9C8;
  --rb-purple: #7B5CE7;
  --rb-orange: #E06535;
  --rb-light:  #EEF3FF;
  --rb-glass:  rgba(255, 255, 255, 0.08);
  --rb-glass-border: rgba(255, 255, 255, 0.15);
  --rb-gradient: linear-gradient(135deg, var(--rb-blue) 0%, var(--rb-purple) 100%);
}

body { background: #fff; }

/* ── HERO ── */
#rb-hero {
  position: relative;
  min-height: 100vh;
  background: var(--rb-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 6rem 0 4rem;
}
.rb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-teal);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(0, 201, 200, 0.30);
  border-radius: 2rem;
  background: rgba(0, 201, 200, 0.08);
}
#rb-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
#rb-hero h1 .accent {
  background: linear-gradient(90deg, var(--rb-teal), var(--rb-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rb-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}
.rb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.rb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--rb-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(30, 111, 217, 0.35);
}
.rb-btn-primary:hover {
  background: #1558b0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 111, 217, 0.45);
}
.rb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.rb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.rb-btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--rb-teal);
  color: var(--rb-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.rb-btn-teal:hover {
  background: #00aaa9;
  color: var(--rb-dark);
  transform: translateY(-2px);
}
.rb-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION COMMONS ── */
.rb-section       { padding: 5rem 0; }
.rb-section-dark  { background: var(--rb-dark); padding: 5rem 0; }
.rb-section-light { background: var(--rb-light); padding: 5rem 0; }
.rb-section-white { background: #fff; padding: 5rem 0; }

.rb-label {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-blue);
  margin-bottom: 0.6rem;
}
.rb-section-dark .rb-label { color: var(--rb-teal); }

.rb-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--rb-dark);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.rb-section-dark .rb-heading { color: #fff; }

.rb-sub {
  color: #6E82A0;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
}
.rb-section-dark .rb-sub { color: rgba(255, 255, 255, 0.65); }

/* ── INTRO ── */
#rb-intro { background: #fff; padding: 4.5rem 0 4rem; }
.rb-intro-card {
  border-left: 4px solid var(--rb-blue);
  padding: 1.25rem 1.5rem;
  background: var(--rb-light);
  border-radius: 0 8px 8px 0;
}
.rb-intro-stat { text-align: center; padding: 1.5rem 1rem; }
.rb-stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--rb-blue);
  line-height: 1;
  display: block;
}
.rb-stat-label {
  font-size: 0.8rem;
  color: #6E82A0;
  font-weight: 500;
  margin-top: 0.3rem;
  display: block;
}

/* ── TIMELINE ── */
#rb-timeline { background: var(--rb-dark); padding: 5rem 0; overflow: hidden; }
.rb-timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  margin-top: 3rem;
}
.rb-timeline-track::before {
  content: '';
  position: absolute;
  top: 1.375rem;
  left: 3rem;
  right: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--rb-blue), var(--rb-teal), var(--rb-purple));
  z-index: 0;
}
.rb-tl-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 0.4rem;
}
.rb-tl-dot {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rb-dark);
  border: 2px solid var(--rb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--rb-teal);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.rb-tl-step:hover .rb-tl-dot {
  background: var(--rb-blue);
  border-color: var(--rb-teal);
  color: #fff;
}
.rb-tl-icon { font-size: 1.2rem; color: var(--rb-teal); margin-bottom: 0.5rem; }
.rb-tl-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.25rem;
}
.rb-tl-desc {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  line-height: 1.5;
}

/* ── WORKSHOP AREAS ── */
#rb-alanlar { background: #fff; padding: 5rem 0; }
.rb-alan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.rb-alan-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11, 30, 53, 0.10);
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.rb-alan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(11, 30, 53, 0.16);
}
.rb-alan-img { height: 180px; overflow: hidden; position: relative; }
.rb-alan-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform 0.4s;
  display: block;
}
.rb-alan-card:hover .rb-alan-img img { transform: scale(1.05); }
.rb-alan-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  background: var(--rb-blue);
  color: #fff;
}
.rb-alan-body {
  padding: 1.25rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.rb-alan-header { display: flex; align-items: center; gap: 0.6rem; }
.rb-alan-header i {
  width: 2rem; height: 2rem;
  border-radius: 6px;
  background: var(--rb-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--rb-blue);
  flex-shrink: 0;
}
.rb-alan-header strong {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--rb-dark);
}
.rb-alan-desc { font-size: 0.82rem; color: #6E82A0; line-height: 1.6; margin: 0; }
.rb-alan-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rb-light);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}
.rb-alan-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 0.2rem;
}
.rb-tool-level {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6E82A0;
  padding: 0.1rem 0.35rem;
  background: rgba(110, 130, 160, 0.15);
  border-radius: 2px;
}
.rb-tool-level--ileri {
  color: var(--rb-blue);
  background: rgba(30, 111, 217, 0.12);
}
.rb-tool-name { font-size: 0.72rem; font-weight: 600; color: var(--rb-dark); }
.rb-tools-arrow { color: var(--rb-orange); font-size: 0.8rem; flex-shrink: 0; }
.rb-alan-projects {
  border-top: 1px solid rgba(11, 30, 53, 0.07);
  padding-top: 0.65rem;
  margin-top: auto;
}
.rb-projects-label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6E82A0;
  margin-bottom: 0.4rem;
  display: block;
}
.rb-project-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.rb-project-tag {
  font-size: 0.67rem;
  color: var(--rb-dark);
  background: rgba(11, 30, 53, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 500;
}

/* ── WORKSHOP MAP ── */
#rb-harita { background: var(--rb-dark); padding: 5rem 0; }
.rb-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.rb-map-tile {
  border-radius: 12px;
  background: var(--rb-glass);
  border: 1px solid var(--rb-glass-border);
  padding: 2rem 1.75rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.rb-map-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: var(--rb-gradient);
  z-index: 0;
}
.rb-map-tile:hover { transform: scale(1.02); border-color: var(--rb-blue); }
.rb-map-tile:hover::before { opacity: 0.12; }
.rb-map-tile-inner { position: relative; z-index: 1; }
.rb-map-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.rb-map-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
.rb-map-tools-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.rb-map-tools-list li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rb-map-tools-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rb-teal);
  flex-shrink: 0;
}
.rb-map-expand { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.3s; }
.rb-map-tile:hover .rb-map-expand { max-height: 120px; margin-top: 1rem; }
.rb-map-expand-content { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 0.85rem; }
.rb-map-expand-content p { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; margin: 0; }

/* ── YARISMALAR ── */
#rb-yarisma { background: var(--rb-light); padding: 5rem 0; }
.rb-yarisma-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(11, 30, 53, 0.07);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rb-yarisma-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(11, 30, 53, 0.12); }
.rb-yarisma-icon {
  width: 3rem; height: 3rem;
  border-radius: 10px;
  background: var(--rb-gradient);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}
.rb-yarisma-body h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rb-dark);
  margin-bottom: 0.35rem;
}
.rb-yarisma-body p { font-size: 0.82rem; color: #6E82A0; line-height: 1.6; margin: 0; }

/* ── NEDEN PODEDO ── */
#rb-neden { background: #fff; padding: 5rem 0; }
.rb-neden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.rb-neden-item {
  background: var(--rb-light);
  border-radius: 10px;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rb-neden-item:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(30, 111, 217, 0.12); }
.rb-neden-icon { font-size: 1.4rem; color: var(--rb-blue); }
.rb-neden-title { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 0.9rem; color: var(--rb-dark); line-height: 1.3; }
.rb-neden-desc { font-size: 0.77rem; color: #6E82A0; line-height: 1.55; margin: 0; }

/* ── KAZANIMLAR ── */
#rb-kazanim { background: var(--rb-dark); padding: 5rem 0; }
.rb-kazanim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.rb-kazanim-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--rb-glass);
  border: 1px solid var(--rb-glass-border);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.rb-kazanim-item:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--rb-teal); }
.rb-kazanim-check {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 201, 200, 0.15);
  border: 1px solid var(--rb-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--rb-teal);
  font-size: 0.6rem;
}
.rb-kazanim-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); line-height: 1.5; font-weight: 500; }

/* ── VELILERE GUVEN ── */
#rb-guven { background: var(--rb-light); padding: 5rem 0; }
.rb-guven-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(11, 30, 53, 0.07);
  border-top: 4px solid var(--rb-blue);
}
.rb-guven-card.card-teal  { border-top-color: var(--rb-teal); }
.rb-guven-card.card-purple { border-top-color: var(--rb-purple); }
.rb-guven-icon { font-size: 2rem; color: var(--rb-blue); margin-bottom: 1rem; display: block; }
.rb-guven-card.card-teal   .rb-guven-icon { color: var(--rb-teal); }
.rb-guven-card.card-purple .rb-guven-icon { color: var(--rb-purple); }
.rb-guven-title { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1rem; color: var(--rb-dark); margin-bottom: 0.5rem; }
.rb-guven-body { font-size: 0.85rem; color: #6E82A0; line-height: 1.65; margin: 0; }

/* ── GALLERY ── */
#rb-galeri { background: #fff; padding: 5rem 0; }
.rb-swiper { padding-bottom: 3rem !important; }
.rb-swiper .swiper-slide img { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; display: block; }
.rb-swiper .swiper-pagination-bullet { background: var(--rb-blue); opacity: 0.4; }
.rb-swiper .swiper-pagination-bullet-active { background: var(--rb-blue); opacity: 1; }

/* ── FAQ ── */
#rb-faq { background: var(--rb-light); padding: 5rem 0; }
.rb-faq-accordion .accordion-item {
  border: none;
  border-radius: 8px !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(11, 30, 53, 0.06);
}
.rb-faq-accordion .accordion-button {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rb-dark);
  background: #fff;
  padding: 1.15rem 1.35rem;
}
.rb-faq-accordion .accordion-button:not(.collapsed) {
  background: var(--rb-light);
  color: var(--rb-blue);
  box-shadow: none;
}
.rb-faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15); }
.rb-faq-accordion .accordion-body {
  background: #fff;
  font-size: 0.875rem;
  color: #6E82A0;
  line-height: 1.7;
  padding: 0 1.35rem 1.2rem;
}

/* ── FINAL CTA ── */
#rb-cta {
  background: var(--rb-gradient);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#rb-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -200px; right: -100px;
  pointer-events: none;
}
#rb-cta::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -150px; left: -80px;
  pointer-events: none;
}
#rb-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 1rem;
}
#rb-cta p { color: rgba(255, 255, 255, 0.80); font-size: 1rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }
.rb-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; }
.rb-btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--rb-blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rb-btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); color: var(--rb-blue); }
.rb-btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.rb-btn-cta-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .rb-alan-grid, .rb-map-grid { grid-template-columns: 1fr; }
  .rb-timeline-track { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .rb-timeline-track::before {
    top: 1.375rem;
    left: 1.375rem;
    right: auto;
    width: 2px;
    height: calc(100% - 2.75rem);
    background: linear-gradient(180deg, var(--rb-blue), var(--rb-teal), var(--rb-purple));
  }
  .rb-tl-step { flex-direction: row; align-items: flex-start; padding: 0; gap: 1rem; }
  .rb-tl-dot  { flex-shrink: 0; margin-bottom: 0; }
  .rb-tl-title, .rb-tl-desc { text-align: left; }
  .rb-neden-grid { grid-template-columns: 1fr 1fr; }
  .rb-kazanim-grid { grid-template-columns: 1fr; }
  .rb-hero-inner { padding: 7rem 0 3rem; }
}
@media (max-width: 480px) {
  .rb-neden-grid { grid-template-columns: 1fr; }
  .rb-hero-cta { flex-direction: column; }
  .rb-hero-cta a { text-align: center; justify-content: center; }
}
