/* ============================================================================
   İNLANGU — DENEME SINAVI LİSTE SAYFALARI
   ----------------------------------------------------------------------------
   Hocanın özgün sitesindeki a1/a2-almanca-deneme-sinavi.aspx sayfalarının
   kendi <style> bloğundan birebir alındı; yalnız sayfa içine gömülü olmaktan
   çıkarılıp tek dosyaya taşındı (yeni sistemde iki sayfa da bunu paylaşır).

   A2 sayfası yalnız --exam-accent değişkenini pembeye çevirir.
   ========================================================================== */


  :root {
    --a1-primary: #007acc;
    --a1-primary-dark: #005a99;
    --a1-accent: #ffd500;
    --a1-bg: #f3f4f6;
    --a1-card-bg: #ffffff;
    --a1-text: #111827;

    /* A1 sınav kartı kenar rengi (A2 sayfasında bunu pembe yapacaksın) */
    --exam-accent: #38bdf8;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  html, body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--a1-bg);
  }

  /* HERO */
  .hero {
    background: url('assets/img/deneme-sinavlari/deneme-sinavlari.jpg') center 40% / cover no-repeat;
    min-height: 320px;
    position: relative;
    color: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
      radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85));
    z-index: 1;
  }

  .hero-content {
    position: absolute;
    inset: auto 0 40px 0;
    display: flex;
    justify-content: center;
    padding: 0 32px;
    z-index: 2;
    transform: none;
  }

  .hero-box {
    background: rgba(15, 23, 42, 0.78);
    padding: 18px 28px 20px;
    border-radius: 18px;
    max-width: 560px;
    width: 100%;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.65);
  }

  .hero h2 {
    font-size: 30px;
    margin: 0 0 6px;
    letter-spacing: 0.03em;
    color: #ff5b3c;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  }

  .hero p {
    font-size: 16px;
    margin: 0;
    color: #e5e7eb;
    line-height: 1.5;
  }

  @media (max-width: 768px) {
    .hero {
      margin: 0;
      min-height: 260px;
    }

    .hero-content {
      inset: auto 0 24px 0;
      padding: 0 16px;
    }

    .hero-box {
      padding: 14px 18px 16px;
    }

    .hero h2 {
      font-size: 22px;
    }

    .hero p {
      font-size: 14px;
    }
  }

  /* İÇERİK */
  main.a1-exam-main {
    max-width: 1200px;
    margin: 36px auto 64px;
    padding: 0 20px 0;
  }

  main.a1-exam-main h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--a1-primary);
    letter-spacing: 0.02em;
  }

  .a1-exam-subtitle {
    text-align: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 30px;
  }

  /* 2 sütunlu grid */
  .exam-boxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0 auto;
  }

  .exam-box {
    position: relative;
    background: var(--a1-card-bg);
    border-radius: 20px;
    padding: 26px 24px 24px;
    width: 100%;
    text-align: left;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);

    border: 1px solid rgba(148, 163, 184, 0.25);
    border-left: 6px solid var(--exam-accent);
    border-right: 6px solid var(--exam-accent);

    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }

  .exam-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
    border-color: rgba(37, 99, 235, 0.6);
  }

  /* Çok yakında kutusu */
  .exam-box.upcoming {
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.7);
    background: #f9fafb;
  }

  .exam-box-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .exam-box-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #fff;
    flex-shrink: 0;
  }

  .exam-box.upcoming .exam-box-icon {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
  }

  .exam-box-icon i {
    font-size: 20px;
  }

  .exam-box h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--a1-text);
  }

  .exam-box p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
  }

  .exam-box-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
  }

  .exam-box a.button,
  .exam-box span.button-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 15px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    white-space: nowrap;
  }

  .exam-box a.button {
    background: linear-gradient(135deg, var(--a1-accent), #ffe666);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .exam-box a.button i {
    font-size: 14px;
  }

  .exam-box a.button:hover {
    background: linear-gradient(135deg, var(--a1-primary), var(--a1-primary-dark));
    color: #f9fafb;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
  }

  .exam-box span.button-disabled {
    background: #e5e7eb;
    color: #6b7280;
    box-shadow: none;
    cursor: default;
  }

  @media (max-width: 900px) {
    .exam-boxes {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 600px) {
    main.a1-exam-main {
      margin-top: 28px;
      padding: 0 16px;
    }

    .exam-box {
      padding: 22px 18px 20px;
    }

    .exam-box h2 {
      font-size: 18px;
    }

    .exam-box p {
      font-size: 13px;
    }

    .exam-box a.button,
    .exam-box span.button-disabled {
      width: 100%;
      justify-content: center;
    }
  }
  