:root {
  --emerald: #173325;
  --black: #050505;
  --gold: #b2a04f;
  --text: #f4f2ec;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Public Sans", system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(23, 51, 37, 0.6),
      transparent 55%
    ),
    radial-gradient(circle at 80% 80%, rgba(23, 51, 37, 0.5), transparent 55%);
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85); /* Slightly darker for better readability */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  height: 40px;
  z-index: 102; /* Keep logo above mobile menu overlay */
}

.menu {
  display: flex;
  gap: 25px; /* Increased gap for better desktop look */
  flex-wrap: wrap;
}

.nav-link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* Hamburger Styles (Hidden on Desktop) */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text);
  transition: all 0.3s ease-in-out;
}

.logo-image {
  height: 40px;
}
.menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.nav-link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav-link:hover {
  opacity: 1;
}
.section {
  padding: 5px 20px 5px;
  max-width: 1000px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 60px;
}
.hero-image {
  width: 100%;
  object-fit: contain;
  max-height: 480px;
  animation: chairDrift 7s ease-in-out infinite;
}
@keyframes chairDrift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translate(-20px, 20px);
  }
  100% {
    transform: translateY(0);
  }
}
.heading-main {
  font-family: "Gilda Display", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 15px;
  line-height: 1.2;
}
.text {
  /* font-size: 0.95rem; */
  font-size: 16px;
  font-family: "Gilda Display";
  font-weight: 400;
}
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1405;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s;
}
.btn:hover {
  transform: scale(1.05);
}
.box {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
  margin-top: 30px;
}
.box-flex {
  display: flex;
  gap: 30px;
  align-items: center;
}
.box-flex.reverse {
  flex-direction: row-reverse;
}
.box-flex.reverse .box-content {
  text-align: right;
}
.box-img {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .box-img img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 14px;
display: block;
} */
.box-content {
  flex: 1;
  align-items: center;
  justify-content: center;
}
.box h2 {
  font-family: "Gilda Display", serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.box-invite {
  max-width: 500px;
  margin: 30px auto;
  text-align: center;
}
.box-invite .box-flex {
  flex-direction: column;
}
.form {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-inline: auto;
}
.input {
  padding: 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: inherit;
}
.input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.btn-submit {
  background: var(--gold);
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  color: #1a1405;
  transition: transform 0.3s;
}
.btn-submit:hover {
  transform: scale(1.05);
}
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 850px) {
  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100vh;
    background: #050505; /* Solid background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.4s ease;
    z-index: 101;
  }

  .menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 18px; /* Larger text for mobile touch */
    font-weight: 500;
  }
  .hero {
    margin-top: 120px;
    grid-template-columns: 1fr;
  }
  .box-flex,
  .box-flex.reverse {
    flex-direction: column;
  }
  .box-img {
    flex: 0 0 auto;
    width: 100%;
  }
  .box-img img {
    height: 220px;
  }
  .menu {
    gap: 8px;
    font-size: 10px;
  }
}
