/* ──────────────────────────────────────────────────────────────
   Pozitif Özel Öğretim Kursu – Tam CSS
   Temizlenmiş sürüm: görünüm korunarak tekrarlar azaltıldı.
   ────────────────────────────────────────────────────────────── */

:root {
  --red: #e50914;
  --red-dark: #a9000a;
  --black: #090909;
  --white: #ffffff;
  --muted: #6b7280;
  --soft: #f5f5f7;
  --border: rgba(255, 255, 255, .16);
  --shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--white);
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ── Yükleme ekranı ──────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: #050505;
  color: #fff;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 14px;
  transition: .45s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.pulse {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229, 9, 20, .7);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 28px rgba(229, 9, 20, 0);
  }
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: .3s;
}

.header.scrolled {
  background: rgba(10, 10, 12, .55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.navbar {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 14px 22px;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  opacity: .9;
  transition: .25s;
}

.nav-links a:hover {
  color: var(--red);
  opacity: 1;
}

.login-link {
  background: var(--red);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff !important;
  margin-left: 75px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 40px;
  padding: 130px max(22px, calc((100vw - 1180px)/2)) 70px;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(229, 9, 20, .45), transparent 28%), linear-gradient(135deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .55)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=80') center/cover;
  z-index: 0;
  transform: scale(1.03);
}

.hero>*:not(.hero-bg) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.08em;
  font-weight: 900;
}

h1 span,
h2 span {
  color: var(--red);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.06em;
  margin-bottom: 14px;
}

.hero-text {
  max-width: 680px;
  color: #e5e7eb;
  font-size: 1.14rem;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 14px 22px;
  font-weight: 900;
  transition: .25s;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 36px rgba(229, 9, 20, .32);
}

.secondary {
  border-color: var(--border);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.glass {
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
  margin-bottom: 35px;
  margin-left: 105px;
}

.countdown-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.countdown div {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  padding: 14px 8px;
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
}

.countdown span {
  display: block;
  margin-top: 7px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.exam-note {
  color: #e5e7eb;
  margin-bottom: 18px;
}

/* ── Section ─────────────────────────────────────────────────── */
.section {
  padding: 95px max(22px, calc((100vw - 1180px)/2));
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-head p {
  color: var(--muted);
}
/*kadro arkası team section */
.team-section {
  position: relative;
  overflow: hidden;
  background:
  radial-gradient(circle at 85% 22%, rgba(229, 9, 20, .14), transparent 26%),
  radial-gradient(circle at 12% 78%, rgba(229, 9, 20, .10), transparent 28%),
  linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.team-section::before {
  
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 90px;
  border-radius: 50%;
  border: 1px solid rgba(229, 9, 20, .18);
  background: rgba(229, 9, 20, .06);
  pointer-events: none;
}

.team-section::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -140px;
  bottom: -140px;
  border-radius: 50%;
  border: 1px solid rgba(229, 9, 20, .14);
  background: rgba(229, 9, 20, .045);
  pointer-events: none;
}

.team-section .section-head,
.team-section .team-grid {
  position: relative;
  z-index: 1;
}

.cards,
.team-grid,
.stats-grid,
.dashboard-grid {
  display: grid;
  gap: 22px;
}

/* ── Kartlar ─────────────────────────────────────────────────── */
.card,
.team-card,
.stat-card,
.dash-card,
.about-panel,
.login-card {
  border: 1px solid #eee;
  border-radius: 28px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(0, 0, 0, .06);
  transition: .25s;
}

.card:hover,
.team-card:hover,
.dash-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--red-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

/* ── Başarı (dark section) ────────────────────────────────────── */
.dark-section {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, .18), transparent 30%), linear-gradient(135deg, #e50914, #98000b);
  color: #fff;
}

.dark-section .section-head p {
  color: #c9c9c9;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background:
    linear-gradient(160deg,
      rgba(255,255,255,.18),
      rgba(255,255,255,.08));

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255,255,255,.22);

  border-radius: 30px;
  padding: 32px 24px;

  box-shadow:
    0 18px 50px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.12);

  color: #fff;
  text-align: center;

  transition: .3s ease;
}

