/* ===================== BODY ===================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #eef7fb, #dff1f7);
  color: #1f2937;
  animation: fadeIn 0.8s ease-in;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
  }
}

/* ===================== BACKGROUND ===================== */
.home-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #eaf7fb, #d6edf5);
}

/* ===================== HEADINGS ===================== */
h1 {
  margin-top: 35px;
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
}

h2 {
  margin-top: 30px;
  font-size: 26px;
  color: #1e293b;
  letter-spacing: 0.5px;
}

h3 {
  color: #334155;
}

p {
  color: #475569;
}

/* ===================== NAVBAR ===================== */
.nav {
  background: rgba(255, 255, 255, 0.75);
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav a {
  color: #334155;
  margin: 0 18px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav a:hover {
  color: #0ea5e9;
}

/* ===================== CATEGORIES ===================== */
.categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 20px;
  width: 90%;
  margin: 40px auto;
  padding: 10px;
  box-sizing: border-box;
}
/* ===================== CARDS ===================== */
.card {
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  transition: all 0.3s ease;
}

/* ICON */
.card span {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
  transition: 0.3s;
}

/* HOVER */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.18);
}

.card:hover span {
  transform: scale(1.15);
}

/* ===================== FEATURE BOX ===================== */
.feature-box {
  margin: 60px auto;
  width: 70%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.feature-box p {
  line-height: 1.7;
  font-size: 16px;
}

/* ===================== MAP SECTION ===================== */
.map-container {
  width: 85%;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255,255,255,0.75);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#map {
  height: 420px;
  width: 100%;
  border-radius: 18px;
  margin-top: 15px;
}

/* ===================== PLACES LIST ===================== */
#places-list {
  width: 85%;
  margin: 20px auto 40px;
  padding: 18px;
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: left;
}

#places-list p {
  margin: 10px 0;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

/* ===================== LOGIN / SIGNUP ===================== */
.login-box {
  margin: 60px auto;
  width: 320px;
  padding: 30px;

  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(15px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Form layout */
.login-box form {
  display: flex;
  flex-direction: column;
}

/* Inputs */
.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;

  border: none;
  border-radius: 10px;

  outline: none;
  font-size: 14px;
}

/* Button */
.login-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;

  border: none;
  border-radius: 10px;

  background: #0F766E;
  color: rgb(8, 11, 14);
  font-weight: bold;

  cursor: pointer;
  transition: 0.3s;
}

.login-box button:hover {
  background: #14B8a6;
  transform: scale(1.05);
}

/* Extra text */
.extra-text {
  margin-top: 15px;
  font-size: 14px;
}

.extra-text a {
  color: #021013;
  text-decoration: none;
}

.extra-text a:hover {
  text-decoration: underline;
}

/* ===================== FOOTER ===================== */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.3);
  padding: 10px;
  font-size: 14px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 600px) {
  .card {
    width: 90%;
  }

  .feature-box {
    width: 90%;
  }

  .login-box {
    width: 90%;
  }
}

.map-container{
    width: 90%;
    margin: 30px auto;
    text-align: center;
}

#map{
    height: 400px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
#places-list{
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.6);
}

#places-list p{
    margin: 8px 0;
    font-size: 16px;
}

