@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

body {
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #075985 0%, #0ea5e9 50%, #bae6fd 100%);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* CARD */
.card {
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 15px 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.website-title {
  width: 100%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;

  /* Gradient Text Effect */
  background: linear-gradient(to bottom, #00f7ff, #0099ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle Glow */
  filter: drop-shadow(0 2px 8px rgba(0, 247, 255, 0.4));

  /* Animation: Halka floating effect */
  animation: float 3s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}



/* TIME BOX */
.time-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.time {
  font-size: 40px;
  font-weight: 600;
}

.date {
  font-size: 13px;
  color: #666;
}

/* SEARCH */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
}

.search-box input:focus {
  border-color: #7c8cff;
}

/* AUTOCOMPLETE */
.autocomplete-suggestions {
  position: absolute;
  top: 48px;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  overflow: hidden;
  z-index: 10;
}

.autocomplete-suggestion {
  padding: 12px 16px;
  cursor: pointer;
}

.autocomplete-suggestion:hover {
  background: #f2f5ff;
}

/* WEATHER */
#weather {
  text-align: center;
}

.temp {
  font-size: 56px;
  font-weight: 600;
}

.feels {
  font-size: 13px;
  color: #666;
  margin-top: -6px;
}

/* FOOTER */
.footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 12px;
  color: #777;
}

.footer strong {
  color: #444;
}