.stat-card span {
  display: block;

  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;

  background: linear-gradient(
    135deg,
    #ffffff,
    #ffd9db
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  margin-bottom: 8px;
}

.stat-card p {
  color: rgba(255,255,255,.85);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
}

.stat-card:hover {
  transform: translateY(-8px);

  background:
    linear-gradient(
      160deg,
      rgba(255,255,255,.22),
      rgba(255,255,255,.10)
    );

  box-shadow:
    0 28px 70px rgba(0,0,0,.24),
    0 0 40px rgba(255,255,255,.08);
}
/* Başarı Tablosu yazısı masaüstünde de mobil gibi */
.dark-section .section-head .eyebrow {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}

/* ── Dereceye Giren Öğrencilerimiz (Başarı Tablosu) ─────────────── */
.success-students-wrap {
  margin-top: 56px;
  text-align: center;
}

.success-students-title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 auto 26px;
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.success-table-scroll {
  max-width: 900px;
  max-height: 320px;
  margin: 0 auto;
  border-radius: 24px;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  /* Scrollbar'ı her zaman görünür yap (macOS'ta varsayılan olarak gizli olur) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .5) rgba(255, 255, 255, .08);
}

.success-table-scroll::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.success-table-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
}

.success-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .45);
  border-radius: 999px;
}

.success-table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .65);
}

.success-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: #fff;
}

.success-table thead th {
  position: sticky;
  top: 0;
  background: #7a1015;
  text-align: left;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .8);
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.success-table tbody td {
  padding: 14px 22px;
  font-size: .92rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  vertical-align: middle;
}

.success-table tbody tr:last-child td {
  border-bottom: none;
}

.success-table tbody tr:hover {
  background: rgba(255, 255, 255, .06);
}

.success-student-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.success-student-photo,
.success-student-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.success-student-photo {
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .4);
}

.success-student-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .22);
  font-weight: 900;
  color: #fff;
}

@media (max-width: 640px) {
  .success-table thead th,
  .success-table tbody td {
    padding: 10px 12px;
    font-size: .82rem;
  }

  .success-student-photo,
  .success-student-avatar {
    width: 30px;
    height: 30px;
  }

  .success-table thead th:nth-child(3),
  .success-table tbody td:nth-child(3) {
    white-space: nowrap;
  }
}

/* ── Hakkımızda ──────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.feature-list span {
  background: var(--soft);
  padding: 12px;
  border-radius: 14px;
  font-weight: 800;
  transition: .25s;
  cursor: default;
}

.feature-list span:hover {
  transform: translateY(-4px);
  background: var(--red);
  color: #fff;
}

/* Sağ taraf modern panel */

.about-panel {
  position: relative;
  overflow: hidden;

  padding: 32px;
  border-radius: 34px;

  background:
    radial-gradient(circle at 92% 8%, rgba(229, 9, 20, .16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(229, 9, 20, .10), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f8 100%);

  border: 1px solid rgba(229, 9, 20, .08);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, .08),
    0 10px 30px rgba(229, 9, 20, .08);
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, .65) 45%,
      transparent 100%
    );

  pointer-events: none;
}

.about-panel::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -95px;
  bottom: -95px;

  border-radius: 50%;
  background: rgba(229, 9, 20, .055);

  pointer-events: none;
}

.about-features {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-feature {
  position: relative;
  overflow: hidden;

  min-height: 185px;
  padding: 22px;

  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .85);

  background: rgba(255, 255, 255, .72);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, .045),
    inset 0 1px 0 rgba(255, 255, 255, .9);

  transition: .28s ease;
}

.about-feature::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -45px;
  bottom: -45px;

  border-radius: 50%;
  background: rgba(229, 9, 20, .06);

  transition: .28s ease;
}

.about-feature:hover {
  transform: translateY(-7px);

  border-color: rgba(229, 9, 20, .18);

  background: rgba(255, 255, 255, .92);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, .08),
    0 0 0 1px rgba(229, 9, 20, .06);
}

.about-feature:hover::after {
  transform: scale(1.25);
  background: rgba(229, 9, 20, .09);
}

.feature-icon {
  position: relative;
  z-index: 1;

  width: 58px;
  height: 58px;

  border-radius: 18px;

  background:
    linear-gradient(135deg, rgba(229, 9, 20, .16), rgba(229, 9, 20, .05));

  border: 1px solid rgba(229, 9, 20, .13);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  color: var(--red);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.15;
}

.about-feature h4 {
  position: relative;
  z-index: 1;

  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;

  margin-bottom: 9px;

  color: #111;
}

.about-feature p {
  position: relative;
  z-index: 1;

  font-size: .86rem;
  line-height: 1.55;

  color: #646464;
}

/* Responsive */

/* ── Kadro ───────────────────────────────────────────────────── */

.team-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 10px 24px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Scroll normalde gizli */
.team-grid::-webkit-scrollbar {
  height: 0;
}

.team-grid::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.team-grid::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}

/* Mouse kadro alanına gelince scroll görünsün */
.team-grid:hover {
  scrollbar-color: rgba(229, 9, 20, .7) rgba(0, 0, 0, .04);
}

