:root {
  --bg-main: #0b0b0f;
  --text-main: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ✅ FIX: FORCE FULL WIDTH */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;

  background: rgba(10, 0, 20, 0.6);
  backdrop-filter: blur(10px);

  z-index: 1000;
  transition: 0.4s;
}

.navbar.scrolled {
  background: rgba(10, 0, 20, 0.95);
}

.logo img {
  height: 50px;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-item {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
}

/* SUBMENU DESKTOP */
.has-submenu {
  position: relative;
  text-align: center;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(10,0,20,0.95);
  border-radius: 8px;
  min-width: 200px;

  display: none;
  flex-direction: column;
  align-items: center;
}

.submenu a {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

.submenu a:hover {
  background: rgba(255,255,255,0.1);
}

.has-submenu:hover .submenu {
  display: flex;
}

/* HAMBURGER (HIDDEN ON DESKTOP) */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
}

/* CLOSE BUTTON */
.menu-close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  display: none;
  cursor: pointer;
  z-index: 1100;
}

/* ================= HERO FIX (NO MOSAIC) ================= */
.hero-half {
  height: 100vh;
  width: 100%;
  position: relative;

  /* ✅ Clean image only */
  background: url("../assets/partymakeup-main.webp") center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* ✅ Rendering fixes */
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ✅ Smooth overlay (no grid issue) */
.hero-half::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40,0,60,0.6), rgba(0,0,0,0.4));
  z-index: 1;
}

/* HERO TEXT ABOVE OVERLAY */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  color: #fff;
}

.hero-content p {
  margin-top: 10px;
  color: #fff;
}

/* MOBILE + TABLET */
@media (max-width: 1024px) {

  .hamburger {
    display: block;
    margin-right: 10px;
  }

  .nav-links.active {
    transform: translateX(0);
    transition: 0.4s ease;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10,0,20,0.98);

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transform: translateX(100%);
  }

  .nav-item {
    font-size: 22px;
  }

  .submenu {
    position: static;
    transform: none;
    background: none;

    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;

    /* ✅ FIX ghost click */
    pointer-events: none;
  }

  .has-submenu.active .submenu {
    display: flex;
    pointer-events: auto;
  }

  .submenu a {
    width: auto;
    text-align: center;
    padding: 8px 0;
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 30px;
  }
}