/* Accessibility: hide skip link unless focused */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #222;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 5px;
}

/* Global site theme: deep charcoal */
body {
  background-color: #121212;
  color: #e6e6e6;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

/* Navbar: sleek dark bar */
.navbar {
  background-color: #1c1c1c !important;
  border-bottom: 1px solid #2a2a2a;
}
.navbar-item,
.navbar-link {
  color: #e6e6e6 !important;
}
.navbar-item:hover,
.navbar-link:hover {
  background-color: #2d2d2d !important;
  color: #00d1b2 !important;
}

/* Hero section: darker and cinematic */
.hero.is-light {
  background-color: #1a1a1a;
  color: #f5f5f5;
}
.hero .title,
.hero .subtitle {
  color: #f5f5f5;
}

/* Hero image: subtle radius, elevated feel */
.hero .image img {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Buttons: teal primary, soft hover */
.button.is-primary {
  background-color: #00c9a7;
  border: none;
  color: #fff;
}
.button.is-primary:hover {
  background-color: #00b89c;
  color: #fff;
}

/* Section containers: softened contrast */
.section {
  background-color: #181818;
  color: #e6e6e6;
  border-radius: 10px;
  padding: 3rem 2rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* Footer: smooth and minimal */
.footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.footer a {
  color: #00c9a7;
}
.footer a:hover {
  color: #00b89c;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #fafafa;
}
p {
  color: #dcdcdc;
}

/* Links */
a {
  color: #00d1b2;
}
a:hover {
  color: #00b89c;
}

/* Blog index enhancements */
.blog-card {
  background-color: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.blog-card-image img {
  border-radius: 0;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}
.blog-card:hover img {
  filter: brightness(1);
}

.hover-link:hover {
  color: #00c9a7 !important;
}

/* Subtle fade-in animation for cards */
.fade-in-grid {
  animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Blog article enhancements */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* Author section */
.author-box {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.author-card {
  text-align: center;
  background-color: #222;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}
.author-card:hover {
  background-color: #2a2a2a;
}

/* Blog images */
.blog-image img {
  border-radius: 8px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}
.blog-image img:hover {
  filter: brightness(1);
}

/* Tags dark theme */
.tag-dark {
  background-color: #333;
  color: #ddd !important;
  border: 1px solid #444;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tag-dark:hover {
  background-color: #00c9a7;
  color: #fff !important;
}

/* Rich text readability */
.blog-article .content p {
  line-height: 1.8;
  color: #d9d9d9;
}
.blog-article .content a {
  color: #00d1b2;
}
.blog-article .content a:hover {
  color: #00b89c;
}

/* Contact Form Styling */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1c1c1c;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

/* Label and Input Styles */
.contact-form label {
  color: #ddd;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #2a2a2a !important;
  color: #e0e0e0 !important;
  border: 1px solid #444 !important;
  border-radius: 8px;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00c9a7 !important;
  box-shadow: 0 0 0 0.1rem rgba(0, 201, 167, 0.5);
}

/* Placeholder styling */
.contact-form ::placeholder {
  color: #aaa;
}

/* Submit button */
.button.is-primary {
  background-color: #00c9a7;
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.button.is-primary:hover {
  background-color: #00b090;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem;
  }
}

.tag.hover-link:hover {
  background-color: #485fc7; /* Bulma primary */
  color: #fff !important;
  cursor: pointer;
  transition: all 0.2s ease;
}