.team-grid:hover::-webkit-scrollbar {
  height: 4px;
}

.team-grid:hover::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .04);
}

.team-grid:hover::-webkit-scrollbar-thumb {
  background: var(--red-dark);
}

/* Kaydırırken biraz daha belirgin */
.team-grid:active::-webkit-scrollbar-thumb {
  background: var(--red-dark);
}

.team-card {
  flex: 0 0 280px;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card h3 {
  margin: 6px 0 4px;
  text-align: center;
}

.team-card strong {
  color: var(--red-dark);
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.team-card p {
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--red), #111);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;

  margin: 0 auto 16px;
  border: 3px solid var(--red-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.staff-photo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
  border: 3px solid var(--red-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.team-card p {
  color: var(--muted);
}

/* ── Giriş ───────────────────────────────────────────────────── */

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: 0;
  transition: .25s;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, .1);
}

.check input {
  width: auto;
  margin: 0;
}

.full {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.hidden {
  display: none !important;
}

/* ── YENİ GİRİŞ BÖLÜMÜ ──────────────────────────────────────── */
.login-section-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-bottom: 0;
}

/* Sol panel */
.login-panel-left {
  background: #f8f8fa;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.login-panel-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 460px;
}

.login-panel-gallery {
  position: relative;
  z-index: 1;
  width: 85%;
  height: 85%;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .10);
}

.login-panel-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.login-panel-image.active {
  opacity: 1;
}

.login-panel-image {
  cursor: pointer;
}

/* Galeriye dokununca açılan tam ekran görüntüleyici */
.login-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
}

.login-lightbox.open {
  display: flex;
}

.login-lightbox-media {
  max-width: 92vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-lightbox-media img,
.login-lightbox-media video {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 14px;
  object-fit: contain;
  display: block;
}

.login-lightbox-close,
.login-lightbox-arrow-lb {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
}

.login-lightbox-close:hover,
.login-lightbox-arrow-lb:hover {
  background: rgba(255, 255, 255, .22);
}

.login-lightbox-close svg,
.login-lightbox-arrow-lb svg {
  width: 20px;
  height: 20px;
}

.login-lightbox-close {
  top: 18px;
  right: 18px;
}

.login-lightbox-arrow-lb {
  top: 50%;
  transform: translateY(-50%);
}

.login-lightbox-prev-lb { left: 16px; }
.login-lightbox-next-lb { right: 16px; }

.login-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a1a1a;
  padding: 0;
  transition: background .2s ease, transform .15s ease;
}

.login-gallery-arrow svg {
  width: 18px;
  height: 18px;
}

.login-gallery-arrow:hover {
  background: rgba(255, 255, 255, .88);
}

.login-gallery-arrow:active {
  transform: translateY(-50%) scale(.94);
}

.login-gallery-arrow-prev { left: 12px; }
.login-gallery-arrow-next { right: 12px; }

.login-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.login-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.login-gallery-dot:hover {
  background: rgba(0, 0, 0, .4);
}

.login-gallery-dot.active {
  width: 24px;
  background: #c1272d;
}

.login-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #ff6b6b;
}

.login-brand-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulse 1.5s infinite;
}

.login-panel-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.login-panel-desc {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 44px;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.login-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.login-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.18);
  border: 1px solid rgba(229, 9, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ff6b6b;
}

.login-feature-item strong {
  display: block;
  font-size: .92rem;
  color: #fff;
  margin-bottom: 3px;
}

.login-feature-item p {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* Dekoratif halkalar */
.login-panel-deco {
  position: absolute;
  right: -80px;
  bottom: -80px;
  pointer-events: none;
  z-index: 1;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(229, 9, 20, 0.15);
}

.deco-ring-1 { width: 260px; height: 260px; top: -130px; left: -130px; }
.deco-ring-2 { width: 420px; height: 420px; top: -210px; left: -210px; border-color: rgba(229, 9, 20, 0.08); }
.deco-ring-3 { width: 600px; height: 600px; top: -300px; left: -300px; border-color: rgba(229, 9, 20, 0.04); }

/* Sağ panel */
.login-panel-right {
  background: #f8f8fa;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

/* Kart arkasındaki dekoratif kırmızı halka — panelin tam ortasında,
   tek bir düzenli hale (dağınık köşe halkaları yerine) */
.login-rings-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.login-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(229, 9, 20, .30);
}

.login-ring-a { width: 300px; height: 300px; border-color: rgba(229, 9, 20, .45); }
.login-ring-b { width: 420px; height: 420px; border-color: rgba(229, 9, 20, .25); }
.login-ring-c { width: 540px; height: 540px; border-color: rgba(229, 9, 20, .14); }
.login-ring-d { width: 660px; height: 660px; border-color: rgba(229, 9, 20, .08); }

.login-card-new {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  padding: 36px 34px 30px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
}

.login-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-avatar {
  width: 64px;
  height: 64px;
  background: #fee2e2;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid #fecaca;
}

.login-avatar svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
}

