/* BUSCO.CSS - Professional Theme */
:root {
  /* New Color Palette */
  --primary-color: #2C3E50;      /* Dark Blue */
  --secondary-color: #16A085;    /* Teal */
  --accent-color: #E74C3C;       /* Red */
  --light-color: #ECF0F1;        /* Light Gray */
  --dark-color: #2C3E50;         /* Dark Blue */
  --text-color: #34495E;         /* Dark Gray */
  --light-text: #ECF0F1;         /* Light Gray */
  --success-color: #27AE60;      /* Green */
  --warning-color: #F39C12;      /* Orange */
  --info-color: #3498DB;         /* Blue */
  --muted-color: #95A5A6;        /* Gray */
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Base styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: #F9FAFB;
  line-height: 1.6;
}

a {
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: #0f8d74;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Layout */
.main-content {
  min-height: calc(100vh - 380px);
}

.container {
  max-width: 1200px;
}

.navbar-spacer {
  height: 76px;
}

/* Navbar Styling */
.navbar {
  background: var(--primary-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-brand span {
  color: var(--secondary-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--light-text);
  font-weight: 500;
  padding: 0.7rem 1rem;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
  width: 60%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 0.8rem 0;
}

.dropdown-item {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(22, 160, 133, 0.1);
  color: var(--secondary-color);
}

.nav-profile-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
}

/* Button Styling */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #0f8d74;
  border-color: #0f8d74;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

.btn-danger {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-danger:hover, .btn-danger:focus {
  background-color: #d63c2e;
  border-color: #d63c2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
}

/* Card Styling */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  font-weight: 600;
  padding: 1rem 1.25rem;
}

.card-header.bg-primary {
  background-color: var(--primary-color) !important;
}

.card-header.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Form Controls */
.form-control {
  border-radius: var(--border-radius);
  padding: 0.6rem 1rem;
  border: 1px solid #dde2e5;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(22, 160, 133, 0.25);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.95)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  margin-top: -76px; /* To compensate for navbar spacer */
}

.hero-section h1 {
  color: var(--light-text);
  font-weight: 700;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Features */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--secondary-color);
}

.fa-2x {
  font-size: 1.75rem;
}

/* Steps */
.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(22, 160, 133, 0.1);
  color: var(--secondary-color);
}

/* Profile Cards */
.featured-profile-img {
  height: 160px;
  object-fit: cover;
}

.featured-profile-card {
  transition: all 0.3s ease;
  border: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.featured-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial-img-container {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-color);
}

/* Blog Cards */
.blog-card img {
  height: 200px;
  object-fit: cover;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.95)), url('/images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}

.cta-section h2 {
  color: var(--light-text);
}

/* Footer Styling */
.footer {
  background-color: var(--primary-color) !important;
  color: var(--light-text);
  margin-top: 4rem;
  position: relative;
}

.footer h5 {
  color: var(--light-text);
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer a.text-white {
  transition: color 0.3s ease;
}

.footer a.text-white:hover {
  color: var(--secondary-color) !important;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-right: 10px;
}

.footer .social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.95);
  color: var(--light-text);
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent a {
  color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  background-color: var(--secondary-color);
  color: white;
  border: none;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
  border-radius: 15px;
  border: none;
}

#ageVerificationModal .modal-header {
  background-color: var(--primary-color);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom: none;
}

#ageVerificationModal .fas {
  color: var(--accent-color);
}

#ageVerificationModal .btn-danger {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

#ageVerificationModal .btn-danger:hover {
  background-color: #0f8d74;
  border-color: #0f8d74;
}

/* Utility Classes */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-danger {
  background-color: var(--accent-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-danger {
  color: var(--accent-color) !important;
}

.badge.bg-danger {
  background-color: var(--accent-color) !important;
}

.badge.bg-warning {
  background-color: var(--warning-color) !important;
}

/* Newsletter Form */
.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
  background-color: #0f8d74;
  border-color: #0f8d74;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
  }
  
  .cookie-consent {
    text-align: center;
  }
  
  .cookie-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
  
  .btn-lg {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-slideUp {
  animation: slideUp 0.6s ease-in-out;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-color: #2c3e50;
    --text-color: #ecf0f1;
  }
  
  body {
    background-color: #1a252f;
    color: var(--light-text);
  }
  
  .card {
    background-color: #2c3e50;
    color: var(--light-text);
  }
  
  .dropdown-menu {
    background-color: #2c3e50;
  }
  
  .dropdown-item {
    color: var(--light-text);
  }
  
  .dropdown-item:hover {
    background-color: rgba(22, 160, 133, 0.2);
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: var(--light-text);
  }
  
  .testimonial-text {
    color: var(--light-text);
  }
}