@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

:root {
  --color-orange: #f48403;
  --color-black: #111;
  --color-white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  color: var(--color-white);
  text-transform: uppercase;
  cursor: pointer;
}
body,
html {
  overflow: hidden; /* Hide both horizontal and vertical scrollbars */
  height: 100%; /* Ensure the body and html take up the full screen height */
  margin: 0; /* Remove default margins for a full-window view */
}
.toggle {
  position: relative;
  width: 60px;
  height: 60px;
  background: url(/public/icons/icons8-menu-50.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
}
.toggle.active {
  background: url(/public/icons/icons8-close-50.png);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
  cursor: pointer;
}
.showcase {
  position: absolute;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-black);
  transition: 0.5s;
  z-index: 2;
}
.showcase.active {
  right: 300px;
}

.showcase video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.text {
  position: relative;
  z-index: 10;
}

.text h2 {
  font-size: 7em;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1em;
  text-transform: uppercase;
}
.text h3 {
  font-size: 4em;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1em;
  text-transform: uppercase;
}
.text p {
  font-size: 1.1em;
  color: var(--color-white);
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}
.text a {
  display: inline-block;
  font-size: 1em;
  background: var(--color-white);
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}

.text a:hover {
  letter-spacing: 6px;
}
.social {
  position: absolute;
  z-index: 10;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social li {
  list-style: none;
}
.social li a {
  display: inline-block;
  margin-right: 20px;
  filter: invert(1);
  transform: scale(0.5);
  transition: 0.5s;
}
.social li a:hover {
  transform: scale(0.5) translateY(-15px);
}
.menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu ul {
  position: relative;
}
.menu ul li {
  list-style: none;
}
.menu ul li a {
  text-decoration: none;
  font-size: 24px;
  color: var(--color-black);
}
.menu ul li a:hover {
  color: var(--color-orange);
}

/*ember styling*/
i {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #f48403;
  z-index: 6;
  pointer-events: none;
  animation: animate 2s linear forwards;
}

@keyframes animate {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y));
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .showcase,
  .showcase header {
    padding: 40px;
  }
  .text h2 {
    font-size: 3em;
  }
  .text h3 {
    font-size: 2em;
  }
}

/* Contact button */
.contact-btn {
  display: inline-block;
  font-size: 1em;
  background: var(--color-white);
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
}

.contact-btn {
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    background 220ms ease,
    color 220ms ease,
    letter-spacing 220ms ease;
  will-change: transform, box-shadow;
  border-radius: 6px;
}

.contact-btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  letter-spacing: 3px;
  background: var(--color-orange);
  color: #fff;
}

.contact-btn:active {
  transform: translateY(-2px) scale(0.995);
}

.contact-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(244, 132, 3, 0.12);
  background: var(--color-white);
  color: #111;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: var(--color-white);
  color: var(--color-black);
  width: 90%;
  max-width: 540px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.modal-content h2 {
  margin-bottom: 8px;
}
.modal-content label {
  display: block;
  margin-top: 12px;
  font-size: 0.9em;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.form-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.form-actions .send {
  background: var(--color-orange);
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 4px;
}
.form-actions .cancel {
  background: transparent;
  border: 1px solid #ddd;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
  }
  .text h2 {
    font-size: 2.2em;
  }
  .text h3 {
    font-size: 1.6em;
  }
}
