/* Template 2: Self-Awareness / Inner Engineering Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary-color: #2d4b3c;       /* Deep earthy green */
  --secondary-color: #c99e71;     /* Warm gold/sand accent */
  --bg-color: #fcfbf9;            /* Very soft off-white */
  --text-dark: #3a3a3a;
  --text-muted: #7d847b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  transition: background-color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

/* Glassmorphism Navbar */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
  transition: all 0.3s ease;
}

.navbar-brand .brand-text {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dropdown-item {
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.2s;
}

.dropdown-item:hover, .dropdown-item.active {
  background-color: rgba(45, 75, 60, 0.05);
  color: var(--primary-color);
}

/* Buttons */
.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 75, 60, 0.2);
}

.btn-success:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 158, 113, 0.3);
}

/* Cards & Containers */
.card {
  border: none;
  background: var(--glass-bg);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  backdrop-filter: blur(5px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Alerts */
.alert {
  border-radius: 12px;
  border: none;
  background-color: rgba(45, 75, 60, 0.08);
  color: var(--primary-color);
}

/* Footer & Other overrides */
.footer {
  background-color: var(--primary-color) !important;
  color: #fff;
}
.footer a {
  color: var(--secondary-color);
}
.text-success { color: var(--primary-color) !important; }
.bg-success { background-color: var(--primary-color) !important; }

/* Micro-animations */
@keyframes fadeInSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

main.flex-grow-1 {
  animation: fadeInSlideUp 0.8s ease-out forwards;
}
