/* Global Styles */
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #2c3e50, #bdc3c7);

  /* 
background: linear-gradient(135deg, #2b5876, #4e4376); - Modern Blue-Gray
background: linear-gradient(135deg, #00d2ff, #3a7bd5); - Cool Aqua and Teal
background: linear-gradient(135deg, #ff9a9e, #fad0c4); - Soft Sunset
background: linear-gradient(135deg, #0f2027, #2c5364); - Elegant Dark
background: linear-gradient(135deg, #654ea3, #eaafc8); - Vivid Purple and Blue
background: linear-gradient(135deg, #bdc3c7, #2c3e50); - Minimalist Gray and Blue
*/

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
}

header {
  background-color: #000;
  padding: 20px;
}

.page-header {
  width: 100%;
  position: fixed;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  padding-left: 75px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title a {
  color: #fff;
  text-decoration: none;
}

.page-title a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

h2 {
  font-size: 32px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro {
  padding-top: 50px;
}

.intro p {
  font-size: 18px;
  color: #eee;
  margin-bottom: 30px;
}

/* Column Container */
.column-container {
  background-color: #1e1e1e; /* Dark color background */
  border-radius: 15px;
  padding: 40px 20px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Category Boxes */
.index-category-box {
  position: relative;
  padding: 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 12px;
  background-color: #333;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}

/* Background images for each category box */
.index-category-box:nth-child(1) {
  background-image: url("/img/traffic-cone.jpg");
}

.index-category-box:nth-child(2) {
  background-image: url("/clever-stone/img/pitloader_zoomed.jpg");
}

.index-category-box:nth-child(3) {
  background-image: url("/dc-site/img/created/compressed_img/box_at_night.jpg");
}

.index-category-box:nth-child(4) {
  background-image: url("/dst/img-dst/road_dish.png");
}

.index-category-box:nth-child(5) {
  background-image: url("/img/aviation_img.webp");
}

.index-category-box:nth-child(6) {
  background-image: url("/img/mario_games.avif");
}

.index-category-box:nth-child(7) {
  background-image: url("/img/videogameaisle.jpg");
}

.index-category-box:nth-child(8) {
  background-image: url("/img/sandwich.jpg");
}

.index-category-box:nth-child(9) {
  background-image: url("/blackjack/img/blackjack.png");
}

.index-category-box:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2);
}

.dark-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  opacity: 0.5;
  transition: opacity ease-in-out 150ms;
  border-radius: 12px;
}

.index-category-box:hover .dark-overlay {
  opacity: 0;
}

.index-category-box span {
  position: relative;
  z-index: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
  width: 350px;
  text-align: center;
}

.modal-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
}

input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  text-align: center;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #3a7bd5;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #00d2ff;
  transform: scale(1.05);
}
