/* Reset and basic styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: 'Cinzel', serif; /* Horror vibe but readable */
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    padding: 1em;
    position: relative;
    overflow-x: hidden;
    display: flex;
  flex-direction: column;
  min-height: 100vh;
  }


  
/* Navigation Menu */
.main-nav {
  position: relative;
  margin-bottom: 1em;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #ff4444;
  font-size: 2rem;
  cursor: pointer;
}
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-bottom: 2em;
  padding: 0;
}
.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 600;
}
.nav-menu a:hover {
  color: #fe2631;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin: 0 auto;
    margin-bottom: 1em;
  }
  .nav-menu {
    flex-direction: column;
    display: none;  /* Hidden by default on mobile */
    width: 100%;
    text-align: center;
    gap: 0.8em;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin: 0.5em 0;
  }
}
  
  /* Ensure the main content takes up available space */
  .container {
  flex-grow: 1;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
  }
  
  @media (max-width: 600px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Background Image */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/images/bg9.png') center/cover no-repeat;
  z-index: -3;
  filter: brightness(70%);
}

  /* Video Background */
  .video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(80%);
  }
  
  /* Overlay for better readability */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    position: relative;
    z-index: 1;
  }
  
  h1 {
  text-align: center;
  font-size: 3rem;
  font-family: 'Special Elite', cursive;
  color: #ff0000;
  text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.7);
  margin-bottom: 0.3em;
  }

  .subtitle {
    text-align: center;
    margin-bottom: 1em;
  }
  
  
  .subtitle a {
      color: #ff4444; /* Blood red links */
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease, text-shadow 0.3s ease;
    }
    
    .subtitle a:hover {
      color: #ff0000; /* Brighter red on hover */
      text-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    }
    
  /* Item Title Styling - Bigger Font */
  .item-card h3 {
      font-size: 1.3rem; /* Increased from 1rem */
      margin-top: 10px;
      color: #ff4444;
      font-family: 'Special Elite', cursive;
      text-shadow: 1px 1px 5px rgba(255, 0, 0, 0.5);
  }
  
  /* Item Description Text - More Readable */
  .item-card p {
      font-size: 1rem; /* Increased from 0.85rem */
      color: #ddd; /* Lighter gray for better contrast */
      margin-bottom: 8px;
      line-height: 1.5; /* Increases spacing between lines for better readability */
      letter-spacing: 0.3px; /* Subtle adjustment for a cleaner look */
  }
  
  
  /* Grid layout for category cards */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
  }
  
  /* Card styling - rugged, horror effect */
  .card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #111;
    background-image: url('/images/grunge-texture.png'); /* Optional */
    background-blend-mode: multiply;
    border: 4px solid #660000; /* Blood-red border */
    box-shadow: 5px 5px 15px rgba(255, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(255, 0, 0, 0.7);
  }
  
  .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Text container below image */
  .card-text {
    width: 100%;
    padding: 12px;
    background: #111;
    border-top: 2px solid #660000;
  }
  
  .card-title {
    font-family: 'Special Elite', cursive;
    font-size: 1.6rem;
    text-transform: uppercase;
    text-align: center;
    color: #ff0000;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(255, 0, 0, 0.7);
    padding: 0.5em;
  }
  /* Footer stays at the bottom */
.footer {
  text-align: center;
  font-size: 1rem;
  font-family: 'Cinzel', serif;
  color: #bbb;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  border-top: 2px solid #660000; /* Blood-red top border */
  text-shadow: 1px 1px 3px rgba(255, 0, 0, 0.5);
  z-index: 2;
}
  
/* Back to Top Arrow */
.back-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #660000 !important;  /* Blood-red background */
    color: #fff !important;
    padding: 10px 15px !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 2rem !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    transition: background 0.3s ease !important;
    z-index: 1000 !important;
  }
  
  .back-to-top:hover {
    background: #ff0000 !important;
  }
  

  /* Responsive adjustments */
  @media (max-width: 768px) {
    h1 {
      font-size: 2.5rem;
    }
    .card-title {
      font-size: 1.3rem;
    }
  }