/*

Plugin Name: Multi Drop Down Mobile menu
version: 1.0
Author: Abdul Rabby
Desc:



*/

/*Base css*/

* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    font-family: "Inter", sans-serif;
}

a,
a:hover {
    outline: none;
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

/*Menu Css*/

.mobile-logo a {
    font-size: 20px;
    font-weight: 500;
    color: #161616;
    text-decoration: none;
}

.mobile-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 17px 0;
    z-index: 9;
}

.mobile-header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #161616;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #f6f6ec;
    z-index: 99;
    padding: 40px 30px;
    left: -100%;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.mobile-sidebar .contact-icon {
    background: #161616;
}

.mobile-sidebar.mobile-menu-active {
    left: 0;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
    overflow-y: scroll;
}

.menu-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 25px;
    color: #161616;
    cursor: pointer;
}

.mobile-nav li a {
    font-size: 18px;
    line-height: 24px;
    color: #161616;
    padding: 10px 0;
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 500 !important;
}

ul.mobile-nav-list {
    margin-top: 30px;
}

li.has-children {
    position: relative;
    z-index: 2;
}

span.mobile-nav-menu-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    color: #161616;
}

ul.mobile-menu-sub {
    display: none;
    position: relative;
    left: 0;
    padding-left: 10px;
    transition: all 0.3s;
}

ul.mobile-menu-sub.sub-menu-active {
    display: block;
    position: relative;
    transition: all 0.3s;
}

.mobile-nav li {
    position: relative;
    z-index: 2;
}

span.submenu-button {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all 0.3s;
}

span.submenu-button:after,
span.submenu-button:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: #161616;
    top: 12px;
    right: 9px;
    transition: all 0.3s;
}

span.submenu-button:before {
    height: 2px;
    width: 20px;
    right: 0px;
    top: 22px;
}

span.submenu-button.submenu-opened:after {
    visibility: hidden;
    opacity: 0;
}

.sub-menu {
    display: none;
    padding-left: 15px;
}

span.multi-drop-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 100%;
    top: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

ul.mobile-nav-list {
    max-height: 500px;
    overflow-y: scroll;
}

/* resources/css/mobile-menu.css o en tu archivo principal CSS */

/* ============================================
   MOBILE HEADER - Improved Button Styles
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: #073b3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.mobile-nav-icon:hover {
    background: rgba(7, 59, 58, 0.08);
    transform: scale(1.05);
}

.mobile-nav-icon:active {
    transform: scale(0.95);
}

.mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* User Icon Button */
.circle-button.user-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: #073b3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
}

.circle-button.user-icon:hover {
    background: rgba(7, 59, 58, 0.08);
    transform: scale(1.05);
}

.circle-button.user-icon:active {
    transform: scale(0.95);
}

.circle-button.user-icon svg {
    width: 18px;
    height: 18px;
}

/* Close Menu Button */
.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: #073b3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-left: auto;
}

.menu-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg) scale(1.05);
}

.menu-close:active {
    transform: rotate(90deg) scale(0.95);
}

.menu-close svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* Mobile Sidebar Header Area */
.logosicon-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(7, 59, 58, 0.1);
}

.logosicon-area .logos img {
    max-height: 40px;
    width: auto;
}

/* ============================================
   ALTERNATIVE STYLE: Minimal Ghost Buttons
   ============================================ */

/* Si prefieres un estilo aún más minimalista */
.mobile-nav-icon.minimal,
.menu-close.minimal,
.circle-button.user-icon.minimal {
    background: none;
    border: none;
    border-radius: 0;
}

.mobile-nav-icon.minimal:hover,
.circle-button.user-icon.minimal:hover {
    background: none;
    opacity: 0.7;
    transform: none;
}

.menu-close.minimal:hover {
    background: none;
    opacity: 0.7;
    color: #ef4444;
    transform: rotate(90deg);
}

/* ============================================
   ALTERNATIVE STYLE: Outlined Soft Buttons
   ============================================ */

