/* Minimalist Modern Theme */
:root {
  --bg-color: #ffffff;
  --text-color: #212529;
  --accent-color: #000000;
  --secondary-text: #6c757d;
  --card-bg: #f8f9fa;
  --card-hover: #e9ecef;
  --border-radius: 12px;
}

@font-face {
  font-family: "Nikela Famous";
  src: url("../webfonts/Nikela\ Famous.otf");
}

@font-face {
  font-family: "Gothic";
  src: url("../webfonts/gothic.otf");
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-family: "Gothic", sans-serif;
}

/* Branding Font for Logo */
.brand-font {
  font-family: "Nikela Famous", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

input:active,
input:focus,
textarea:active,
textarea:focus {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1) !important;
}

/* Navigation overrides */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.navbar-brand {
  font-size: 24px;
  color: var(--accent-color) !important;
  display: flex;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--secondary-text) !important;
}

/* Cards & Grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card-custom {
  background: var(--bg-color);
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vertical-line {
  width: 1px;
  background-color: #ccc;
  align-self: stretch;
}

.contact-card {
  text-align: center;
  align-items: center;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  background: var(--bg-color);
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body-custom {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--secondary-text);
  margin-bottom: 1rem;
}

.card-description {
  font-size: 0.95rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-custom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.price-tag {
  font-weight: 600;
  font-size: 1.1rem;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 10px;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  border-radius: 8px;
  padding: 8px 20px;
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
}

.btn-outline-light {
  padding: 8px 20px;
  color: var(--text-color);
  border-color: var(--text-color);
  border-radius: 8px;
}

.btn-outline-light:hover {
  background-color: var(--text-color);
  color: white;
}

/* Modal adjustments */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Admin Actions */
.admin-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px;
  border-radius: 8px;
  display: flex;
  gap: 5px;
}

/* Article Styling (Home) */
.article-card {
  border: none;
  margin-bottom: 40px;
  background: transparent;
}

.article-image {
  border-radius: var(--border-radius);
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

/* Profile Section */
.profile-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
}

.list-group-item[draggable="true"],
.list-group-item.draggable {
  cursor: grab;
}
.list-group-item.draggable:active {
  cursor: grabbing;
}