/* Make sure the footer stays at the bottom of the viewport */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full screen height */
}

/* Whatever wraps your main content */
main {
  flex: 1; /* pushes the footer down */
}

/* Footer stays at bottom */
footer {
  margin-top: auto; /* ensures footer is at the bottom */
  background-color: #000; /* optional, to match your design */
}


/* ============================= */
/* STOP WHITE SPACE ON ROTATION */
/* ============================= */

/* 1) Lock the page to the viewport and prevent horizontal overflow */
html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Baskerville", serif;
  background-color: #ffffff;

}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ============================= */
/* FULL-WIDTH SECTIONS */
/* ============================= */
section {
  width: 100%;
  margin: 0;
}



/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
  background-color: #000;
  padding: 0.75rem 1rem;
}

/* Brand container */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  /* CRITICAL: allow shrinking on Android */
  min-width: 0;
}

/* Logo */
.navbar-logo {
  width: 48px;
  height: auto;
}

/* Brand text must be allowed to shrink */
.brand-text {
  font-family: "Baskerville", serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;

  /* PREVENT OVERLAP */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* THIS IS THE ANDROID FIX */
  min-width: 0;
  max-width: 100%;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #ffffff !important;
}


/* ============================= */
/* HAMBURGER TOGGLE (FORCED WHITE) */
/* ============================= */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-left: 1rem;
  
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Replace Bootstrap SVG with white stroke */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================= */
/* MOBILE MENU */
/* ============================= */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #000;
    padding: 1rem 0;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 16px;
  }
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (min-width: 768px) {
  .brand-text {
    font-size: 22px;
  }

  .navbar-logo {
    width: 56px;
  }
}

/* ============================= */
/* DESKTOP */
/* ============================= */
@media (min-width: 992px) {
  .brand-text {
    font-size: 26px;
    letter-spacing: 1.5px;
  }

  .navbar-logo {
    width: 70px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================= */
/* SMALL IPHONES */
/* ============================= */
@media (max-width: 375px) {
  .brand-text {
    font-size: 18px;
  }

  .navbar-logo {
    width: 42px;
  }
}





/* ============================= */
/* SIGNUP SECTION */
/* ============================= */
.signup {
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Heading */
.signup-heading {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Form container */
.signup-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Input fields */
.signup-text {
  font-family: "Baskerville", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.8rem 1rem;
  border: 1px solid #000;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-text:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Button */
.signup-button {
  background-color: #000;
  color: #fff;
  font-family: "Baskerville", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.signup-button:hover {
  background-color: #222;
  transform: translateY(-2px);
}

/* Switch text */
.switch {
  margin-top: 1.5rem;
  font-family: "Baskerville", serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #000;
}

.switch-text {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-left: 0.3rem;
}

.switch-text:hover {
  text-decoration: underline;
}

/* ============================= */
/* MOBILE TUNING */
/* ============================= */
@media (max-width: 480px) {
  .signup-text {
    font-size: 1rem;
  }

  .signup-button {
    font-size: 1rem;
  }
}









/* ============================= */
/* LOGIN SECTION */
/* ============================= */
.login {
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Heading */
.login-heading {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Form container */
.login-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Input fields */
.login-text {
  font-family: "Baskerville", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.8rem 1rem;
  border: 1px solid #000;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-text:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Login button */
.login-button {
  background-color: #000;
  color: #fff;
  font-family: "Baskerville", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-button:hover {
  background-color: #222;
  transform: translateY(-2px);
}

/* Forgot password button / link */
.password-button {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  margin-top: 0.5rem;
}

.password-button:hover {
  text-decoration: underline;
}

/* Switch text */
.switch {
  margin-top: 1.5rem;
  font-family: "Baskerville", serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #000;
}

.switch-text {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-left: 0.3rem;
}

.switch-text:hover {
  text-decoration: underline;
}

/* ============================= */
/* MOBILE TUNING */
/* ============================= */
@media (max-width: 480px) {
  .login-text {
    font-size: 1rem;
  }

  .login-button {
    font-size: 1rem;
  }
}






/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background-color: #000;
  color: #fff;
}

/* ============================= */
/* FOOTER MAIN BAR */
/* ============================= */
.footer {
  padding: 2rem 1rem;
}

/* Layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================= */
/* FOOTER LOGO / ADDRESS */
/* ============================= */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.4;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

/* ============================= */
/* FOOTER NAV LINKS */
/* ============================= */
.footer-foot {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  list-style: none;
}

.footer-link {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ============================= */
/* POLICIES */
/* ============================= */
.policies {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #ffffff;
  margin: 0;
}

.policy_text {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
}

.policy_text:hover {
  text-decoration: underline;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-foot {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }
}