/* Typography: try Baskerville Semibold; fall back to Libre Baskerville 700 */
:root {
  --page-padding: 20px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Baskerville", "Libre Baskerville", serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Full-bleed background image that fills and clips */
  background-image: url("/image/1.jpg");
  background-size: cover;          /* fill window, keep aspect */
  background-position: center;     /* center crop */
  background-repeat: no-repeat;
  background-attachment: scroll;   /* more mobile-friendly than fixed */
  color: #111;
}

/* Header overlay */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--page-padding);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 10;
}

/* Nav + menu (hidden for now per spec) */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu {
  list-style: none;
  padding: 10px;
  margin: 0;
  display: flex;
  gap: 32px;
}

.menu a {
  text-transform: uppercase; /* Capitalize each menu item */
  color: white;               /* White text */
  text-decoration: none;      /* Remove default underline */
  position: relative;         /* Needed for custom underline */
  font-size: 1.2rem;           /* Increase font size */
  padding-bottom: 2px;        /* Space for underline */
}

/* Animated underline effect */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* Hamburger (mobile only) */
.hamburger {
  appearance: none;
  border: 0;
  padding: 10px;
  display: none; /* hidden on desktop; shown on mobile below */
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

/* Logo overlay */
.logo-wrap {
  position: fixed;
  top: var(--page-padding);
  right: var(--page-padding);
  z-index: 9;
  padding: 10px;
}

.logo-wrap img {
  display: block;
  width: 200px;
  height: 500px;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }

  /* Center the logo in the middle of the screen on mobile */
  .logo-wrap {
    top: 50%;
    right: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px;
  }

  .logo-wrap img {
    width: min(80vw, 200px);
    height: auto;
  }
  
  .menu {
    display: none;
  }
}