body {
  text-align: center;
  background-image: url("./images/magic_wallpaper.png");
  background-position: top;
  background-size: auto;
  background-repeat: no-repeat;
  background-color: #cb550f;
}
#main {
  margin: 0 auto;
}

.splide,
.splide__track,
.splide__list,
.splide__slide {
  height: 100%;
}

/* Make images scale nicely */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or "contain" if you want full image visible */
  object-position: center;
  display: block;
}
a {
  color: white;
}
.logo {
  margin-top: 50px;
  margin-bottom: 20px;
}


.nav {
  background: transparent;
  color: black;
  padding: 10px 16px;
  font-size: xx-large;
  font-family: 'Times New Roman', Times, serif;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ========== DESKTOP LINKS ========== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 60px;
  margin: 0;
  padding: 0;
  padding-bottom: 50px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.12);
}

/* ========== HAMBURGER BUTTON ========== */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  display: block;
  transition: transform .25s, opacity .2s;
}

/* When Open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  list-style: none;
  background: transparent;
  padding: 8px 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeDown .22s ease;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: black;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE BREAKPOINT ========== */
@media (max-width: 720px) {
  .nav-links {
    display: none; /* hide desktop links */
  }

  .hamburger {
    display: flex; /* show hamburger */
  }
}