/* Marrakesh Night Main Styles */

@font-face {
  font-family: 'Bulan Rajab';
  src: url('../fonts/BBulanRajab.ttf') format('truetype');
}

@font-face {
  font-family: 'Milker';
  src: url('../fonts/Milker.otf') format('opentype');
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: white;
  text-align: center;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

header {
  background: #000;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Bulan Rajab', cursive;
  font-size: 28px;
  color: #d16014;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #d16014;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-btn {
  background: #d16014;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
  border: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #b56c1c;
  color: white;
}

footer {
  background: #000;
  padding: 40px 20px;
  font-size: 14px;
  color: white;
}

.footer-social {
  margin-bottom: 10px;
}

.footer-social a {
  display: inline-block;
  margin: 0 10px;
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* POPUP STYLES */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
}

.popup-content {
  background: white;
  color: black;
  padding: 30px;
  width: 320px;
  border-radius: 12px;
  margin: 100px auto;
  text-align: center;
  position: relative;
}

.popup-content input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.popup-content button {
  padding: 10px 20px;
  background: #d16014;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  color: white;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  color: black;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px 6px;
  }

  .popup-content {
    width: 90%;
  }
}
