/* --------------------- */
/* General Reset & Body */
/* --------------------- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #111;
  overflow-x: hidden;
}
/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Floating text animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}
/* --------------------- */
/* Header */
/* --------------------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(5px);
  padding: 15px 0;
}

header .header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

#searchForm {
  display: flex;
  gap: 10px;
}

#searchInput {
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
#searchInput::placeholder { 
  color: #bbb; 
}

#searchForm button {
  padding: 5px 14px;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}
#searchForm button:hover { 
  background: #2563eb; 
}

/* --------------------- */
/* Background Image & Overlay */
/* --------------------- */
.background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('/img/background.png') center/cover no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: -1;
}

/* --------------------- */
/* Main Content (Welcome Page) */
/* --------------------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  text-align: center;
  min-height: 100vh;
  padding: 0 20px;
}

main h1, main h2 {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
}

main p {
  font-size: 22px;
  color: #ccc;
}

/* --------------------- */
/* Footer */
/* --------------------- */
footer {
  text-align: center;
  color: #aaa;
  padding: 20px;
  font-size: 14px;
  background: #1e1e1e;
  position: relative;
  z-index: 5;
}

/* --------------------- */
/* Responsive */
@media screen and (max-width: 768px) {
  main h1, main h2 {
    font-size: 36px;
  }
  main p {
    font-size: 16px;
  }
  #searchForm {
    flex-direction: column;
    gap: 5px;
  }
}
