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

/* Import Rye Font */
@import url("https://fonts.googleapis.com/css2?family=Rye&display=swap");

/* Body Styling */
body {
  font-family: "Rye", cursive;
  background-color: #f4f4f4;
  text-align: center;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Navigation Bar */
.navbar {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 0;
  position: relative;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px 20px;
  transition: 0.3s;
  font-family: "Rye", cursive;
}

.navbar ul li a:hover {
  background-color: #444;
  border-radius: 5px;
}

/* Clickable Images Section */
.image-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.image-grid .grid-item img {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.image-grid .grid-item img:hover {
  transform: scale(1.1);
}

/* Highlighted span element */
.highlight {
  color: gold;
  font-weight: bold;
}

/* Float/clear demo (even if unused on homepage) */
.float-left {
  float: left;
  width: 200px;
  background-color: lightblue;
  padding: 10px;
  margin: 10px;
}

/* Footer Section */
footer {
  margin-top: 20px;
  padding: 10px;
  background-color: #222;
  color: white;
  font-family: "Rye", cursive;
}

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

  .image-grid .grid-item img {
    width: 90%;
    height: auto;
  }
}
