/* === Reset & base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f6f9f3;
  color: #333;
  min-height: 100vh;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2f7a3e;
  padding: 12px 24px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar .logo {
  font-size: 22px;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 18px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #c4e1b9;
}

.nav-right .btn {
  background: white;
  color: #2f7a3e;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-right .btn:hover {
  background: #d6f0c7;
}

/* === Container & typography === */
.container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 15px;
}

h1 {
  text-align: center;
  color: #2f7a3e;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 28px;
}

/* === Form styles === */
.card {
  background: white;
  border-radius: 8px;
  padding: 24px 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.form-grid label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2f7a3e;
}

.form-grid input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #bbb;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-grid input:focus {
  border-color: #2f7a3e;
  outline: none;
}

/* Buttons */
.cta {
  background: #2f7a3e;
  color: white;
  padding: 12px 20px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background: #25642f;
}

.ghost {
  background: transparent;
  border: 2px solid #2f7a3e;
  color: #2f7a3e;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 20px;
  width: 100%;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ghost:hover {
  background: #2f7a3e;
  color: white;
}

/* Full width for actions */
.actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Weather Section */
#weatherSummary p {
  margin-bottom: 10px;
  font-size: 16px;
}

#suggestionsList {
  list-style: disc inside;
  margin-top: 12px;
  color: #3a5a20;
  font-weight: 600;
}

/* Hide sections initially */
.hidden {
  display: none;
}

/* === Custom Cursor === */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(47, 122, 62, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background-color 0.2s ease;
  z-index: 1000;
}

.custom-cursor.click {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: #1b3e10;
}
