/* --- Harta e Shkollës – Homepage (dark, minimal, school-like) --- */

:root {
  --bg: #0f0e11;
  --bg-soft: #161518;
  --bg-edge: #0a090c;
  --text: #e6e4e4;
  --text-muted: #8a888c;
  --accent: #6b9ed4;
  --accent-hover: #8ab5e8;
  --border: rgba(255, 255, 255, 0.05);
  --radius: 10px;
  --font-school: "Outfit", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-school);
  background: radial-gradient(ellipse 80% 70% at 50% 40%, var(--bg) 0%, var(--bg-edge) 100%);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  padding-top: max(2rem, env(safe-area-inset-top));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  position: relative;
}

.content {
  text-align: center;
  max-width: 100%;
  margin: 6vh auto 0 auto;
  width: 100%;
}

.school-logo {
  width: 150px;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.subtitle {
  margin: 0 0 2.5rem;
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Minimalist Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
}

.cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(1px);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .page {
    padding: 1.5rem 1.25rem;
  }

  .subtitle {
    margin-bottom: 2rem;
    font-size: 1.15rem;
  }

  .cta {
    padding: 14px 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.25rem 1rem;
  }

  .title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .cta {
    padding: 14px 28px;
    font-size: 13px;
  }
}

/* Threads visual (usage example: 100% × 600px, mouse interaction) */
.threads-wrap {
  width: 100%;
  height: 600px;
  position: relative;
  margin: clamp(2rem, 5vw, 3rem) 0;
  flex-shrink: 0;
}

.threads-wrap .threads-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer {
  margin-top: auto;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
}

.credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.credit-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.credit-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.dot {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.6rem;
  pointer-events: none;
  user-select: none;
}

.credits a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.credits a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.credits span {
  color: rgba(255, 255, 255, 0.7);
}

.credits a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .credits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}