.login-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 5px;
}

.login-card-header p {
  color: var(--muted);
  font-size: .9rem;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  stroke: #bbb;
  pointer-events: none;
  z-index: 1;
}

.login-input-wrap input {
  width: 100%;
  padding: 13px 44px 13px 42px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  font-size: .95rem;
  font-family: inherit;
  background: #fafafa;
  outline: none;
  transition: .2s;
  margin: 0;
}

.login-input-wrap input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(229, 9, 20, .08);
}

.login-pwd-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: #bbb;
  transition: .15s;
}

.login-pwd-toggle:hover,
.login-pwd-toggle.active {
  color: var(--red);
}

.login-pwd-toggle svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.login-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: #555;
  cursor: pointer;
  user-select: none;
}

.login-check input {
  display: none;
}

.login-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  flex-shrink: 0;
  background: #fff;
}

.login-check input:checked + .login-check-box {
  background: var(--red);
  border-color: var(--red);
}

.login-check input:checked + .login-check-box::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.login-forgot {
  font-size: .88rem;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.login-forgot:hover {
  text-decoration: underline;
}

.login-submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--red) 0%, #c2000b 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .2s;
  box-shadow: 0 6px 20px rgba(229, 9, 20, .35);
  letter-spacing: .01em;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(229, 9, 20, .4);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

.login-submit-btn:hover svg {
  transform: translateX(4px);
}

.login-secure-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  font-size: .78rem;
  color: #aaa;
}

.login-secure-row svg {
  width: 13px;
  height: 13px;
  stroke: #ccc;
  flex-shrink: 0;
}

/* ── Öğrenci paneli ──────────────────────────────────────────── */
.student-panel {
  background: #fff;
}

.dashboard-grid {
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
}

.dash-card h3 {
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

th {
  color: var(--red);
}

.study-item {
  padding: 14px;
  border-radius: 16px;
  background: var(--soft);
  margin-bottom: 10px;
}

.absence-meter {
  height: 16px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
}

.absence-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 999px;
  transition: width .8s ease;
}

/* ── Yönetim paneli ──────────────────────────────────────────── */
.admin-panel {
  background: var(--soft);
}

.tab-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  font-size: .9rem;
}

.tab-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.admin-table th,
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.admin-table th {
  color: var(--red);
  background: var(--soft);
  font-weight: 800;
}

.admin-table tr:hover td {
  background: #fafafa;
}

.btn-sm {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  font-size: .85rem;
}

.btn-sm:hover {
  background: var(--red-dark);
}

/* ── Modaller ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .25);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.modal-header h3 {
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: 0;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s;
}

.modal-close:hover {
  color: var(--red);
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.cred-box {
  background: var(--soft);
  border-radius: 18px;
  padding: 20px;
  margin-top: 10px;
}

.cred-box p {
  margin-bottom: 10px;
}

.cred-pwd {
  color: var(--red);
  font-size: 1.15rem;
  letter-spacing: .05em;
}

/* ── Toast Bildirimleri ───────────────────────── */

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 3000;

  min-width: 300px;
  max-width: 420px;

  padding: 16px 22px;
  border-radius: 18px;

  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.5;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 18px 45px rgba(0,0,0,.22),
    0 0 0 1px rgba(255,255,255,.04);

  opacity: 0;
  transform: translateY(18px) scale(.97);

  transition:
    opacity .28s ease,
    transform .28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Başarılı */
.toast-success {
  background:
    linear-gradient(135deg,#16a34a 0%,#15803d 100%);
}

/* Hata */
.toast-error {
  background:
    linear-gradient(135deg,#ef4444 0%,#b91c1c 100%);
}

/* Bilgi */
.toast-info {
  background:
    linear-gradient(135deg,#111111 0%,#7a0008 100%);
  border-color: rgba(229,9,20,.25);
  box-shadow:
    0 20px 50px rgba(229,9,20,.18),
    0 0 0 1px rgba(229,9,20,.12);
}

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .7s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, .16), transparent 28%),
    linear-gradient(180deg, #080808 0%, #030303 100%);
  color: #fff;
  padding-top: 72px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 54px;
}

.footer h3,
.footer h4 {
  margin-top: 8px;
  margin-bottom: 22px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.footer h4::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--red);
}

