/* Custom Variables */
:root {
  --primary-color: #0081cd;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ff5634;
  --text-primary: #0081cd;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

/* Typography */
body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-primary);
}

.header-search-bar {
  max-width: 540px;
  min-width: 320px;
}
.header-search-input {
  border: none;
  background: #f6f8fa;
  border-radius: 2rem 0 0 2rem;
}
.header-search-location {
  border: none;
  background: #f6f8fa;
  border-radius: 0 2rem 2rem 0;
  min-width: 120px;
}
.header-search-btn {
  background: #6c7cff;
  color: #fff;
  border-radius: 1.5rem;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-icon-btn {
  background: none;
  border: none;
  position: relative;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  color: #222;
}
.header-icon-btn .dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #ff3b3b;
  border-radius: 50%;
}
.header-post-btn {
  background: #6c7cff;
  color: #fff;
  border-radius: 2rem;
  font-weight: 500;
  padding: 0.5rem 2rem;
  border: none;
}
.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.header-dropdown {
  min-width: 180px;
}
.navbar-header {
  border-bottom: 1px solid #f0f0f0;
}
.header-logo {
  width: 48px;
  height: 48px;
}
.header-search-bar {
  max-width: 540px;
}
.header-search-separator {
  font-size: 1.2rem;
}
.footer-logo {
  width: 40px;
  height: 40px;
}
.footer-social {
  width: 24px;
  height: 24px;
}
.text-primary {
  color: #0081cd !important;
}
.text-black-60 {
  color: #1a1a1a99 !important;
}

.event-card {
  background: none;
  overflow: hidden;
}
.event-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/event-bg.jpg") center center/cover no-repeat;
  z-index: 1;
}
.event-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.75) 50%
  );
  z-index: 2;
}
.event-card .card-body,
.event-card .card-title,
.event-card .card-text,
.event-card .btn,
.event-card .event-report-btn {
  position: relative;
  z-index: 3;
}

.event-report-btn {
  width: 30px;
  height: 30px;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Components */
.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-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Card Styles */
.card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Navigation */
.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Event Cards */
.event-card {
  transition: transform 0.2s ease-in-out;
}

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

.event-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Profile Styles */
.profile-header {
  background-color: var(--bg-light);
  padding: 2rem 0;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  font-size: 3rem;
}

/* Job Cards */
.job-card {
  border-left: 4px solid var(--primary-color);
}

.job-card:hover {
  border-left-color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Utilities */

.bg-light {
  background-color: var(--bg-light) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-picture {
    width: 100px;
    height: 100px;
  }

  .event-card .card-img-top {
    height: 150px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}
