/* ==========================================================================
   GLOBAL STYLES & JOYFUL PALETTE
   ========================================================================== */
:root {
  --teal-deep: #005F73;    /* Main base - Peace & Trust */
  --teal-light: #0A9396;   /* Mid tone - Freshness */
  --marigold: #FFB81C;     /* Accents/Buttons - Happiness & Warmth */
  --coral: #FF6F61;        /* Highlights/Action - Enthusiasm */
  --dark-text: #2B2D42;    /* High readability text */
  --light-bg: #F8F9FA;     /* Soft clean backgrounds */
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  scroll-behavior: smooth;
}

/* ==========================================================================
   VIBRANT NAVIGATION HEADER
   ========================================================================== */
.vibrant-header {
  background-color: var(--teal-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.vibrant-header .logo {
  color: var(--marigold);
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--marigold);
}

/* Dropdown Menu Architecture */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--teal-deep);
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 1;
  top: 100%;
  overflow: hidden;
}

.dropdown-content a {
  color: #FFFFFF;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  border-bottom: 1px solid var(--teal-light);
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--teal-light);
  color: var(--marigold);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Logout Navigation Button */
.logout-btn {
  background-color: var(--coral);
  color: white !important;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(255, 111, 97, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.logout-btn:hover {
  transform: scale(1.05);
  background-color: var(--marigold);
  color: var(--teal-deep) !important;
}

/* ==========================================================================
   OFFICIAL FOOTER STYLES
   ========================================================================== */
.vibrant-footer {
  background-color: var(--teal-deep);
  color: #FFFFFF;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 5px solid var(--marigold);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-info p {
  margin: 5px 0;
  font-size: 15px;
  opacity: 0.9;
}

.footer-info strong {
  color: var(--marigold);
}

.footer-copyright {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 15px;
  border-top: 1px solid var(--teal-light);
  padding-top: 15px;
}

/* Ensure the hover actions process correctly across all links */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Clear alignment styles for the lists of custom sub-links */
.dropdown-content a {
  color: #FFFFFF;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  border-bottom: 1px solid var(--teal-light);
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--teal-light);
  color: var(--marigold);
}

/* ==========================================================================
   VIBRANT CORAL LOGOUT BUTTON DESIGN
   ========================================================================== */
.nav-links a.logout-btn {
  background-color: #FF6F61 !important; /* Vibrant Joyful Coral */
  color: #FFFFFF !important;            /* Crisp White Text */
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-weight: bold !important;
  display: inline-block !important;
  box-shadow: 0px 4px 10px rgba(255, 111, 97, 0.3) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.nav-links a.logout-btn:hover {
  background-color: #FFB81C !important; /* Sunny Marigold on hover */
  color: #005F73 !important;            /* Deep Teal Text on hover */
  transform: scale(1.05) !important;
}