.footer p {
  color: #cfcfcf;
  line-height: 1.8;
}

.footer-logo {
  width: 190px;
  height: auto;
  object-fit: contain;
  margin: -30px -40px 18px;
  padding: 30px 40px;
  display: block;
  background: radial-gradient(circle, rgba(229, 9, 20, .55) 0%, rgba(229, 9, 20, .22) 40%, transparent 72%);
}

.footer-brand p {
  max-width: 390px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cfcfcf;
  transition: .25s ease;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.footer-contact-item p {
  margin: 0;
  color: #cfcfcf;
  line-height: 1.5;
}

.social-links {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.social-links i {
  font-size: 20px;
  color: #fff;
  line-height: 1;
}

.social-links a:hover i {
  color: var(--red);
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(229, 9, 20, .35);
  box-shadow: 0 12px 28px rgba(229, 9, 20, .16);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  text-align: center;
  padding: 20px;
  color: #999;
  background: rgba(0, 0, 0, .25);
}

.footer-bottom p {
  color: #999;
  font-size: .9rem;
}

/* Mobil footer */

/* ── Badge durumu ─────────────────────────────────────────────── */
.badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

.badge-status.planli {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-status.tamamlandi {
  background: #dcfce7;
  color: #15803d;
}

.badge-status.iptal {
  background: #fee2e2;
  color: var(--red-dark);
}

/* ── Responsive ──────────────────────────────────────────────── */

/* ── DUYURULAR ────────────────────────────────────────────── */

/* ── DUYURULAR / MODERN SLIDER ───────────────────────────── */

.announcements-section {
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
  overflow: hidden;
}

#announcements {
  max-width: 1180px;
  margin: 0 auto;
}

.announcement-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 4px 36px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #e7e7e7;
}

.announcement-slider::-webkit-scrollbar {
  height: 7px;
}

.announcement-slider::-webkit-scrollbar-track {
  background: #e7e7e7;
  border-radius: 999px;
}

.announcement-slider::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 999px;
}

.announcement-card {
  flex: 0 0 360px;
  min-height: 250px;
  padding: 26px;
  scroll-snap-align: start;
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .075);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.announcement-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), #ff5a64);
}

.announcement-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(229, 9, 20, .08);
}

.announcement-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, .24);
  box-shadow: 0 28px 70px rgba(229, 9, 20, .14);
}

.announcement-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffe8ea;
  color: var(--red);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.announcement-new-badge {
  position: absolute;
  top: 16px;
  right: 16px;

  padding: 6px 12px;
  border-radius: 999px;

  background: var(--red);
  color: #fff;

  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;

  box-shadow: 0 8px 18px rgba(229, 9, 20, .18);
}
.announcement-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 36px;
}

.announcement-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 14px;
  border-radius: 999px;

  background: rgba(229, 9, 20, .10);
  border: 1px solid rgba(229, 9, 20, .18);

  color: var(--red-dark);

  font-size: .76rem;
  font-weight: 800;
  line-height: 1;

  white-space: nowrap;
  width: fit-content;
}

.announcement-date-badge i {
  color: var(--red);
  font-size: .8rem;
}

.announcement-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin-bottom: 12px;
  color: #111;
}

.announcement-card p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

.announcement-bottom {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.announcement-file,
.announcement-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 14px;
  border-radius: 999px;

  background: #f6f7f9;
  border: 1px solid #e8eaee;

  color: #555;
  font-size: .78rem;
  font-weight: 700;
}

.announcement-file svg,
.announcement-more svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.announcement-card:hover .announcement-more,
.announcement-card:hover .announcement-file {
  border-color: rgba(229,9,20,.18);
  color: var(--red);
}

.announcement-loading,
.announcement-empty {
  width: 100%;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 24px;
  padding: 30px;
}

/* ── DUYURU DETAY MODALI ───────────────────────────── */

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.announcement-modal-content {
  width: min(640px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  color: #111;
  border-radius: 30px;
  padding: 34px;
  position: relative;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .35);
}

.announcement-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
  font-size: 1.1rem;
  cursor: pointer;
}

.announcement-close:hover {
  background: var(--red);
  color: #fff;
}

.announcement-modal-content h2 {
  padding-right: 44px;
  font-size: 1.8rem;
  line-height: 1.15;
  margin: 18px 0;
  color: #111;
}

.announcement-body {
  white-space: pre-line;
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

.announcement-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 24px;
  padding: 12px 16px;

  border-radius: 14px;
  text-decoration: none;

  background: #f6f7f9;
  border: 1px solid #e9eaee;

  color: #444;
  font-size: .92rem;
  font-weight: 700;

  transition: .2s ease;
}

