/* =============================
   Budget U - Updated Stylesheet
   ============================= */

/* General body settings */
body {
  background-color: #fff0af; /* Soft yellow background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* Smooth scrolling between sections */
}

/* Navbar custom styles */
.navbar-custom {
  background-color: #84bc6f;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}


/* Logo in navbar */
.navbar-brand img {
  width: 60px;
  height: 60px;
  padding-left: 0rem;
}

.navbar-brand {
  margin-left: 3rem;
}

/* Navbar brand text */
.navbar-brand {
  font-weight: bold;
  color: white !important;
  font-size: 1.8rem; 
}

/* Nav links */
.navbar-custom .nav-link {
  font-size: 1.5rem;
  padding-top: 6px;
  padding-bottom: 6px;
  color: white !important;
  transition: color 0.3s ease;
  margin-left: 1rem;
  margin-right: 1rem;
}

.navbar-custom .nav-link:hover {
  color: #d4f4dd !important;
}

/* Main welcome title */
.title {
  font-size: 3rem;
  font-weight: 700;
  color: #84bc6f;
  margin-top: 60px;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Main content container */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

/* Menu buttons */
.menu-button {
  background-color: #6ca0dc;
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 10px auto;
  font-size: 1.5rem;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 80%;
  max-width: 300px;
  display: block;
  text-align: center;
}

.menu-button:hover {
  background-color: #6ca0dc;
  transform: scale(1.05);
}

/* Forms (login/create-account pages) */
.login-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}

.form-control {
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #6ca0dc;
  border-color: #6ca0dc;
  width: 100%;
}

.btn-primary:hover {
  background-color: #5385c1;
  border-color: #5385c1;
}

/* Section background alternation */
.section-light {
  background-color: #ffffff;
}

.section-dark {
  background-color: #f8f9fa;
}

/* Section dividers */
.section-divider {
  border: none;
  height: 2px;
  background-color: #84bc6f;
  margin: 0;
}

/* Hero Section with Background Image */
.hero-section {
  background-image: url("home2.jpg");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  color: white;
  position: relative;
}

/* Optional hero overlay */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}
/* Footer with piggy bank background + overlay */
.custom-footer {
  background-image: url("piggy-background.jpg");
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  background-color: #84bc6f;
  color: black;
  position: relative;
}

.footer-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #84bc6f;
  opacity: 0.6; /* Adjust fade level */
  z-index: 0;
}
