@import 'buttons';
@import 'footer';
@import 'forms';
@import 'layout';
@import 'modal';
@import 'mobile';
@import 'nav';
@import 'responsive';
@import 'typography';
@import 'utilities';


/* --------------------------------------------- */
/* NAVIGATION STYLES */
.nav-logo img {
  height: 50px;
  border-radius: 6px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: white;
  position: fixed;
  top: 80px;
  right: 2rem;
  width: 250px;
  padding: 1rem;
  z-index: 999;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 0.5rem 0;
  color: #691a27;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0.3rem 0;
}

.mobile-nav a:hover {
  color: #B88935;
}

.mobile-nav a.button.button-compact {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-nav a.button.button-compact:hover {
  background-color: #B88935; /* gold */
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* subtle shadow */
}

/* --------------------------------------------- */
/* Responsive Layout Containers */
.container {
  max-width: 90%;
  padding: 2rem;
}

.wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cards */
.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: .5rem;
  width: 100%;
  text-align: center;
  margin-top: .5rem;
}

/* --------------------------------------------- */
/* Headers */
h1 {
  color: #741111;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

h2 {
  color: #741111;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h3 {
  color: #741111;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}


/* --------------------------------------------- */
/* Badge Styling */
.badge {
  background-color: #c3aeae;
  color: #741111;
  font-size: 0.8rem;
  font-weight: bold;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* --------------------------------------------- */
/* Paragraph & Fonts */
p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'TheSeasonsRegular', serif;
  background-color: #FDF8F5;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

li {
  margin-bottom: 0.5rem;
  font-family: 'TheSeasonsRegular', serif;
  font-size: 1.125rem;
}

/* --------------------------------------------- */
/* Global Link Styling */
a {
  color: #691a27;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #B88935;
  text-decoration: underline;
}

/* --------------------------------------------- */
/* Forms & Inputs */
input {
  font-family: 'TheSeasonsRegular', serif;
  font-size: 1rem;
  padding: 0.75rem;
}

input,
textarea,
select {
  font-size: 16px; /* ⛔ Prevents iOS auto-zoom */
}
/* --------------------------------------------- */
/* Unified Button Styling */
.button,
button {
  background-color: #691a27;
  color: white;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Class-based Button (used on <a> or <div>) */
.button {
  display: block;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin: 1.25rem 0;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

/* Native <button> */
.button {
  background-color: #691a27;
  color: white;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease;
  /* 🔥 REMOVE this so subclasses control layout */
  /* display: block; */
  /* margin: 1.25rem 0; */
}

/* Shared Hover State */
.button:hover,
button:hover {
  background-color: #4e121b;
  color: #f7d98f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Button Row */
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0; /* 🔒 Remove padding if added somewhere */
    margin: 0.25rem 0 !important;
  }


.button-break {
  flex-basis: 100%;
  height: 0;
  margin: 0 !important; /* 🔒 Slam down any inherited spacing */
  padding: 0 !important;
  line-height: 0;
  content: "";
}

/* Compact Button = tight fit, inline-friendly */
.button-compact {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  margin: 0.25rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  background-color: #691a27;
  color: white;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Gold Button */
.btn-home.gold-button {
  background-color: #B88935 !important;
  color: white !important;
}

.btn-home.gold-button:hover {
  background-color: #4e121b !important;
  color: #f7d98f !important;
}

/* Home Button */
.btn-home {
  padding: 0.75rem 1.5rem;
  background-color: #691a27;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.5rem; /* ✅ keep only this */
  transition: background 0.3s ease;
  font-family: 'TheSeasonsRegular', serif;
  font-weight: bold;
}

.btn-home:hover {
  background-color: #B88935;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-decoration: none;
}

/* --------------------------------------------- */
/* 🌐 Global box-sizing reset */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* 🌁 Make images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------- */
/* Utility Elements */
hr {
  width: 80%;
  margin: 2rem auto;
  border: none;
  border-top: 1px solid #c3aeae;
}

/* --------------------------------------------- */
/* Modal: VIP Worker Login */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal input {
  padding: 0.5rem;
  width: 80%;
  margin-top: 1rem;
  font-size: 1rem;
}

.modal button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.error {
  color: red;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* --------------------------------------------- */
/* Footer Styling */
.global-footer {
  max-width: 500px;
  margin: 40px auto 20px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-family: 'TheSeasonsLight', serif;
  color: #999;
}



/* --------------------------------------------- */
/* Shake Baby Shake */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.5s;
}


/* --------------------------------------------- */
/* MOBILE TWEAKS */
@media (max-width: 768px) {
  body {
    padding: 1rem;
    height: auto;
  }

  .container {
    padding: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  input,
  textarea,
  select {
    font-size: 16px;
    width: 100%;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .button-compact {
    display: block;
    width: 100%;
    max-width: 300px;
    white-space: normal;
      margin: 0.15rem auto !important;
      padding: 0.6rem 1.1rem; /* optional: slightly reduce vertical padding */
    }
  }