.announcement-download:hover {
  background: #fff;
  border-color: rgba(229,9,20,.18);
  color: var(--red);
}

.announcement-image-wrap {
  margin-top: 24px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.announcement-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: contain;
  border-radius: 16px;
}

.announcement-file-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: #fafafa;
  border: 1px solid #ececec;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.announcement-file-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #222;
  margin-bottom: 16px;
  font-size: .98rem;
  line-height: 1.35;
}

.announcement-file-title svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
}

.announcement-file-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 16px;
  border-radius: 14px;

  background: #fff;
  border: 1px solid #e5e7eb;

  color: #222;
  text-decoration: none;

  font-size: .9rem;
  font-weight: 800;

  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
  transition: .25s ease;
}

.announcement-file-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.announcement-file-btn:first-child {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.announcement-file-btn:first-child:hover {
  background: #c40012;
  border-color: #c40012;
  color: #fff;
}

.announcement-file-btn:not(:first-child):hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-2px);
}

/* Masaüstünde de mobildeki kırmızı yazı efekti */
h1 span,
h2 span {
  background: linear-gradient(135deg, #ff4b56, var(--red) 60%, #ff8a8f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Masaüstünde eyebrow yazısı da mobil gibi kutulu olsun */
.hero-content .eyebrow {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(229, 9, 20, .12);
  border: 1px solid rgba(229, 9, 20, .28);
  color: var(--red);
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   Responsive Düzen
   Büyük ekrandan küçüğe doğru sıralandı. Aynı breakpoint kuralları
   tek @media bloğunda toplandı. Masaüstü görünümü korunur.
   ────────────────────────────────────────────────────────────── */

/* ── Tablet (≤1024px) ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar {
    padding: 12px 20px;
  }

  .logo img {
    height: 50px;
  }

  .hero {
    gap: 30px;
    padding: 120px 22px 64px;
  }

  .hero-card {
    margin-left: 0;
    margin-bottom: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .login-section-new {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Form solundaki galeri tablet/mobilde üstte, daha kısa bir şerit olarak */
  .login-panel-left {
    height: 260px;
    padding: 14px;
  }

  .login-panel-gallery {
    width: 100%;
    height: 100%;
  }

  .login-panel-right {
    padding: 48px 28px;
  }

  .login-card-new {
    box-shadow: 0 24px 60px rgba(0,0,0,.10), 0 1px 0 rgba(0,0,0,.04);
  }

}

/* ── Tablet / Mobil ortak (≤900px) ───────────────────────────────────────── */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    background: #111;
    border: 1px solid #333;
    border-radius: 24px;
    padding: 20px;
    display: none;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .about,
  .login-wrapper,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .login-section-new {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-panel-left {
    height: 240px;
    padding: 18px;
  }

  .login-panel-right {
    padding: 40px 24px;
  }

  .login-card-new {
    padding: 32px 24px;
  }

  .hero-card {
    margin: 0;
  }


  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* ── Header: kalıcı cam efekti ── */
  .header {
    background: rgba(8, 8, 10, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .header.scrolled {
    background: rgba(8, 8, 10, .65);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }

  .navbar {
    padding: 10px 18px;
  }

  .logo img {
    height: 42px;
  }

  /* ── Hamburger butonu: dairesel cam buton ── */
  .menu-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    transition: .2s ease;
  }

  .menu-btn:active {
    transform: scale(.92);
    background: rgba(229,9,20,.18);
    border-color: rgba(229,9,20,.35);
  }

  /* ── Açılır menü: kırmızı-siyah cam panel ── */
  .nav-links {
    top: 68px;
    right: 14px;
    left: 14px;
    background: linear-gradient(160deg, rgba(20,5,6,.92), rgba(8,8,8,.96));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(229,9,20,.18);
    border-radius: 22px;
    padding: 14px;
    gap: 4px;
    box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03) inset;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: .2s ease;
  }

  .nav-links a:active {
    background: rgba(229,9,20,.16);
    color: #fff;
  }

  .nav-links .login-link {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(229,9,20,.35);
  }

  /* ── HERO ── */
  .hero {
    min-height: auto;
    padding: 112px 18px 52px;
    text-align: center;
    justify-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content .eyebrow {
    display: inline-flex;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(229,9,20,.12);
    border: 1px solid rgba(229,9,20,.28);
    text-align: center;
    margin-bottom: 18px;
  }

  h1 span,
  h2 span {
    background: linear-gradient(135deg, #ff4b56, var(--red) 60%, #ff8a8f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-text {
    margin: 16px auto 22px;
    max-width: 540px;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .btn:active {
    transform: scale(.96);
  }

  .primary {
    background: linear-gradient(135deg, var(--red), #b3000c);
  }

  /* ── Sayaç kartı: parlayan cam kart ── */
  .hero-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 60px rgba(229,9,20,.10);
  }

  .countdown div {
    background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }

  .countdown strong {
    text-shadow: 0 0 18px rgba(255,255,255,.25);
  }

  /* ── GİRİŞ – sol panel mobilde daha da kısa bir şerit ── */
  .login-panel-left {
    height: 200px;
    padding: 14px;
  }

  .login-panel-right {
    padding: 56px 22px;
    background: linear-gradient(180deg, #fafafa 0%, #f3f3f6 100%);
  }

  .login-card-new {
    max-width: 460px;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0,0,0,.09), 0 1px 0 rgba(0,0,0,.04);
  }

  .login-card-new::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), #ff5a64);
  }

  .login-avatar {
    box-shadow: 0 10px 24px rgba(229,9,20,.18);
  }

  .login-submit-btn {
    box-shadow: 0 10px 28px rgba(229,9,20,.4);
  }

  .login-submit-btn:active {
    transform: scale(.97);
  }

  /* ── Kadro / İstatistik kartları ── */
  .team-card {
    flex: 0 0 230px;
    border-radius: 24px;
  }

  .team-card:active {
    transform: scale(.98);
  }

  .stat-card {
    border-radius: 24px;
  }

  .about-features {
    gap: 14px;
  }

  .about-feature:active {
    transform: scale(.98);
  }

  /* ── Duyuru kartları ── */
  .announcement-card {
    border-radius: 26px;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
  }

  .announcement-card:active {
    transform: scale(.985);
  }

  .navbar {
    justify-content: space-between;
  }

  .menu-btn {
    margin-left: auto;
  }

}

/* ── Mobil footer (≤780px) ───────────────────────────────────────── */
@media (max-width: 780px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  .footer-brand p {
    max-width: 100%;
  }

}

/* ── Küçük tablet (≤768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  .team-card {
    flex: 0 0 240px;
  }

  .section {
    padding: 64px 18px;
  }

  .section-head {
    margin: 0 auto 32px;
  }

  .section-head .eyebrow {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: #fee2e2;
    color: var(--red-dark);
  }

  .dark-section .section-head .eyebrow {
    background: rgba(255,255,255,.18);
    color: #fff;
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .countdown {
    gap: 8px;
  }

  .countdown div {
    padding: 13px 6px;
    border-radius: 16px;
  }

  .countdown strong {
    font-size: 1.55rem;
  }

  .countdown span {
    font-size: .68rem;
  }

}

/* ── Duyuru kartları mobil (≤700px) ───────────────────────────────────────── */
@media (max-width: 700px) {
  .announcement-card {
    flex-basis: 82vw;
    min-height: 190px;
    padding: 18px;
    border-radius: 22px;
  }

  .announcement-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .announcement-card p {
    font-size: .85rem;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .announcement-bottom {
    margin-top: 14px;
  }

  .announcement-slider {
    gap: 16px;
    padding: 10px 2px 26px;
  }

  .announcement-card {
    flex: 0 0 82vw !important;
    min-height: 185px !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .announcement-meta-row {
    margin-bottom: 8px !important;
    min-height: auto !important;
  }

  .announcement-date-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 6px 10px !important;
    font-size: .72rem !important;
    background: #ffe8ea;
    color: var(--red-dark);
    border: 1px solid rgba(229, 9, 20, .12);
  }

  .announcement-date-badge i {
    font-size: .76rem !important;
    color: var(--red-dark);
  }

  .announcement-card h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .announcement-card p {
    font-size: .85rem !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .announcement-bottom {
    margin-top: 12px !important;
  }

  .announcement-file,
  .announcement-more {
    font-size: .72rem !important;
    padding: 6px 10px !important;
  }

}

/* ── Telefon (≤600px) ───────────────────────────────────────── */
@media (max-width: 600px) {
  /* Genel ritim */
  .section {
    padding: 56px 16px;
  }

  h1 {
    letter-spacing: -.04em;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    letter-spacing: -.03em;
  }

  .eyebrow {
    font-size: .7rem;
  }

  .btn {
    padding: 14px 18px;
    font-size: .96rem;
    border-radius: 16px;
  }

  /* Hero */
  .hero {
    padding: 100px 16px 46px;
    gap: 28px;
  }

  .hero-text {
    font-size: 1rem;
    margin: 14px auto 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  .countdown-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 18px 0;
  }

  .countdown div {
    padding: 11px 4px;
    border-radius: 14px;
  }

  .countdown strong {
    font-size: 1.3rem;
  }

  .countdown span {
    font-size: .62rem;
    margin-top: 4px;
  }

  /* İstatistikler */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 24px 14px;
    border-radius: 22px;
  }

  .stat-card span {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffffff, #ffd9db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .stat-card p {
    font-size: .85rem;
    letter-spacing: .01em;
  }

  /* Hakkımızda */
  .about {
    gap: 28px;
  }

  .about-text h2,
  .about-text > .eyebrow,
  .about-text p#aboutText {
    text-align: center;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 20px;
  }

  .feature-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    padding: 10px 8px;
    font-size: .78rem;
    line-height: 1.3;
  }

  .about-panel {
    padding: 18px;
    border-radius: 26px;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .about-feature {
    min-height: auto;
    padding: 16px;
    display: block;
    text-align: left;
  }

  .about-feature .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .about-feature .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-feature h4 {
    font-size: .88rem;
    margin-bottom: 5px;
  }

  .about-feature p {
    font-size: .76rem;
    line-height: 1.4;
  }

  /* Kadro */
  .team-section .section-head {
    margin-bottom: 28px;
  }

  .team-card {
    flex: 0 0 210px;
    padding: 22px;
    border-radius: 24px;
  }

  .avatar,
  .staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }

  .team-card h3 {
    font-size: 1.04rem;
  }

  .team-card strong {
    font-size: .85rem;
  }

  .team-card p {
    font-size: .85rem;
  }

  /* Duyurular */
  .announcement-card {
    padding: 22px;
  }

  .announcement-card h3 {
    font-size: 1.12rem;
  }

  .announcement-card p {
    font-size: .9rem;
  }

  .announcement-date-badge,
  .announcement-file,
  .announcement-more {
    font-size: .74rem;
    padding: 7px 11px;
  }

  /* Giriş */
  .login-panel-right {
    padding: 40px 16px;
  }

  .login-card-new {
    padding: 28px 22px 26px;
    border-radius: 24px;
  }

  .login-card-header {
    margin-bottom: 28px;
  }

  .login-card-header h3 {
    font-size: 1.3rem;
  }

  .login-avatar {
    width: 58px;
    height: 58px;
  }

  .login-form-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Footer */
  .footer {
    padding-top: 52px;
  }

  .footer-container {
    padding: 0 18px 40px;
    gap: 32px;
  }

  .footer-logo {
    width: 150px;
  }

  .footer h4 {
    font-size: 1.05rem;
  }

  /* Toast */
  .toast {
    left: 16px;
    right: 16px;
    bottom: 18px;
    min-width: auto;
    max-width: none;
    border-radius: 16px;
  }

  /* Modaller */
  .modal-box {
    padding: 24px;
    border-radius: 24px;
  }

  .modal-header h3 {
    font-size: 1.15rem;
  }

  .tab-btn {
    border-radius: 14px;
  }

  .announcement-meta-row {
    margin-bottom: 12px;
    min-height: auto;
  }

  .announcement-date-badge {
    display: inline-flex !important;
    opacity: 1 !important;

    padding: 8px 12px;
    font-size: .78rem;

    background: #ffe8ea;
    color: var(--red-dark);
    border: 1px solid rgba(229,9,20,.12);
  }

}

/* ── Küçük telefon (≤560px) ───────────────────────────────────────── */
@media (max-width: 560px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .about-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .about-feature {
    min-height: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .section {
    padding: 70px 18px;
  }

  .hero {
    padding: 115px 18px 60px;
  }

  .form-row {
    display: block;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-links {
    align-items: center;
  }

  .tab-bar {
    gap: 6px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: .82rem;
  }

  .announcement-image {
    max-height: 520px;
  }

  .announcement-file-box {
    padding: 16px;
    border-radius: 18px;
  }

  .announcement-file-actions {
    flex-direction: column;
  }

  .announcement-file-btn {
    width: 100%;
  }

}

/* ── Çok küçük telefon (≤380px) ───────────────────────────────────────── */
@media (max-width: 380px) {
  .logo img {
    height: 38px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 2.6rem);
  }

  .hero-card {
    padding: 18px;
  }

  .countdown strong {
    font-size: 1.1rem;
  }

  .countdown span {
    font-size: .56rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card span {
    font-size: 2.8rem;
  }

  .team-card {
    flex: 0 0 188px;
    padding: 18px;
  }

  .avatar,
  .staff-photo {
    width: 88px;
    height: 88px;
  }

}