/* ============================================
   ALBA DIZAYN — Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding-block: var(--section-padding);
}

/* NOX HEADER OVERRIDES */
.nox-header {
  background: #fff !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  border-bottom: none !important;
}

.nox-header .header__inner {
  padding: 8px 30px !important;
}

@media (max-width: 992px) {
  .nox-header .header__nav { display: none !important; }
  .nox-header .header__right { display: none !important; }
  .nox-header .header__burger {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nox-header .header__burger span {
    width: 30px;
    height: 2px;
    background: #333;
  }
}

/* FOOTER GAP FIX FOR PROJECT PAGES */
.project-nav {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}
.footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body {
  padding-top: 85px !important;
}

/* ══════════ NEW MOBILE MENU (Drawer) ══════════ */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important; 
  width: 100% !important;
  max-width: 350px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #fff !important;
  z-index: 99999 !important; 
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding: 80px 40px 40px 40px !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
  left: auto !important;
  bottom: auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

.mobile-menu.is-open {
  right: 0 !important;
}

.mobile-menu__nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: flex-start !important;
}

.mobile-menu__link {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #111 !important;
  text-decoration: none !important;
  letter-spacing: 1px !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  width: 100%;
  padding-bottom: 12px;
}

.mobile-menu__footer {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  align-items: flex-start !important;
}

.mobile-menu__footer a {
  font-size: 16px !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Close button inside mobile menu */
.mobile-menu__close {
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 100000;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
