@font-face {
  font-family: "EgyptianSlate";
  src: url("assets/EgyptianSlateLight.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Zaslia"; /* or any name you want */
  src: url("assets/Zaslia.otf") format("Opentype");
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}

:root {
  --color-accent: rgb(230, 170, 40);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "EgyptianSlate";
  overflow-x: hidden;
}

a,
p,
h5 {
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  align-items: center;
  z-index: 999;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(0, 0, 0);
  z-index: 10;
  width: 100vw;
  animation: curtainDrop 1s ease-out forwards;
  transform: translateY(-100vh);
  opacity: 0;
}

@keyframes curtainDrop {
  to {
    transform: translateY(0);
    border-bottom: 2px solid #d17900;
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-size: 4rem;
  color: #d17900;
  text-decoration: none;
  transition: background 4s ease-in;
  font-weight: bold;
}

.dropdown-content a:hover {
  background-color: #1a1a1a00;
}

.dropdown:hover .dropdown-content {
  display: block;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  display: flex;
  gap: 2rem;
}

nav > div {
  flex: 1;
}

.links-1,
.links-2 {
  display: flex;
  gap: 2em;
}

.links-2 {
  justify-content: flex-end;
}

.links-2 a,
h5 {
  color: #000000;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo a {
  font-size: 2rem;
  font-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
  z-index: 9999999;
  font-weight: bolder;
  letter-spacing: 0.2em;
}

.contact {
  margin: 0;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: black;
  display: flex;
  animation: curtainDrop 1s ease-out forwards;
  transform: translateY(-100vh);
  opacity: 0;
}

.left {
  position: relative;
  color: rgb(214, 128, 8);
}

.left-mid {
  position: absolute;
  top: 20vh;
}

.left-mid-btm {
  position: absolute;
  top: 45vh;
  border: 1px solid rgb(214, 128, 8);
  border-radius: 10px;
  margin-left: 42px;
  width: 34vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.nme {
  display: flex;
  gap: 1rem;
}

.inp {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.inp label {
  font-size: 1rem;
  color: rgb(214, 128, 8);
  margin-bottom: 4px;
  display: block;
  text-transform: uppercase;
}

.inp input,
textarea {
  width: 100%;
  padding: 10px;
  background-color: transparent;
  border: 1px solid rgb(214, 128, 8);
  border-radius: 10px;
  color: rgb(214, 128, 8);
  font-size: 0.9rem;
  outline: none;
}

.inp .btn button {
  width: 100%;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: transparent;
  border: 1px solid rgb(214, 128, 8);
  border-radius: 10px;
  color: rgb(214, 128, 8);
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.left-mid-con {
  padding-left: 42px;
}

.left-mid-con p {
  line-height: 2rem;
  font-size: 1.2rem;
  text-transform: lowercase;
}

.left-mid-con .con-no {
  text-transform: initial;
}

.left-low {
  position: absolute;
  bottom: 0;
  margin-bottom: 30px;
  padding-left: 42px;
}

.left-low ul {
  display: flex;
  gap: 20px;
}

.left-low ul li a {
  color: rgb(214, 128, 8);
}

.right {
  position: absolute;
  right: -10vw;
  width: 45%;
}

.right img {
  width: auto;
  height: 100vh;
}

@media (max-width: 1024px) {
  .dropdown-content a {
    font-size: 3rem;
  }
  .logo a {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1em;
  }
  .links-1,
  .links-2 {
    justify-content: center;
  }
  .links-1 a {
    color: #000;
  }
  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
  }
  .logo a {
    color: #000000;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }
  nav {
    padding: 1em;
  }
  .nav-button {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Mobile dropdown improved */
@media (max-width: 768px) {
  .dropdown-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 5em;
    animation: curtainDropMobile 1s ease-out forwards;
    transform: translateY(-100vh);
    opacity: 0;
    z-index: 9999999;
    pointer-events: none;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .dropdown-content a {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1em;
    text-align: left;
  }

  @keyframes curtainDropMobile {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

/* ===================== Mobile contact fix ===================== */
@media (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    /* padding: 2rem; */
    overflow-x: hidden;
  }

  .content {
    display: flex;
    flex-direction: column-reverse;
  }

  .left {
    width: 100%;
    position: static;
  }
  .right {
    width: 100%;
    position: static;
  }

  .left-mid,
  .left-mid-btm,
  .left-mid-con,
  .left-low {
    position: static;
    width: 90%;
    margin-left: 1.2rem;
    padding: 1.2rem;
  }

  .left-mid img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  .left-mid-btm,
  .left-low {
    margin-top: 2rem;
  }

  .nme {
    flex-direction: column;
  }

  .right img {
    width: 100vw;
    height: auto;
    margin-top: -3vh;
  }

  footer {
    position: static;
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    padding-bottom: 2rem;
    margin-top: 2rem;
  }
}
