:root {
  --black: #000;
  --ivory: #f5f3ee;
}

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

body {
  background: var(--black);
  color: var(--ivory);
  overflow-x: hidden;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 20;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  max-width: calc(100% - 160px);
}

nav a {
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 13px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* MOBILE MENU BTN */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(245,243,238,.4);
  color: var(--ivory);
  padding: 8px 20px;
  border-radius: 999px;
  letter-spacing: 2px;
  font-size: 11px;
  cursor: pointer;
}

/* LANG SWITCH */
.lang-switch {
  width: 96px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  cursor: pointer;
  position: relative;
}

.lang-text {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.5);
  z-index: 2;
}

.lang-text.active { color: #000; }

.lang-pill {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 40px;
  height: 28px;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  transform: translateY(-50%);
  transition: transform .35s ease;
}

.lang-switch.en .lang-pill {
  transform: translate(46px, -50%);
}

/* MAIN */
main {
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-top img,
.logo-bottom img {
  width: 150px;
}

/* CTA */
.cta {
  margin-top: 120px;
}

.reserve-btn {
  background: none;
  border: 1px solid rgba(245,243,238,.4);
  border-radius: 999px;
  padding: 12px 36px;
  color: var(--ivory);
  letter-spacing: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: background .4s, color .4s;
}

.reserve-btn:hover {
  background: var(--ivory);
  color: #000;
}

/* SPACER */
.spacer {
  height: 160vh;
  width: 100%;
}

/* ARABIC TEXT */
.arabic-text {
  text-align: center;
  max-width: 800px;
}

.arabic-title {
  font-size: 26px;
  margin-bottom: 18px;
}

.arabic-sub {
  font-size: 18px;
  opacity: .85;
}

/* LOGO BOTTOM */
.logo-bottom {
  margin-bottom: 120px;
}

/* SPOTIFY */
.spotify {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
}

.spotify iframe {
  width: 420px;
  height: 240px;
  border-radius: 12px;
  border: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  opacity: .6;
}

/* OVERLAYS */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.overlay-box {
  border: 1px solid rgba(245,243,238,.3);
  padding: 48px 36px;
  position: relative;
  text-align: center;
}

.overlay-box a {
  display: block;
  margin: 14px 0;
  color: var(--ivory);
  letter-spacing: 2px;
  text-decoration: none;
}

.close {
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  font-size: 22px;
}

/* FORM */
.reserve-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.reserve-form input {
  background: none;
  border: 1px solid rgba(245,243,238,.35);
  padding: 12px;
  color: var(--ivory);
}

.blik-logo {
  margin-top: 30px;
  height: 34px;
}

/* MOBILE */
@media (max-width: 480px) {
  nav { display: none; }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    left: 20px;
    top: 24px;
  }

  .lang-switch {
    position: absolute;
    right: 20px;
    top: 24px;
  }

  main { padding-top: 200px; }

  .logo-top img,
  .logo-bottom img { width: 120px; }

  .spacer { height: vh; }

  .spotify iframe {
    width: 90%;
    height: 220px;
  }

  .arabic-title { font-size: 22px; }
  .arabic-sub { font-size: 16px; }
}

/* LOADER */
.loader {
  margin: 24px auto 0;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(245,243,238,.3);
  border-top-color: var(--ivory);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================= NEW: MOBILE MENU OVERLAY ================= */

#mobileMenuOverlay {
  z-index: 60; /* nad resztą overlayów */
}

#mobileMenuOverlay nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#mobileMenuOverlay nav a {
  font-size: 22px;
  letter-spacing: 3px;
}

/* tylko na mobile */
@media (min-width: 481px) {
  #mobileMenuOverlay {
    display: none !important;
  }
}

/* ============================================================ */
/* ================= NEW: FORM ERROR ================= */

.form-error {
  margin-top: 18px;
  color: #ff6b6b;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

/* =================================================== */
