/* Main Stylesheet for Mindwise */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #343a40;
  color: white;
  padding: 1rem 0;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Article Content */
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  min-height: 150px;
}

/* Footer Links */
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff !important;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #007bff !important;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Alert Styling */
.alert {
  border-radius: 0.5rem;
}

/* Badge Styling */
.badge {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
}

/* Button Hover Effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Article Meta */
.article-meta {
  font-size: 0.9rem;
  color: #6c757d;
}

.article-meta span {
  margin-right: 1rem;
}

/* Related Articles */
.related-article {
  border-left: 3px solid #007bff;
  padding-left: 1rem;
}

/* Print Styles */
@media print {
  nav,
  footer,
  .cookie-banner {
    display: none;
  }

  .article-content {
    font-size: 12pt;
    line-height: 1.6;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }
}
