@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  overflow-x: hidden;
  font-family: 'Manrope', sans-serif;
}

body.menu-open {
  overflow: hidden;
}

canvas#fluid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(40px) saturate(3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
    background 0.35s ease;
}

.glass-card:hover {
  border-color: rgba(120, 206, 255, 0.95);
  background: rgba(13, 89, 242, 0.05);
  box-shadow: 0 0 0 1px rgba(120, 206, 255, 0.85), 0 0 24px rgba(120, 206, 255, 0.38),
    0 0 54px rgba(13, 89, 242, 0.25);
  transform: translateY(-5px);
}

.project-card {
  transform: scale(0.8);
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover {
  transform: scale(1);
}

.project-media {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .project-media {
    width: 320px;
    min-width: 320px;
    height: auto;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  background: rgba(8, 17, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 70;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    transform 0.3s ease;
}

.menu-toggle:hover {
  border-color: rgba(120, 206, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(120, 206, 255, 0.7), 0 0 20px rgba(13, 89, 242, 0.35);
}

.menu-toggle.is-open {
  transform: rotate(90deg) scale(1.04);
  background: rgba(12, 29, 66, 0.9);
}

.menu-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.line-1 {
  transform: translateY(-6px);
}

.line-3 {
  transform: translateY(6px);
}

.menu-toggle.is-open .line-1 {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open .line-2 {
  opacity: 0;
}

.menu-toggle.is-open .line-3 {
  transform: translateY(0) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 4, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 55;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(165deg, rgba(7, 17, 36, 0.98), rgba(3, 10, 26, 0.98));
  border-left: 1px solid rgba(120, 206, 255, 0.24);
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.45);
  z-index: 60;
  padding: 110px 28px 34px;
}

.site-menu.is-open {
  transform: translateX(0);
}

.site-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-menu-link {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  opacity: 0;
  transform: translateX(18px);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.4s ease, opacity 0.4s ease;
}

.site-menu.is-open .site-menu-link {
  opacity: 1;
  transform: translateX(0);
}

.site-menu.is-open .site-menu-link:nth-child(1) {
  transition-delay: 0.08s;
}

.site-menu.is-open .site-menu-link:nth-child(2) {
  transition-delay: 0.16s;
}

.site-menu.is-open .site-menu-link:nth-child(3) {
  transition-delay: 0.24s;
}

.site-menu-link:hover {
  color: #ffffff;
  border-color: rgba(120, 206, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(120, 206, 255, 0.55), 0 0 20px rgba(13, 89, 242, 0.28);
  transform: translateX(-4px);
}
.hero-title {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.logo {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.textlink {
  color: #ffc107;
}

.textlink:hover {
  color: #ffd54f;
}
