/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* BODY */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #020617;
  color: white;
  text-align: center;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  color: #38bdf8;
  font-weight: bold;
  font-size: 26px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;
  font-size: 16px;
}

/* NAV HOVER EFFECT */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* HERO */
.hero {
  padding: 120px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  color: #94a3b8;
  font-size: 18px;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #38bdf8;
  color: black;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
  transform: scale(1.05);
}

/* SECTIONS */
section {
  padding: 60px 20px;
}

h1, h2 {
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* ABOUT / CONTACT / WORK */
.about-section,
.contact-section,
.work-section {
  text-align: center;
}

.about-section p,
.contact-section p,
.work-section p {
  color: #94a3b8;
  max-width: 600px;
  margin: auto;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card {
  width: 260px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #94a3b8;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #38bdf8;
}

/* CTA */
.cta {
  padding: 80px 20px;
}

/* CONTACT FORM */
.contact-form {
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.contact-form textarea {
  height: 120px;
}

.contact-form button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #38bdf8;
  color: black;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0ea5e9;
}

/* FOOTER (optional if you add later) */
footer {
  padding: 20px;
  color: #94a3b8;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

}