/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Layout */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== HEADER ====== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  width: auto;
}

nav a {
  text-decoration: none;
  color: #333;
  margin-left: 20px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #007BFF;
}

/* ====== FOOTER ====== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #777;
}

footer a {
  color: #007BFF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ====== HOMEPAGE MAIN ======
   This centers the homepage .container both vertically and horizontally.
*/
.home-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;   /* space for fixed header */
  padding-bottom: 60px;/* space for fixed footer */
}

/* The white 'card' for the homepage */
.container {
  width: 90vw;
  max-width: 1200px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
}

/* Large homepage logo - half the viewport width, max 600px */
.logo-home {
  width: 50vw;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* "Coming Soon" text */
.coming-soon {
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
}

/* Homepage description text */
.description {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #555;
}

.description a {
  color: #007BFF;
  text-decoration: none;
}

.description a:hover {
  text-decoration: underline;
}

/* ====== POLICY PAGE MAIN ======
   This positions the policy content at the top and allows scrolling if it's long.
*/
.policy-main {
  flex: 1;
  display: flex;
  align-items: flex-start;   /* top-align the content */
  justify-content: center;   /* center horizontally */
  padding-top: 60px;         /* space for header */
  padding-bottom: 60px;      /* space for footer */
  overflow: auto;            /* allow scroll if policy is very long */
}

/* The white 'card' for the policy text */
.policy-container {
  width: 90vw;
  max-width: 1200px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 40px;
  margin: 20px auto;
  text-align: left;      /* left-align for readability */
  line-height: 1.7;
}

.policy-container h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.policy-container .last-updated {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.policy-container h2 {
  font-size: 1.2rem;
  margin: 30px 0 10px; /* spacing above/below headings */
}

.policy-container p {
  margin-bottom: 15px;
}

.policy-container a {
  color: #007BFF;
  text-decoration: none;
}

.policy-container a:hover {
  text-decoration: underline;
}
