/* Base font and layout */
.eagle-lake-regular {
  font-family: "Eagle Lake", serif;
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  font-family: 'Eagle Lake', cursive;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0;
}

main {
  flex: 1;
}

/* Typography */
h1 {
  text-align: center;
  margin: 1vh 0;
  color: #333;
  font-size: 2.5rem;
}

/* Logo */
.logo {
  display: block;
  max-width: 160px;
  height: auto;
  margin: 0 auto;
  padding: 10px 0;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 10px gold) brightness(1.1);
}

.logo:active {
  transform: scale(0.95);
  filter: drop-shadow(0 0 5px orange);
}

/* Navigation */
.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5vw;
}

.centered-layout-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #333;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow: hidden;
}

.centered-layout-menu li {
  margin: 0;
  position: relative;
}

.centered-layout-menu a {
  text-decoration: none;
  color: #fff;
  padding: 12px 18px;
  display: block;
  font-size: 1.05rem;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
  text-align: center;
}

.centered-layout-menu a::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: gold;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.centered-layout-menu a:hover::before {
  width: 60%;
}

.centered-layout-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: gold;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.centered-layout-menu a:hover::after {
  opacity: 1;
}

.centered-layout-menu a.active {
  color: gold;
}

.centered-layout-menu a.active::before {
  width: 60%;
}

.centered-layout-menu .trademark {
  font-weight: bold;
  font-style: italic;
  color: gold;
}

.centered-layout-menu li:last-child a {
  padding-right: 20px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 15px;
  font-size: 0.95rem;
  width: 100%;
  margin-top: auto;
  border-top: 3px solid gold;
}

footer p {
  margin: 5px 0;
  color: #ccc;
}

footer a {
  color: gold;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* 📱 Mobile Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-top: 10px;
  }

  .logo {
    max-width: 120px;
  }

  .centered-layout-menu ul {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .centered-layout-menu li {
    width: 100%;
  }

  .centered-layout-menu a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .centered-layout-menu li:last-child a {
    border-bottom: none;
  }

  footer {
    font-size: 0.85rem;
    padding: 15px 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  .centered-layout-menu a {
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}
