/* === style.css === */
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

/* body */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #111;
  color: #fff;
  transition: background-color 0.5s, color 0.5s;
}

body.horror-mode {
  background-size: cover;
  background-repeat: no-repeat;
  color: #ff0000;
  font-family: 'Creepster', cursive;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* head */
header {
  background-color: #000;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  color: #e60000;
  font-family: 'Creepster', cursive;
}

/* nav bar */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 10px 0;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #e60000;
}

#toggleMode {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #e60000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

/* الـ Hero */
.hero {
  padding: 100px 20px;
  text-align: center;
  background-color: #222;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  max-width: 600px;
  margin: auto;
}

/* nav */
.about, .menu, .gallery, .contact {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a;
}

.about h2, .menu h2, .gallery h2, .contact h2 {
  font-size: 2em;
  color: #e60000;
}

.about p, .contact p {
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/*  menu */
.menu-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.menu-grid img , .gallery-grid img {
  width: 100%;
  height: auto;
  border: 3px solid #e60000;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
}

/* whatsapp */
.contact a.whatsapp {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* footer */
footer {
  padding: 20px;
  text-align: center;
  background-color: #000;
  color: #666;
  font-size: 0.9em;
}

/* mobile */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2em;
  }
}