/* --- Immersive Mobile Menu Redesign --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  visibility: visible;
  pointer-events: all;
}

.mobile-menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.mobile-menu-overlay.active .mobile-menu-bg {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--color-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3001;
}

.mobile-menu-close:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(90deg);
}

.mobile-menu-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-secondary) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
  z-index: 1;
}

.mobile-menu-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: 6rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: auto 0;
}

.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.mobile-menu-overlay.active .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-links a:hover {
  color: var(--color-accent);
  transform: scale(1.05);
}

.mobile-menu-footer {
  padding-top: 3rem;
  border-top: 1px solid rgba(42, 31, 31, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.footer-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-phone {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.social-links-mobile {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links-mobile a {
  font-size: 1.8rem;
  color: var(--color-text-main);
  transition: color 0.3s ease;
}

.social-links-mobile a:hover {
  color: var(--color-accent);
}

/* Premium Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: var(--color-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mobile-menu-btn:hover {
  background: var(--color-secondary);
  transform: scale(1.05);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.mobile-menu-btn.active {
  background: var(--color-accent);
}

.mobile-menu-btn.active .hamburger-line {
  background-color: var(--color-white);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
  }
}
