/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Navigation */
.nav {
  position: fixed;
  top: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.pill-nav {
  display: flex;
  gap: 40px;

  padding: 8px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

/*no bg links*/
.pill-nav a {
  padding: 8px 18px;
  border-radius: 999px;

  font-size: 13px;
  letter-spacing: 0.8px;
  text-decoration: none;

  color: #555;
  background: transparent;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

/*hover*/
.pill-nav a:hover {
  color: #000;
}

/*active item*/
.pill-nav a.active {
  background: rgba(255, 255, 255, 0.95);
  color: #000;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.15);
}

/*dropdown*/
.dropdown {
  display: flex;
  flex-direction: column; /* 👈 THIS IS THE KEY */
  align-items: stretch;
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);

  background: rgba(255, 255, 255, 0.96);
  width: max-content;
  min-width: 210px; /* safety so it never looks cramped */
  padding: 14px 0;

  /* THIS is the key change */
  border-radius: 20px;

  box-shadow:
    0 14px 40px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.6);

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  z-index: 999;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -20px;          /* height of the invisible buffer */
  left: 0;
  width: 100%;
  height: 20px;
}


.dropdown a {
  text-align: center;        /* 👈 centers the text */
  width: 100%;               /* ensures full clickable width */
}


.dropdown a:first-child {
  margin-top: 4px;
}

.dropdown a:last-child {
  margin-bottom: 4px;
}

.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(12px);
}



/* Hero */
.hero {
  min-height: 100vh;
  background-image: url("Images/home.png");
  background-size: cover;
  background-position: center left;
  display: flex;
  align-items: center;
  padding: 120px 10%;
}

.hero-content {
  max-width: 500px;
}

/*bg image for OEDIPUS*/
body.stage-oedipus .hero {
  background-image: url("Images/oedipus.png");
  min-height: 100vh;
  height: auto;
  background-repeat: no-repeat;
  background-color: #000;

  /* KEY SETTINGS */
  background-size: contain;          /* 👈 no cropping EVER */
  background-position: right center; /* 👈 always anchored right */

  display: flex;
  align-items: flex-start;

  padding: 120px 10% 160px;
}

@media (max-width: 768px) {
  body.stage-oedipus .hero {
    background-image: url("Images/oedipus-mobile.png");
  }
}

/*bg image for FAUST*/
body.stage-faust .hero {
  background-image: url("Images/faust.png");
  min-height: 100vh;
  height: auto;
  background-repeat: no-repeat;
  background-color: #fff;

  /* KEY SETTINGS */
  background-size: contain;          /* 👈 no cropping EVER */
  background-position: right center; /* 👈 always anchored right */

  display: flex;
  align-items: flex-start;

  padding: 120px 10% 160px;
}

@media (max-width: 768px) {
  body.stage-oedipus .hero {
    background-image: url("Images/oedipus-mobile.png");
  }
}


.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  letter-spacing: 1px;
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-inner {
    padding: 14px 16px;
  }

  nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero {
    background-image: url("Images/home_mobile.jpg");
    background-position: center;
    padding: 100px 24px;
  }