.mobile-nav-icon.outlined,
.menu-close.outlined,
.circle-button.user-icon.outlined {
    border: 1px solid rgba(7, 59, 58, 0.15);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.mobile-nav-icon.outlined:hover,
.circle-button.user-icon.outlined:hover {
    border-color: rgba(7, 59, 58, 0.3);
    background: rgba(255, 255, 255, 1);
}

.menu-close.outlined:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 576px) {
    .mobile-nav-icon,
    .menu-close,
    .circle-button.user-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-nav-icon svg,
    .menu-close svg {
        width: 20px;
        height: 20px;
    }

    .circle-button.user-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

.mobile-nav-icon:focus-visible,
.menu-close:focus-visible,
.circle-button.user-icon:focus-visible {
    outline: 2px solid #073b3a;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-icon,
    .menu-close,
    .circle-button.user-icon,
    .mobile-nav-icon svg,
    .menu-close svg {
        transition: none;
    }

    .menu-close:hover {
        transform: none;
    }
}

/* resources/css/mobile-menu.css */

/* ============================================
   MOBILE SIDEBAR - Contact Section (Simplified & Professional)
   ============================================ */

.allmobilesection {
    padding: 1rem;
    background: #f9fafb;
}

/* CTA Button */
.allmobilesection > .theme-btn1 {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
}

/* Section Titles */
.single-footer {
    margin-bottom: 1.75rem;
}

.single-footer:last-child {
    margin-bottom: 0;
}

.single-footer h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* Contact Info Container */
.footer1-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual Contact Items - Simplificado */
.contact-info-single {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.contact-info-single:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Icon Container - Tamaño fijo y proporcional */
.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.contact-info-single:hover .contact-info-icon svg {
    /* color: #ffffff; */
}

/* Contact Text */
.contact-info-text {
    flex: 1;
    min-width: 0;
}

.contact-info-text a {
    color: var(--ztc-text-text-2);
    font-size: 0.9375rem;
    font-weight: 400;
    text-decoration: none;
    display: block;
    word-break: break-word;
    transition: color 0.2s ease;
}

.contact-info-text a:hover {
    color: var(--ztc-text-text-2);
}

/* Social Media Links - Sin hover degradado */
.social-links-mobile-menu {
    margin-top: 0.75rem;
}

.social-links-mobile-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links-mobile-menu li {
    margin: 0;
}

.social-links-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links-mobile-menu a i {
    font-size: 18px;
    color: #ffffff;
}

/* Colores de marca fijos (sin hover) */
.social-links-mobile-menu a[href*="facebook"] {
    background: #1877f2;
    border-color: #1877f2;
}

.social-links-mobile-menu a[href*="instagram"] {
    background: linear-gradient(
        135deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    border-color: #bc1888;
}

.social-links-mobile-menu a[href*="linkedin"] {
    background: #0077b5;
    border-color: #0077b5;
}

.social-links-mobile-menu a[href*="tiktok"] {
    background: #000000;
    border-color: #000000;
}

.social-links-mobile-menu a[href*="youtube"] {
    background: #ff0000;
    border-color: #ff0000;
}

.social-links-mobile-menu a[href*="whatsapp"] {
    background: #25d366;
    border-color: #25d366;
}

/* Hover Effect - Solo scale y sombra */
.social-links-mobile-menu a:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-links-mobile-menu a:active {
    transform: scale(0.95);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 576px) {
    .allmobilesection {
        padding: 1.25rem;
    }

    .single-footer h3 {
        font-size: 0.6875rem;
        margin-bottom: 0.875rem;
    }

    .contact-info-single {
        padding: 0.75rem 0.875rem;
        gap: 0.75rem;
    }

    .contact-info-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .contact-info-icon svg {
        width: 16px;
        height: 16px;
    }

    .contact-info-text a {
        font-size: 0.875rem;
    }

    .social-links-mobile-menu a {
        width: 40px;
        height: 40px;
    }

    .social-links-mobile-menu a i {
        font-size: 16px;
    }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

.contact-info-single:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.social-links-mobile-menu a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* ============================================
   ALTERNATIVE: Light Version (opcional)
   ============================================ */

.allmobilesection.light {
    background: #f9fafb;
}

.allmobilesection.light .single-footer h3 {
    color: #374151;
}

.allmobilesection.light .contact-info-single {
    background: #ffffff;
    border-color: #e5e7eb;
}

.allmobilesection.light .contact-info-single:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.allmobilesection.light .contact-info-icon svg {
    color: #6b7280;
}

.allmobilesection.light .contact-info-single:hover .contact-info-icon svg {
    color: #111827;
}

.allmobilesection.light .contact-info-text a {
    color: #374151;
}

.allmobilesection.light .contact-info-text a:hover {
    color: #111827;
}
