﻿/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
        max-width: 100vw;
    }
}

.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.mobile-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #e8b4b8;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(15, 10, 12, 1) 0%, 
        rgba(30, 20, 24, 1) 30%,
        rgba(25, 15, 18, 1) 60%,
        rgba(20, 12, 15, 1) 100%);
    backdrop-filter: blur(30px) saturate(120%);
    z-index: 99999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    padding: 2rem 1rem;
    overscroll-behavior: contain;
}

/* Visible shine effect on overlay */
.mobile-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(232, 180, 184, 0.08) 0%,
        rgba(232, 180, 184, 0.03) 30%,
        transparent 60%
    );
    animation: overlayPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes overlayPulse {
    0%, 100% { 
        transform: scale(1) translate(0, 0); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.3) translate(10%, 10%); 
        opacity: 1; 
    }
}

.mobile-overlay.active {
    display: flex;
    pointer-events: auto;
}

.mobile-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(232, 180, 184, 0.08) 100%);
    border: 1px solid rgba(232, 180, 184, 0.4);
    color: #ffffff;
    padding: 2rem 4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.mobile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 180, 184, 0.2), transparent);
    transition: left 0.6s;
}

.mobile-btn:hover::before {
    left: 100%;
}

.mobile-btn:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.2) 0%, rgba(232, 180, 184, 0.3) 100%);
    border-color: #e8b4b8;
}

.mobile-btn:hover {
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.15) 0%, rgba(232, 180, 184, 0.25) 100%);
    border-color: #e8b4b8;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 180, 184, 0.4);
    letter-spacing: 5px;
}

@media (max-width: 768px) {
    .mobile-hamburger {
        display: block !important;
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-member,
    .lang-switcher,
    .nav-contact {
        display: none !important;
    }
    
    .mobile-btn {
        min-height: 60px;
        font-size: 0.8rem;
    }
}
