/* ===================================
   MOBILE ENHANCEMENTS
   Additional CSS for mobile menu and UX improvements
   =================================== */

/* Base font size adjustment for mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a8577d, #d097b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(168, 87, 125, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #6b4458, #a8577d);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    background: #fef5f8;
    /* Soft pinkish white */
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    /* Soft square */
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(168, 87, 125, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fffafa;
    /* Very light pink/white */
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 2px solid #e6d5dd;
    background: #fef5f8;
}

.mobile-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #2d1f29;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: #a8577d;
    color: white;
}

.mobile-nav-links {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    color: #2d1f29;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    text-decoration: none;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    color: #a8577d;
    min-width: 24px;
}

.mobile-nav-link:hover {
    background: #fef5f8;
    border-right-color: #a8577d;
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 2px solid #e6d5dd;
}

.mobile-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: #25D366;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.02);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .scroll-top {
        bottom: 80px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        width: 100%;
    }

    .header-content {
        padding: 0.5rem 0;
    }

    .logo {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}