/* === GLOBAL === */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fafb;
  color: #333;
}

a {
  text-decoration: none;
  color: #00bfa5; /* Tiffany Blue */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo img {
  height: 40px;
}

nav a {
  margin-left: 20px;
  font-weight: 500;
  color: #00796b;
}

nav a:hover,
nav a.active {
  color: #004d40;
  border-bottom: 2px solid #00bfa5;
  padding-bottom: 3px;
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #00bfa5, #a7ffeb);
  color: white;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: white;
  color: #00bfa5;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #e0f2f1;
}

/* === LISTINGS PAGE === */
.listings {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.listings h1 {
  font-size: 2rem;
  color: #00796b;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h2 {
  font-size: 1.2rem;
  color: #004d40;
  margin: 15px 0 5px;
}

.card p {
  font-size: 0.9rem;
  color: #666;
}

.price {
  display: inline-block;
  margin: 12px 0 20px;
  background-color: #00bfa5;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
}

/* === FORUM PAGE === */
.forum {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.forum h1 {
  text-align: center;
  color: #00796b;
  font-size: 2rem;
  margin-bottom: 10px;
}

.forum .intro {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.forum-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thread {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.thread:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.thread h2 {
  font-size: 1.2rem;
  color: #004d40;
  margin-bottom: 5px;
}

.thread h2 a {
  color: #004d40;
}

.thread h2 a:hover {
  color: #00bfa5;
}

.meta {
  color: #888;
  font-size: 0.9rem;
}

.new-post {
  text-align: center;
  margin-top: 40px;
}

/* === LOGIN PAGE === */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 160px);
}

.login-container {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.login-container h1 {
  color: #00796b;
  margin-bottom: 10px;
}

.login-container p {
  color: #666;
  margin-bottom: 25px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.login-form button {
  width: 100%;
  margin-top: 15px;
}

.signup-link {
  margin-top: 15px;
  font-size: 0.9rem;
}

.signup-link a {
  color: #00bfa5;
  font-weight: bold;
}

/* === ABOUT PAGE === */
.about {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.about h1 {
  color: #00796b;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about h2 {
  color: #004d40;
  margin-top: 40px;
  margin-bottom: 10px;
}

.about p {
  color: #555;
  line-height: 1.6;
}

.about ul {
  list-style: none;
  padding-left: 0;
}

.about li {
  background: white;
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #eee;
  background-color: #fafafa;
}

