:root {
    --primary-color: #556B2F; /* Dark Olive Green */
    --secondary-color: #8B4513; /* Saddle Brown */
    --accent-color: #D2691E; /* Chocolate */
    --background-color: #F5F5DC; /* Beige */
    --text-color: #333333;
    --light-text: #F8F9FA;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.bg-earth {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.text-earth {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-earth {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-earth:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.footer {
    background-color: #2F4F4F; /* Dark Slate Gray */
    color: #f8f9fa;
    padding: 3rem 0;
    margin-top: 3rem;
}

.breadcrumb {
    background-color: transparent;
    padding-left: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* Customize nav links */
.navbar-nav .nav-link {
    font-weight: 500;
}

/* Transparent Navbar Styles */
.navbar-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: transparent !important;
}

/* Override link colors for transparent navbar to be visible on dark hero */
.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Improves readability */
}

.navbar-transparent .nav-link:hover, 
.navbar-transparent .nav-link.active {
    color: var(--accent-color) !important;
}

/* When the navbar toggler is visible (mobile), we might need a background for the dropdown */
@media (max-width: 991.98px) {
    .navbar-transparent .navbar-collapse {
        background-color: rgba(47, 79, 79, 0.95); /* Dark Slate Gray background for mobile menu */
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }
}

/* Animations for Dropdown */
@media (min-width: 768px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0rem);
    opacity: 1;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

/* Hover Dropdown on Desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
