/* =============================================
   ÖZŞEN KOLEJİ - Page-Specific Styles
   ============================================= */

/* ===== HAKKIMIZDA ===== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }

.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--secondary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary);
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.value-item:hover {
  background: var(--primary-50);
  transform: translateX(4px);
}

.value-num {
  min-width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ===== ANAOKULU / KADEME ===== */
.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.program-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.daily-routine {
  position: relative;
  padding-left: 40px;
}

.daily-routine::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.routine-item {
  position: relative;
  margin-bottom: 20px;
}

.routine-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.routine-time {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-dark);
  letter-spacing: 0.5px;
}

.routine-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin: 3px 0;
}

.routine-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* ===== KAMPÜS ===== */
.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img { transform: scale(1.06); }

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,53,0.85) 0%, rgba(13,27,53,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: var(--transition);
}

.facility-card:hover .facility-overlay {
  background: linear-gradient(to top, rgba(13,27,53,0.90) 0%, rgba(13,27,53,0.4) 100%);
}

.facility-overlay .facility-icon {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.facility-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.facility-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.facility-card:hover .facility-overlay p { max-height: 80px; }

/* ===== GALERİ ===== */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.gallery-masonry {
  columns: 3;
  column-gap: 14px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-masonry-item:hover img { transform: scale(1.04); }

.gallery-masonry-item .gm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,53,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-masonry-item:hover .gm-overlay { opacity: 1; }

.gm-overlay i { color: var(--white); font-size: 2rem; }

@media (max-width: 992px) { .gallery-masonry { columns: 2; } }
@media (max-width: 576px) { .gallery-masonry { columns: 1; } }

/* ===== ETKİNLİK TAKVİMİ ===== */
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  color: var(--white);
}

.calendar-nav button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calendar-nav button:hover { background: rgba(255,255,255,0.25); }
.calendar-nav h5 { font-family: var(--font-heading); font-weight: 700; margin: 0; font-size: 1rem; }

.full-calendar { background: var(--white); border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden; }

.full-calendar .calendar-grid { gap: 1px; background: var(--border); border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden; }

.full-calendar .cal-header { border-radius: 0; }
.full-calendar .cal-day { border-radius: 0; padding: 12px 8px; min-height: 60px; display: flex; flex-direction: column; background: var(--white); }

.full-calendar .cal-day .event-dot {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 3px;
  color: var(--white);
  background: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== VELİLER ===== */
.parent-nav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.parent-nav-card:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.parent-nav-card:hover .pnc-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.parent-nav-card:hover span { color: var(--white); }

.pnc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.parent-nav-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--dark);
  transition: var(--transition-fast);
}

/* ===== BAŞVURU FORMU ===== */
.basvuru-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--border);
  transition: var(--transition-fast);
}

.basvuru-step.active { border-left-color: var(--primary); background: var(--primary-50); }
.basvuru-step.done   { border-left-color: var(--accent);  background: rgba(46, 204, 113, 0.05); }

.step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--border);
  color: var(--text-light);
}

.basvuru-step.active .step-number { background: var(--primary); color: var(--white); }
.basvuru-step.done   .step-number { background: var(--accent);  color: var(--white); }

/* ===== KARİYER ===== */
.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.job-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-type-badge.tam-zamanli { background: rgba(27, 77, 142, 0.1); color: var(--primary); }
.job-type-badge.part-time   { background: rgba(245, 166, 35, 0.1); color: var(--secondary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .timeline-item { flex-direction: column !important; padding-left: 40px; gap: 12px; }
  .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
  .timeline-dot { position: absolute; left: 8px; }
  .gallery-masonry { columns: 2; }
}

@media (max-width: 576px) {
  .mv-card { padding: 24px 20px; }
  .facility-card { height: 220px; }
}
