@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Montserrat:wght@300;400;500&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background-color: #041418;
  color: #fff;
  overflow: hidden;
  /* Prevent scrolling for the exact hero view */
}

/* Fallback gradient similar to the SVG background to blend the SVG nicely */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #16393b 0%, #041418 100%);
  z-index: -3;
}

/* Background */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../media/herobg.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 16px;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
  gap: 60px;
  /* Space between the end of the divider and the contact us section */
}

.nav-content-wrapper {
  display: flex;
  flex-direction: column;
}

.nav-top {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 60px;
  align-items: center;
  padding-top: 5px;
  /* Adjust for perfect alignment with CONTACT US text */
}

.nav-gap {
  width: 60px;
  /* Extends the divider beyond the links */
}

.nav-links a {
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  position: relative;
  color: #d4af37;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d4af37;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.btn-contact {
  background: linear-gradient(90deg, #d4af37, #fbda95, #d4af37);
  color: #000;
  text-decoration: none;
  padding: 8px 35px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  border-radius: 3px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-contact:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d4af37;
  overflow: hidden;
  transition: transform 0.3s;
  background-color: #000;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  /* In case the jpg has black background */
}

.nav-divider {
  margin-top: 23px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 1) 50%, rgba(212, 175, 55, 0) 100%);
  opacity: 0.6;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  transform: translateY(-30px);
}

.hero-logo {
  width: 100%;
  max-width: 800px;
  mix-blend-mode: screen;
  /* Drops the #041418 background from the SVG if the body is dark */
}

.btn-watch {
  background: rgba(10, 15, 15, 0.85);
  color: #fbda95;
  border: 1px solid #9d7726;
  padding: 5px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s;
  margin-top: -145px;
  border-radius: 2px;
  text-decoration: none;
}

.btn-watch:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #fbda95;
}

.btn-watch.is-active {
  transform: scale(0.95);
}

.play-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b38331;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-icon::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent #fbda95;
  margin-left: 3px;
}

/* --- Mobile Menu Styles --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 100;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #d4af37;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Toggle animation */
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller Laptops */
@media screen and (max-width: 1024px) {
  nav {
    gap: 20px;
    padding: 0 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-gap {
    width: 20px;
  }

  .hero-logo {
    max-width: 600px;
  }

  .btn-watch {
    margin-top: -80px;
  }
}

/* Mobile Screens */
@media screen and (max-width: 768px) {
  nav {
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Transform the main content wrapper into a slide-down mobile menu */
  .nav-content-wrapper {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(4, 20, 24, 0.95);
    flex-direction: column;
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    /* Hidden state */
    transition: clip-path 0.4s ease-in-out;
    z-index: 50;
  }

  .nav-content-wrapper.is-active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    /* Revealed state */
  }

  .nav-top {
    flex-direction: column;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    padding-top: 0;
    align-items: center;
  }

  .nav-gap {
    display: none;
    /* No gap needed on mobile menu */
  }

  .nav-divider {
    margin-top: 25px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Make logo and button fit mobile screens */
  .hero-logo {
    max-width: 90%;
  }

  .btn-watch {
    margin-top: -40px;
    padding: 10px 25px 10px 15px;
    font-size: 12px;
  }

  .play-icon {
    width: 24px;
    height: 24px;
  }

  .play-icon::before {
    border-width: 4px 0 4px 7px;
  }

  .nav-right {
    gap: 8px;
  }

  .btn-contact {
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* Homepage hero only — do not apply to scrollable marketing pages */
body.azee-homepage footer {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

body.azee-homepage footer p {
  color: rgba(212, 175, 55, 0.7);
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0;
}
