/* Açılış — mockup: fakülte fotoğrafı + mor/sarı vurgu */
:root {
  --gsf-purple: #4b1a6b;
  --gsf-purple-deep: #3a0f55;
  --gsf-yellow: #f0c41a;
  --gsf-ink: #1e1630;
  --gsf-glass: rgba(255, 255, 255, 0.92);
}

.landing {
  margin: 0;
  color: var(--gsf-ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: #0f0a14;
}

.landing-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(30, 22, 48, 0.25) 100%),
    url("../img/fakulte.jpg") center 35% / cover no-repeat;
  z-index: 0;
  animation: landing-pan 32s ease-in-out infinite alternate;
}

.landing-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 4vw, 3rem) 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
}

.landing-top {
  display: flex;  
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  animation: landing-rise 0.85s ease-out both;
}

.landing-brand-block {
  width: min(450px, 60vw);
}

.landing-logo {
    display: block;
    width: 90%;
    margin-top: 0;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.landing-depts {
  text-align: right;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.landing-depts ul {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.landing-depts li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.60rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.landing-dept-icon {
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 2.55rem;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.landing-script {
  font-family: "Caveat", cursive;
  font-weight: 600;
  margin: 0;
}

.landing-script--sky {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.landing-script--br {
  align-self: flex-end;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin-top: auto;
  animation: landing-rise 1.1s ease-out 0.25s both;
}

.landing-main {
  max-width: 52rem;
  margin-top: 0;
  animation: landing-rise 0.95s ease-out 0.08s both;
}

.landing-exam-logo {
    display: block;
    width: clamp(130px, 12vw, 165px);
    margin-left: 100px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(30, 22, 48, 0.28);
    margin-bottom: 1rem;
}

.landing-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    line-height: 1.10;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--gsf-purple-deep);
/*    text-shadow: 0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.6), 0 2px 4px rgba(0,0,0,.15);*/
    text-shadow: 1px 1px 0 rgba(255,255,255,.9), -1px 1px 0 rgba(255,255,255,.9), 1px -1px 0 rgba(255,255,255,.9), -1px -1px 0 rgba(255,255,255,.9);
}

.landing-lead {
    margin: 0.85rem 0 0;
    max-width: 39rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #2a2438;
    /*text-shadow: 0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.6), 0 2px 4px rgba(0,0,0,.15);*/
    text-shadow: 1px 1px 0 rgba(255,255,255,.9), -1px 1px 0 rgba(255,255,255,.9), 1px -1px 0 rgba(255,255,255,.9), -1px -1px 0 rgba(255,255,255,.9);
}

.landing-status {
    margin: 0.85rem 0 0;
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 4px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.6), 0 2px 4px rgba(0,0,0,.15);
}

.landing-status--ok { color: #1b6b3a; }
.landing-status--warn { color: #8a4b00; }

.landing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
  animation: landing-rise 1.05s ease-out 0.16s both;
}

.landing-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--gsf-purple-deep);
  background: var(--gsf-glass);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(30, 22, 48, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover,
.landing-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(30, 22, 48, 0.24);
  color: var(--gsf-purple);
}

.landing-card--primary {
  background: linear-gradient(145deg, var(--gsf-purple) 0%, var(--gsf-purple-deep) 100%);
  color: #fff;
}

.landing-card--primary:hover,
.landing-card--primary:focus-visible {
  color: #fff;
}

.landing-card__icon {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(75, 26, 107, 0.1);
  font-size: 1.4rem;
}

.landing-card--primary .landing-card__icon {
  background: rgba(255, 255, 255, 0.16);
}

.landing-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.landing-card__body strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.landing-card__body small {
  font-size: 1.1rem;
  line-height: 1.3;
  opacity: 0.85;
}

.landing-card__arrow {
  margin-left: auto;
  opacity: 0.7;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  padding: 0.5rem 0 0;
  animation: landing-rise 1.1s ease-out 0.2s both;
}

.landing-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gsf-purple);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(30, 22, 48, 0.12);
}

.landing-links a:hover,
.landing-links a:focus-visible {
  background: #fff;
  color: var(--gsf-purple-deep);
}

.landing-panel {
  position: relative;
  z-index: 2;
  background: #f7f4fb;
  padding: 2rem 1rem;
  scroll-margin-top: 1rem;
}

.landing-panel--alt { background: #efe8f6; }

.landing-panel__inner {
  max-width: 900px;
  margin: 0 auto;
}

.landing-panel h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: var(--gsf-purple-deep);
  margin: 0 0 1rem;
}

.landing-dates {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.landing-dates > div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--gsf-yellow);
}

.landing-dates dt {
  font-weight: 700;
  color: var(--gsf-purple);
  margin: 0;
}

.landing-dates dd { margin: 0; }

.landing-ann {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.landing-ann li {
  background: #fff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.landing-ann p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}

.ann-body p:last-child { margin-bottom: 0 !important; }

.landing-faq {
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.55rem;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gsf-purple-deep);
}

.landing-faq p { margin: 0.5rem 0 0; }

.landing-copybar {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  background: var(--gsf-purple-deep);
}

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landing-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes landing-pan {
  from { background-position: center 32%; }
  to { background-position: center 40%; }
}

@media (max-width: 991.98px) {
  .landing-top { flex-direction: column; }
  .landing-brand-block { width: min(360px, 82vw); }
  .landing-depts { text-align: left; width: 100%; }
  .landing-depts ul { flex-direction: row; flex-wrap: wrap; gap: 0.65rem 1rem; }
  .landing-depts li { justify-content: flex-start; }
  .landing-cards { grid-template-columns: 1fr; }
  .landing-script--br { align-self: flex-start; }
}

/* Masaüstünde açılış alanı tek ekrana sığsın; detay bölümleri butonlarla aşağıda açılır. */
@media (min-width: 992px) and (max-height: 700px) {
  .landing-shell {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.65rem;
  }

  .landing-brand-block {
    width: min(380px, 45vw);
  }

  .landing-depts ul {
    margin-top: 0.25rem;
    gap: 0.25rem;
  }

  .landing-dept-icon {
    width: 2.1rem;
    height: 2.1rem;
    flex-basis: 2.1rem;
  }

  .landing-exam-logo {
    width: 120px;
    margin-bottom: 0.6rem;
  }

  .landing-lead {
    margin-top: 0.5rem;
    line-height: 1.35;
  }

  .landing-status {
    margin-top: 0.5rem;
  }

  .landing-cards {
    margin-top: 0.8rem;
  }

  .landing-card {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .landing-links {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-bg,
  .landing-top,
  .landing-main,
  .landing-cards,
  .landing-links,
  .landing-script--br {
    animation: none !important;
  }
}
