/* styles.css */

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #111;
  color: #fff;
  padding: 1rem;
}

header {
  background: #222;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .menu {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.menu li {
  position: relative;
}

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

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222; /* slightly darker for contrast */
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid #444;
  min-width: 180px; /* fixed width for consistent dropdown size */
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  z-index: 1000;
  border-radius: 6px;
}

.menu li:hover .dropdown {
  display: block;
}

.dropdown li {
  padding: 0.5rem 1rem;
}

.dropdown li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 1rem;
}

.dropdown li:hover {
  background: #0ff; /* neon cyan hover background */
}

.dropdown li:hover a {
  color: #000; /* dark text on hover background */
}

main {
  max-width: 1200px;
  margin: 2rem auto;
}

section {
  margin-bottom: 2rem;
}

video {
  max-width: 100%;
  height: auto;
  border: 2px solid #555;
  border-radius: 8px;
}

.accordion {
  background: #333;
  color: white;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.accordion:hover {
  background: #444;
}

.panel {
  padding: 0 1rem;
  display: none;
  background-color: #222;
  overflow: hidden;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.grid img {
  width: 100%;
  max-width: 300px;
  border: 2px solid #666;
  border-radius: 8px;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  background: #222;
  padding: 1rem;
  border-radius: 8px;
}

form input,
form textarea,
form select {
  padding: 0.5rem;
  border: 1px solid #555;
  border-radius: 4px;
  background: #333;
  color: #fff;
}

form button {
  background: #555;
  border: none;
  padding: 0.75rem;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #666;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  margin-top: 2rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  form {
    width: 100%;
  }
}
#searchBar {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem;
  border: 2px solid #555;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 10px #0ff; /* neon glow effect */
  margin-top: 1rem;
}

#searchBar:focus {
  border-color: #0ff;
  outline: none;
  box-shadow: 0 0 15px #0ff;
}