/* CSS Styles for MyPlanner Application */

/* Navbar Styles */
/* Notification icon container */
.notification-icon {
  position: relative;
  color: white;
  cursor: pointer;
}

/* Notification badge styling */
.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7em;
}

/* Hero Section Styles */
/* Full-width banner with background image */
.hero-section {
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
              url('https://images.unsplash.com/photo-1483058712412-4245e9b90334?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* Hero content text styling */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Task Card Styles */
/* Base card styling with hover effects */
.card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Card header styling */
.card-header {
  background-color: transparent;
  border-bottom: none;
  padding-bottom: 0;
}

/* Task tag styling */
.task-tag {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
}

/* Card image container */
.card-img-container {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Card image styling */
.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Importance badge styling */
.importance-badge {
  font-size: 0.9em;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

/* Card action buttons container */
.card-actions {
  display: flex;
  gap: 8px;
}

/* Completed task styling */
.card.bg-light {
  opacity: 0.6;
}

.card.bg-light .card-body {
  text-decoration: line-through;
}

/* Offcanvas Sidebar Styles */
.offcanvas {
  width: 250px;
}

/* Footer Styles */
/* Social media links styling */
.social-links a {
  font-size: 1.2em;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007bff !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Responsive hero section */
  .hero-section {
    height: 200px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  /* Responsive input group */
  .input-group {
    flex-direction: column;
  }
  
  .input-group > * {
    margin-bottom: 10px;
    width: 100%;
  }
}