/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.menu-toggle-text {
    font-size: 0.8rem;
    color: #333;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-icon span {
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* Ad and Featured Sections */
.ad-placeholder,
.featured-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    color: #666;
}

/* Additional Card Styles */
.card.hovered {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Enhanced Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem 0;
        display: none;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .main-navigation li {
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}
