html {
  scroll-behavior: smooth;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem 2rem;
  background-color: #0e0e0e;
  border-bottom: 1px solid #f1c40f;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: #f1c40f;
  white-space: nowrap;
}

.logo-icon {
  height: 36px;
  width: 36px;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0.5rem;
    gap: 1rem;
  }
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 2.5rem;
}

.left {
  max-width: 600px;
}

.left h1 {
  font-size: 2rem;
  line-height: 1.4;
}

.highlight {
  color: #f1c40f;
}

.left p {
  font-size: 1rem;
  margin: 1rem 0 2rem;
  color: #ccc;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.buttons a button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 240px;
}

.btn.primary {
  background-color: #f1c40f;
  color: #000;
  font-weight: bold;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid #f1c40f;
  color: #f1c40f;
}

/* PHONE FRAME */
.phone-frame {
  width: 260px;
  height: 520px;
  border-radius: 36px;
  background-color: #1b1b1b;
  padding: 16px 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 10px;
  background-color: #000;
  border-radius: 8px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FEATURES SECTION */
#features {
  padding: 4rem 1.5rem;
  background-color: #111;
  text-align: center;
}

#features h2 {
  font-size: 2rem;
  color: #f1c40f;
  margin-bottom: 1rem;
}

#features p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #ccc;
}

.screenshot-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.screenshot-gallery img {
  width: 240px;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

/* ABOUT SECTION */
#about {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#about h2 {
  font-size: 2rem;
  color: #f1c40f;
  margin-bottom: 1rem;
}

#about p {
  max-width: 700px;
  margin: 1rem auto;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* CONTACT SECTION */
#contact {
  padding: 4rem 1.5rem;
  background-color: #111;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  color: #f1c40f;
  margin-bottom: 1rem;
}

#contact p {
  color: #ccc;
  max-width: 600px;
  margin: 0.5rem auto;
  line-height: 1.6;
}

.contact-details p a {
  color: #f1c40f;
  text-decoration: none;
}

.contact-details p a:hover {
  text-decoration: underline;
}

/* SECTION DIVIDER */
.section-divider {
  border: none;
  height: 1px;
  background-color: #f1c40f;
  margin: 4rem auto;
  width: 100%;
  opacity: 0.3;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 4rem 10rem;
  }

  .buttons {
    flex-direction: row;
    justify-content: flex-start;
  }

  .buttons a button {
    width: auto;
  }

  .left h1 {
    font-size: 3rem;
  }

  .phone-frame {
    width: 300px;
    height: 600px;
  }
}
/* Base adjustments */
.navbar {
  position: relative;
  z-index: 1000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #f1c40f;
  margin: 4px 0;
  transition: 0.4s;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px; /* below navbar */
    right: 1rem;
    background-color: #0e0e0e;
    padding: 1rem;
    z-index: 1000;
    width: 150px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    color: #fff;
    background-color: #0e0e0e;
  
    z-index: 1001;
  }
}
