﻿/* RESET */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

/* HERO VIDEO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* LOGO + COPYRIGHT OVERLAY */
.hero-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  z-index: 30; /* stays above menu */
}

.hero-overlay img {
  max-width: 600px;
  width: 30vw;
  height: auto;
}

.hero-overlay .copyright {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #fff;
}

/* HAMBURGER BUTTON */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* HAMBURGER ANIMATION */
.hamburger.open span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* FULLSCREEN MENU OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay nav {
  text-align: center;
}

.menu-overlay a {
  display: block;
  font-size: 1.8rem;
  text-decoration: none;
  color: #f5f5f5;
  margin: 0.5rem 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-overlay a:hover {
  color: #f5c15c;
  transform: translateY(-2px);
}

/* MOBILE TWEAKS */
@media (max-width: 600px) {
  .hero-overlay img {
    width: 80vw;
  }
}

/* HAMBURGER BUTTON — stays top-right */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 30; /* above menu */
}

/* FLOATING TRANSLUCENT MENU PANEL */
.menu-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* No blackout */
  background: transparent;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20; /* below logo */
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* The actual floating panel */
.menu-overlay nav {
  background: rgba(0, 0, 0, 0.55);
  padding: 40px 60px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  text-align: center;
}

/* Menu links */
.menu-overlay a {
  display: block;
  font-size: 1.6rem;
  text-decoration: none;
  color: #fff;
  margin: 0.75rem 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-overlay a:hover {
  color: #f5c15c;
  transform: translateY(-2px);
}
/* FULLSCREEN VIDEO PAGE */
html, body {
  height: 100%;
  background: #000;
}

.video-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* full-screen crop */
  background: #000;
}

/* FULLSCREEN VIDEO PAGE */
html, body {
  height: 100%;
  background: #000;
}

.video-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* BACK BUTTON */
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 18px;
  font-size: 1rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  cursor: pointer;
  z-index: 50;

  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; /* prevents blocking video controls */
}

.back-button.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-button:hover {
  background: rgba(0,0,0,0.75);
}


/* MENU STRUCTURE */
.menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* MAIN MENU BUTTONS */
.menu-title {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.menu-title:hover {
  color: #f5c15c;
}

/* SUBMENU */
.submenu {
  display: none;
  flex-direction: column;
  margin-top: 10px;
  padding-left: 10px;
  gap: 8px;
}

.submenu a {
  font-size: 1.3rem;
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.submenu a:hover {
  color: #f5c15c;
  transform: translateX(4px);
}

/* OPEN STATE */
.menu-item.open .submenu {
  display: flex;
}





/* MENU STRUCTURE */
.menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start; /* left justify main items */
}

/* MAIN MENU BUTTONS */
.menu-title {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;        /* ensure left alignment */
  padding: 0;              /* remove default button padding */
}

.menu-title:hover {
  color: #f5c15c;
}

/* SUBMENU */
.submenu {
  display: none;
  flex-direction: column;
  margin-top: 10px;
  padding-left: 24px;      /* indent submenu items */
  gap: 8px;
}

.submenu a {
  font-size: 1.3rem;
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  text-align: left;        /* left align submenu links */
}

.submenu a:hover {
  color: #f5c15c;
  transform: translateX(4px);
}

/* OPEN STATE */
.menu-item.open .submenu {
  display: flex;
}
/* Prevent any centering when submenu opens */
.menu-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* force left alignment */
}

/* Ensure the button itself never centers */
.menu-title {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}

/* Submenu stays indented and left-aligned */
.submenu {
  padding-left: 24px;
  align-items: flex-start;
}
