/* ===================================
   Mobile Header Styles
   =================================== */

/* Desabilitar overlay gradient no mobile e tablet */
@media (max-width: 1199px) {
    header .site-header:before {
        display: none !important;
        opacity: 0 !important;
    }
    
    header .site-header.site-header--scrolled-vh80:before {
        display: none !important;
        opacity: 0 !important;
    }
}

/* Mobile Header Container */
.mobile-header {
    padding: 1rem 0;
    background: linear-gradient(90deg, var(--color-gold-500, #BC912A), var(--color-gold-600, #A67A1F));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    max-height: 50px;
    width: auto;
}

.mobile-phone-link {
    color: white;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.mobile-phone-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Content */
.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-gold-500, #BC912A), var(--color-gold-600, #A67A1F));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-logo {
    max-height: 45px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-menu-section {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold-600, #A67A1F);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 0.5rem;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
    background: linear-gradient(135deg, rgba(188, 145, 42, 0.1), rgba(166, 122, 31, 0.1));
    color: var(--color-gold-600, #A67A1F);
    transform: translateX(5px);
}

.mobile-menu-list a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Mobile Contact Section */
.mobile-menu-contact {
    background: linear-gradient(135deg, rgba(188, 145, 42, 0.05), rgba(166, 122, 31, 0.05));
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    color: var(--color-gold-600, #A67A1F);
}

.mobile-contact-item i {
    font-size: 1.25rem;
    color: var(--color-gold-500, #BC912A);
    width: 30px;
    text-align: center;
}

.mobile-contact-item span {
    font-size: 0.9rem;
}

/* Mobile Social Icons */
.mobile-social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

.mobile-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    color: var(--color-gold-500, #BC912A);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-social-icons a:hover {
    background: linear-gradient(135deg, var(--color-gold-500, #BC912A), var(--color-gold-600, #A67A1F));
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(188, 145, 42, 0.3);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .mobile-menu-content {
        width: 90%;
    }
    
    .mobile-menu-section {
        padding: 1rem 1.25rem;
    }
    
    .mobile-contact-item span {
        font-size: 0.85rem;
    }
}

/* Tablet adjustments (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .mobile-header {
        padding: 1.25rem 0;
    }
    
    .mobile-logo {
        max-height: 60px;
    }
    
    .mobile-menu-content {
        width: 380px;
    }
}

/* Hide mobile menu on desktop */
@media (min-width: 1200px) {
    .mobile-header,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Animation for menu items */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-overlay.active .mobile-menu-list li {
    animation: slideInLeft 0.3s ease forwards;
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(6) { animation-delay: 0.3s; }
