/* ===== Custom Styles for TarqDev Landing Page ===== */

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #0a0e17;
  color: #fff;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HERO BACKGROUND ===== */
.hero-bg {
  background: linear-gradient(
    180deg,
    #0a0e17 0%,
    #0d1a2d 30%,
    #162a45 50%,
    #3a5a7c 75%,
    #7a9ab5 90%,
    #a8c4d8 100%
  );
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.25);
}

.btn-cta:hover {
  box-shadow: 0 0 18px rgba(0, 180, 216, 0.4);
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding-top: 4rem; /* space for fixed navbar */
}

/* ===== SCROLL INDICATOR ANIMATION ===== */
.scroll-arrow {
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.8;
  }
}

/* ===== HERO CONTENT FADE-IN ===== */
.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE TWEAKS ===== */
.tagline {
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .tagline {
    letter-spacing: 0.25em;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 100svh;
  }
}
