/* Main Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.card {
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
  border: none;
}

.card-header {
  border-radius: 0.5rem 0.5rem 0 0 !important;
}

.navbar-brand {
  font-weight: 600;
}

/* Tree Cards */
.tree-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* QR Code Styling */
.qr-code {
  max-width: 200px;
  margin: 0 auto;
}

/* Footer */
footer {
  margin-top: 3rem;
}

/* About Page */
.team-member-card {
  transition: transform 0.3s;
}

.team-member-card:hover {
  transform: translateY(-5px);
}

/* Contact Form */
.contact-info address p {
  margin-bottom: 0.5rem;
}

.social-links a {
  transition: opacity 0.3s;
}

.social-links a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Admin Dashboard */
.dashboard-stat-card {
  border-radius: 0.5rem;
  color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .jumbotron {
      padding: 2rem 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar, footer, .no-print {
      display: none !important;
  }
  
  .card {
      box-shadow: none;
      border: 1px solid #dee2e6;
  }
}


/* Page Banner Styles */
.page-banner {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  color: white;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 20px;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: white;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}


/* Rename homepage slider classes to be more specific */
.hero-slider-container {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-slide-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 700px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-hero {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-hero-primary {
  background: var(--bs-success);
  border: 2px solid var(--bs-success);
  color: white;
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-hero-primary:hover {
  background: #1e7b1e;
  border-color: #1e7b1e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-banner {
      height: 300px;
  }
  
  .banner-title {
      font-size: 2rem;
  }
  
  .hero-slider {
      height: 70vh;
      min-height: 500px;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
  
  .hero-actions {
      flex-direction: column;
      gap: 15px;
  }
}