
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: linear-gradient(135deg, #ffffff 25%, #fdfdfd 25%, #fdfdfd 50%, #ffffff 50%, #ffffff 75%, #fdfdfd 75%, #fdfdfd);
  background-size: 40px 40px;
  color: #2d2d2d;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: all 0.3s ease-in-out;
}

header {
  background: linear-gradient(to right, #000000, #2e2e2e);
  color: #fff;
  padding: 2rem 0 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-bottom: 5px solid #ffdd57;
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffdd57;
  text-shadow: 2px 2px 0 #333, 0 0 15px #ffdd57;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 2px 2px 0 #333, 0 0 15px #ffdd57; }
  50% { text-shadow: 2px 2px 0 #333, 0 0 30px #ffdd57; }
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav ul li a {
  background-color: #ffdd57;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  position: relative;
}

nav ul li a:hover {
  background-color: #111;
  color: #ffdd57;
  transform: scale(1.1);
  text-shadow: 0 0 10px #ffdd57;
}

main, section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 1rem;
  color: #222;
}

h2 {
  color: #222;
  font-size: 1.5rem;
  border-left: 8px solid #ffdd57;
  padding-left: 3rem;
  margin-top: 2rem;
  position: relative;
}

h2::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.2rem;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 11l1-5h12l1 5h-14zm-3 2v4c0 .552.448 1 1 1h1c.552 0 1-.448 1-1v-1h12v1c0 .552.448 1 1 1h1c.552 0 1-.448 1-1v-4h-18zm3 3c-.552 0-1-.448-1-1s.448-1 1-1 1 .448 1 1-.448 1-1 1zm14 0c-.552 0-1-.448-1-1s.448-1 1-1 1 .448 1 1-.448 1-1 1z"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  animation: slideInCar 0.8s ease-out forwards;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

h2:hover::before {
  transform: translateX(600%) scale(1.2) rotate(10deg);
  opacity: 0;
}

p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

form {
  margin-top: 2rem;
}

form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fdfdfd;
  transition: border 0.2s;
}

form input:focus,
form textarea:focus {
  border-color: #ffdd57;
  outline: none;
}

form button {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #ffdd57;
  color: #111;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

form button:hover {
  background-color: #111;
  color: #ffdd57;
  transform: scale(1.1) rotate(-1deg);
  box-shadow: 0 0 15px #ffdd57;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 5px solid #ffdd57;
}

@keyframes slideInCar {
  0% {
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
