/* 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 */
  color: #ffffff;
}

/* 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 */
}



/* ============================= */
/* NAVBAR BASE */
/* ============================= */
.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid #000;
  font-family: "Baskerville", serif;
}

.navbar-container {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ============================= */
/* BRAND */
/* ============================= */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.navbar-logo {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  font-size: 28px;
  font-weight: bold;
  color: rgb(216, 188, 27);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ============================= */
/* HAMBURGER */
/* ============================= */
.navbar-toggle {
  margin-left: auto;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background-color: #000;
}

/* ============================= */
/* NAV LINKS (DESKTOP) */
/* ============================= */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: rgb(216, 188, 27);
  font-weight: bold;
  font-size: 18px;
}

.navbar-links a:hover {
  color: #000;
}

/* ============================= */
/* DROPDOWN (DESKTOP) */
/* ============================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  top: 100%;
  left: 0;
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 6px;
  z-index: 10;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  color: rgb(216, 188, 27);
}

/* Hover open on desktop */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ============================= */
/* DROPDOWN ARROW ANIMATION */
/* ============================= */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================= */
/* MOBILE LAYOUT */
/* ============================= */
@media (max-width: 992px) {

  /* Show hamburger */
  .navbar-toggle {
    display: flex;
  }

  /* Hide menu by default */
  .navbar-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    display: none;
    border-bottom: 2px solid #000;
  }

  /* Show menu when toggled */
  .navbar-links.active {
    display: flex;
  }

  .navbar-links li {
    padding: 0.5rem 0;
  }

  /* Disable hover dropdown on mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Mobile dropdown closed by default */
  .dropdown-menu {
    position: static;
    border: none;
    display: none;
    text-align: center;
  }

  /* Show dropdown when active */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* ============================= */
/* SMALL PHONE FONT FIX */
/* ============================= */
@media (max-width: 360px) {
  .brand-text {
    font-size: 22px;
  }
}





/* ============================= */
/* SIGNUP + LOGIN SHARED LAYOUT */
/* ============================= */
.signuplogin,
.login {
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Shared form container */
.signup-boxes,
.login-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================= */
/* HEADINGS */
/* ============================= */
.signup-heading,
.login-heading {
  font-family: "Baskerville", serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

/* ============================= */
/* INPUT FIELDS */
/* ============================= */
.signup-text,
.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;
}

.signup-text:focus,
.login-text:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* ============================= */
/* BUTTONS */
/* ============================= */
.signup-button,
.login-button {
  background-color: #ead258;
  color: #000;
  font-family: "Baskerville", serif;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.signup-button:hover,
.login-button:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

/* ============================= */
/* SWITCH TEXT */
/* ============================= */
.switch {
  margin-top: 1.2rem;
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #000;
}

.switch-text {
  color: #d1b31d;
  font-weight: bold;
  text-decoration: none;
  margin-left: 0.3rem;
}

.switch-text:hover {
  text-decoration: underline;
}

/* ============================= */
/* FORGOT PASSWORD */
/* ============================= */
.password-button {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  margin-top: 0.5rem;
}

.password-button:hover {
  text-decoration: underline;
}

/* ============================= */
/* MOBILE TUNING */
/* ============================= */
@media (max-width: 480px) {
  .signup-text,
  .login-text {
    font-size: 1rem;
  }

  .signup-button,
  .login-button {
    font-size: 1rem;
  }
}








/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background-color: #ffffff;
  color: rgb(216, 188, 27);
}

/* ============================= */
/* FOOTER MAIN BAR */
/* ============================= */
.footer {
  padding: 2rem 1rem;
  border-top-style: solid;
  border-color: #000;
}

/* 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: rgb(216, 188, 27);
  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: rgb(216, 188, 27);
}

.footer-link:hover {
  color: #000;
}

/* ============================= */
/* 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: rgb(216, 188, 27);
}

.policy_text:hover {
  color: #000;
}

/* ============================= */
/* 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;
  }
}