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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #111;
  color: #fff;
  overflow-x: hidden;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

header .logo {
  position: relative;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
  margin: 5px;
  padding: 5px 10px;
}

header ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  position: relative;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

header ul li a::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #d4af37;
  position: absolute;
  bottom: -5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s ease-in-out;
}

header ul li a:hover {
  color: #d4af37;
}

header ul li a:hover::before {
  transform: scaleX(1);
}

section {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 0 100px;
}

section .contentBx {
  position: relative;
  max-width: 550px;
  z-index: 10;
  padding: 40px 0;
}

section .contentBx h2 {
  font-size: 60px;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  line-height: 1.2;
  margin-bottom: 20px;
}

section .contentBx p {
  font-size: 18px;
  color: #ccc;
  line-height: 1.6;
}

section .contentBx a.btn {
  position: relative;
  text-decoration: none;
  color: #111;
  background: #d4af37;
  display: inline-block;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 35px;
  border-radius: 40px;
  transition: 0.3s ease-in-out;
  text-transform: uppercase;
}

section .contentBx a.btn:hover {
  background: #f4d03f;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

section .imgBx {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
}

section .imgBx img {
  position: relative;
  width: 100%;
  height: 70vh;
  object-fit: cover;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action span {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111;
  font-size: 2.5em;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.action.active span {
  transform: rotate(135deg);
  color: #111;
}

.action ul {
  position: absolute;
  bottom: 0px;
  margin-left: 20px;
  background: #1a1a1a;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 30px;
  left: 50px;
  transition: 0.3s ease-in-out;
  transform: scale(0);
  transform-origin: left;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action ul li {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  margin: 0 12px;
}

i {
  font-size: 22px;
  transition: 0.3s;
  color: #fff;
}

.action.active ul {
  transition: 0.5s cubic-bezier(0.08, 1.71, 0.58, 0.96);
  transform: scaleX(1);
}

.action ul li:hover i {
  color: #d4af37;
  transform: scale(1.3);
}

.newsletter {
  position: fixed;
  border-radius: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 600px;
  padding: 60px;
  background: #1a1a1a;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 0 100vh rgba(0, 0, 0, .8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter h2 {
  font-size: 40px;
  color: #fff;
  font-family: 'Cinzel', serif;
  margin-bottom: 10px;
}

.newsletter p {
  font-size: 18px;
  color: #aaa;
}

.newsletter .inputBox {
  margin-top: 30px;
}

.newsletter .inputBox form {
  position: relative;
}

.newsletter .inputBox input {
  padding: 15px 25px;
  outline: none;
  width: calc(100% - 150px);
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.newsletter .inputBox input[type='submit'] {
  position: absolute;
  right: 0;
  top: 0;
  padding: 15px;
  outline: none;
  width: 140px;
  color: #111;
  background: #d4af37;
  border: none;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 40px;
  transition: 0.3s;
}

.newsletter .inputBox input[type='submit']:hover {
  background: #f4d03f;
}

.newsletter.popUp {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  transition: .3s;
}

.close:hover i {
  transform: rotate(180deg);
  color: #d4af37;
}

@media (max-width: 991px) {
  section {
    flex-direction: column;
    padding: 150px 50px 50px;
    text-align: center;
  }

  header {
    padding: 30px 50px;
  }

  section .imgBx {
    width: 100%;
  }

  section .imgBx img {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  header {
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  section {
    padding: 150px 20px 50px;
  }

  section .contentBx h2 {
    font-size: 40px;
  }

  .newsletter {
    width: 90%;
    padding: 40px;
  }

  .newsletter .inputBox input {
    width: 100%;
    margin-bottom: 15px;
  }

  .newsletter .inputBox input[type='submit'] {
    position: relative;
    width: 100%;
  }
}

/* Animations and Special Effects */
#hero-logo {
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.gradient-text {
  background: linear-gradient(45deg, #d4af37, #fdfbfb, #d4af37);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}