/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0A0A0A;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  margin: 0 0 10px;
  font-weight: 700;
}

section {
  padding: 80px 10%;
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 10%;
  background: #0A0A0A;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* DESKTOP NAV LINKS */
nav {
  display: flex;
  gap: 25px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #B3B3B3;
  transition: 0.2s;
}

/* NEON UNDERLINE ANIMATION */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #00E5FF;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
  transition: width 0.3s ease;
}

nav a:hover {
  color: #00E5FF;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

nav a:hover::after {
  width: 100%;
}

/* MOBILE MENU BUTTON */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn div {
  width: 28px;
  height: 3px;
  background: #FFFFFF;
  transition: 0.3s;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #0F0F0F;
  padding: 20px 10%;
  gap: 20px;
}

.mobile-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 18px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 150px 10%;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  font-size: 20px;
  color: #B3B3B3;
  margin-bottom: 30px;
}

/* CTA BUTTON */
.cta {
  display: inline-block;
  padding: 12px 28px;
  background: #00E5FF;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.25s;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.cta:hover {
  background: #00B8D6;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
}

/* ABOUT */
.about p {
  max-width: 700px;
  color: #B3B3B3;
}

/* WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* PROJECT CARDS */
.work-card {
  background: #111111;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1A1A1A;
  transition: 0.3s;
  position: relative;
}

/* FLOWING BORDER ANIMATION */
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(120deg, #00E5FF, #00B8D6, #00E5FF);
  background-size: 300% 300%;
  animation: borderFlow 4s linear infinite;
  opacity: 0;
  transition: 0.3s;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.work-card:hover::before {
  opacity: 1;
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-card h3 {
  padding: 20px;
  margin: 0;
  color: #FFFFFF;
}

.horizontal-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: none;
  display: block;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.horizontal-video:hover iframe {
  filter: none !important;
}
/* CONTACT */
.contact .email {
  color: #00E5FF;
  text-decoration: none;
  font-size: 18px;
  transition: 0.2s;
}

.contact .email:hover {
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* FADE-IN SCROLL ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
  }
}