:root {
  --light-blue: #E0F2FE;
  --royal-blue: #1E40AF;
  --gold: #FBBF24;
  --white: #FFFFFF;
}

/* ==== Global Styles ==== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: var(--royal-blue);
}

/* ==== Homepage Only ==== */
body.home-page {
  background: var(--white);
}

.home-page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--royal-blue);
  color: var(--white);
  padding: 1rem 2rem;
}

.home-page .logo img {
  height: 40px;
  margin-right: 10px;
}

.home-page nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 1rem;
}

.home-page .hero {
  background: var(--light-blue);
  padding: 4rem 2rem;
  text-align: center;
}

.home-page .cta {
  background: var(--gold);
  color: var(--royal-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.home-page .gallery {
  padding: 2rem;
  background: var(--white);
}

.home-page .gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.home-page .grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-page .grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border: 2px solid var(--light-blue);
  border-radius: 8px;
}

.home-page footer {
  background: var(--royal-blue);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

/* ==== Auth Pages (Login/Signup) ==== */
body.auth-page {
  background: linear-gradient(to right, #e0f2ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.auth-container {
  max-width: 400px;
  margin: 5% auto;
  padding: 2em;
  background: white;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 1em;
}

.auth-container form {
  display: flex;
  flex-direction: column;
}

.auth-container input {
  padding: 10px;
  margin-bottom: 1em;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.auth-container button {
  padding: 10px;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

.auth-container a {
  color: #007BFF;
  text-decoration: none;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.button-row button,
.button-row .btn-secondary {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.button-row button {
  background-color: #007bff;
  color: white;
}

.button-row .btn-secondary {
  background-color: #f0f0f0;
  color: #007bff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-row .btn-secondary:hover {
  background-color: #e0e0e0;
}
